chombo-discharge
Loading...
Searching...
No Matches
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
25{
26public:
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
53
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
Declaration of noisy sphere.
GradedPerlinSphereSdf function.
Definition CD_GradedPerlinSphereSdf.H:25
virtual BaseIF * newImplicitFunction() const
Factory function.
Definition CD_GradedPerlinSphereSdf.cpp:85
virtual Real value(const RealVect &a_pos) const
Value function.
Definition CD_GradedPerlinSphereSdf.cpp:36
virtual ~GradedPerlinSphereSdf()
Destructor.
GradedPerlinSphereSdf(const GradedPerlinSphereSdf &a_inputIF)
Copy constructor.
Noisy sphere geometry (with Perlin noise).
Definition CD_PerlinSphereSdf.H:28
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38