39 #ifndef implicitFunction_sinImplicitFunction_H 40 #define implicitFunction_sinImplicitFunction_H 49 namespace implicitFunctions
70 const scalar amplitude_;
92 const scalar amplitude,
110 const scalar
x = (
p - origin_) & direction_;
111 const scalar z = (
p - origin_) & -up_;
Original code supplied by Henning Scheufler, DLR (2019)
virtual scalar value(const vector &p) const
virtual scalar distanceToSurfaces(const vector &p) const
sinImplicitFunction(const scalar period, const scalar phase, const scalar amplitude, const vector &direction, const vector &up, const vector &origin)
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual vector grad(const vector &p) const
constexpr scalar pi(M_PI)
dimensionedScalar sin(const dimensionedScalar &ds)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
TypeName("sin")
Runtime type information.
virtual ~sinImplicitFunction()=default
Destructor.
Base class for implicit functions.
static constexpr const zero Zero
Global zero (0)