13#ifndef CD_PERLINSLABSDF_H
14#define CD_PERLINSLABSDF_H
20#include <CD_NamespaceHeader.H>
49 const RealVect& a_normal,
50 const RealVect& a_xyz,
51 const RealVect& a_noiseFreq,
53 const Real a_noiseAmp,
54 const Real a_persistence,
55 const Real a_cornerCurv,
57 const bool a_fluidInside);
76 value(
const RealVect& a_pos)
const override;
97#include <CD_NamespaceFooter.H>
Implicit function class describing a slab (box) with surface noise on the top.
Definition CD_PerlinSlabSdf.H:26
PerlinSlabSdf()=delete
No weak constructor allowed, use the full constructor.
virtual BaseIF * newImplicitFunction() const override
Factory function.
Definition CD_PerlinSlabSdf.cpp:96
bool m_fluidInside
Fluid on inside or not.
Definition CD_PerlinSlabSdf.H:94
virtual ~PerlinSlabSdf()
Destructor (does nothing)
RefCountedPtr< BaseIF > m_baseif
Implicit function. This is a union between cutting planes and a perlin plane.
Definition CD_PerlinSlabSdf.H:89
virtual Real value(const RealVect &a_pos) const override
Value function. Returns distance to object.
Definition CD_PerlinSlabSdf.cpp:84