12 #ifndef CD_GradedPerlinSphereSdf_H
13 #define CD_GradedPerlinSphereSdf_H
17 #include <CD_NamespaceHeader.H>
39 const RealVect& a_center,
41 const Real& a_noiseAmp,
42 const RealVect& a_noiseFreq,
43 const Real& a_persistence,
45 const bool& a_reseed =
false);
61 value(
const RealVect& a_pos)
const;
70 #include <CD_NamespaceFooter.H>
Implementation of CD_PerlinSphereSdf.H.
GradedPerlinSphereSdf function.
Definition: CD_GradedPerlinSphereSdf.H:24
GradedPerlinSphereSdf(const Real &a_rad, const RealVect &a_center, const bool &a_inside, const Real &a_noiseAmp, const RealVect &a_noiseFreq, const Real &a_persistence, const int &a_octaves, const bool &a_reseed=false)
Full constructor.
Definition: CD_GradedPerlinSphereSdf.cpp:19
virtual BaseIF * newImplicitFunction() const
Factory function.
Definition: CD_GradedPerlinSphereSdf.cpp:86
virtual Real value(const RealVect &a_pos) const
Value function.
Definition: CD_GradedPerlinSphereSdf.cpp:37
virtual ~GradedPerlinSphereSdf()
Destructor.
Definition: CD_GradedPerlinSphereSdf.cpp:33
Noisy sphere geometry (with Perlin noise).
Definition: CD_PerlinSphereSdf.H:27