12 #ifndef CD_PerlinSlabSdf_H
13 #define CD_PerlinSlabSdf_H
19 #include <CD_NamespaceHeader.H>
48 const RealVect a_normal,
50 const RealVect a_noiseFreq,
52 const Real a_noiseAmp,
53 const Real a_persistence,
54 const Real a_cornerCurv,
56 const bool a_fluidInside);
73 value(
const RealVect& a_pos)
const override;
93 #include <CD_NamespaceFooter.H>
Implicit function class describing a slab (box) with surface noise on the top.
Definition: CD_PerlinSlabSdf.H:25
PerlinSlabSdf()=delete
No weak constructor allowed, use the full constructor.
virtual BaseIF * newImplicitFunction() const override
Factory function.
Definition: CD_PerlinSlabSdf.cpp:98
bool m_fluidInside
Fluid on inside or not.
Definition: CD_PerlinSlabSdf.H:90
virtual ~PerlinSlabSdf()
Destructor (does nothing)
Definition: CD_PerlinSlabSdf.cpp:82
RefCountedPtr< BaseIF > m_baseif
Implicit function. This is a union between cutting planes and a perlin plane.
Definition: CD_PerlinSlabSdf.H:85
virtual Real value(const RealVect &a_pos) const override
Value function. Returns distance to object.
Definition: CD_PerlinSlabSdf.cpp:86