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 GradedPerlinSphereSdf(const Real& a_rad,
41 const RealVect& a_center,
42 const bool& a_inside,
43 const Real& a_noiseAmp,
44 const RealVect& a_noiseFreq,
45 const Real& a_persistence,
46 const int& a_octaves,
47 const bool& a_reseed = false);
48
54
59
65 virtual Real
66 value(const RealVect& a_pos) const;
67
72 virtual BaseIF*
73 newImplicitFunction() const;
74};
75
76#include <CD_NamespaceFooter.H>
77
78#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