chombo-discharge
Loading...
Searching...
No Matches
Source
ImplicitFunctions
CD_GradedPerlinSphereSdf.H
Go to the documentation of this file.
1
/* chombo-discharge
2
* Copyright © 2021 SINTEF Energy Research.
3
* Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4
*/
5
12
#ifndef CD_GradedPerlinSphereSdf_H
13
#define CD_GradedPerlinSphereSdf_H
14
15
// Our includes
16
#include <
CD_PerlinSphereSdf.H
>
17
#include <CD_NamespaceHeader.H>
18
23
class
GradedPerlinSphereSdf
:
public
PerlinSphereSdf
24
{
25
public
:
38
GradedPerlinSphereSdf
(
const
Real
&
a_rad
,
39
const
RealVect
&
a_center
,
40
const
bool
&
a_inside
,
41
const
Real
&
a_noiseAmp
,
42
const
RealVect
&
a_noiseFreq
,
43
const
Real
&
a_persistence
,
44
const
int
&
a_octaves
,
45
const
bool
&
a_reseed
=
false
);
46
50
GradedPerlinSphereSdf
(
const
GradedPerlinSphereSdf
&
a_inputIF
);
51
55
virtual
~GradedPerlinSphereSdf
();
56
60
virtual
Real
61
value
(
const
RealVect
&
a_pos
)
const
;
62
66
virtual
BaseIF*
67
newImplicitFunction
()
const
;
68
};
69
70
#include <CD_NamespaceFooter.H>
71
72
#endif
CD_PerlinSphereSdf.H
Implementation of CD_PerlinSphereSdf.H.
GradedPerlinSphereSdf
GradedPerlinSphereSdf function.
Definition
CD_GradedPerlinSphereSdf.H:24
GradedPerlinSphereSdf::newImplicitFunction
virtual BaseIF * newImplicitFunction() const
Factory function.
Definition
CD_GradedPerlinSphereSdf.cpp:86
GradedPerlinSphereSdf::value
virtual Real value(const RealVect &a_pos) const
Value function.
Definition
CD_GradedPerlinSphereSdf.cpp:37
GradedPerlinSphereSdf::~GradedPerlinSphereSdf
virtual ~GradedPerlinSphereSdf()
Destructor.
Definition
CD_GradedPerlinSphereSdf.cpp:33
PerlinSphereSdf
Noisy sphere geometry (with Perlin noise).
Definition
CD_PerlinSphereSdf.H:27
TracerParticleSolver
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition
CD_TracerParticleSolver.H:37
Generated by
1.9.8