chombo-discharge
Loading...
Searching...
No Matches
Source
ImplicitFunctions
CD_GradedPerlinSphereSdf.H
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2021-2026 SINTEF Energy Research
3
*
4
* SPDX-License-Identifier: GPL-3.0-or-later
5
*/
6
13
#ifndef CD_GRADEDPERLINSPHERESDF_H
14
#define CD_GRADEDPERLINSPHERESDF_H
15
16
// Our includes
17
#include <
CD_PerlinSphereSdf.H
>
18
#include <CD_NamespaceHeader.H>
19
24
class
GradedPerlinSphereSdf
:
public
PerlinSphereSdf
25
{
26
public
:
39
GradedPerlinSphereSdf
(
const
Real
&
a_rad
,
40
const
RealVect
&
a_center
,
41
const
bool
&
a_inside
,
42
const
Real
&
a_noiseAmp
,
43
const
RealVect
&
a_noiseFreq
,
44
const
Real
&
a_persistence
,
45
const
int
&
a_octaves
,
46
const
bool
&
a_reseed
=
false
);
47
52
GradedPerlinSphereSdf
(
const
GradedPerlinSphereSdf
&
a_inputIF
);
53
57
virtual
~GradedPerlinSphereSdf
();
58
64
virtual
Real
65
value
(
const
RealVect
&
a_pos
)
const
;
66
71
virtual
BaseIF*
72
newImplicitFunction
()
const
;
73
};
74
75
#include <CD_NamespaceFooter.H>
76
77
#endif
CD_PerlinSphereSdf.H
Declaration of noisy sphere.
GradedPerlinSphereSdf
GradedPerlinSphereSdf function.
Definition
CD_GradedPerlinSphereSdf.H:25
GradedPerlinSphereSdf::newImplicitFunction
virtual BaseIF * newImplicitFunction() const
Factory function.
Definition
CD_GradedPerlinSphereSdf.cpp:85
GradedPerlinSphereSdf::value
virtual Real value(const RealVect &a_pos) const
Value function.
Definition
CD_GradedPerlinSphereSdf.cpp:36
GradedPerlinSphereSdf::~GradedPerlinSphereSdf
virtual ~GradedPerlinSphereSdf()
Destructor.
GradedPerlinSphereSdf::GradedPerlinSphereSdf
GradedPerlinSphereSdf(const GradedPerlinSphereSdf &a_inputIF)
Copy constructor.
PerlinSphereSdf
Noisy sphere geometry (with Perlin noise).
Definition
CD_PerlinSphereSdf.H:28
TracerParticleSolver
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition
CD_TracerParticleSolver.H:38
Generated by
1.9.8