Go to the documentation of this file.
40 #ifndef implicitFunction_ellipsoidImplicitFunction_H
41 #define implicitFunction_ellipsoidImplicitFunction_H
50 namespace implicitFunctions
73 TypeName(
"ellipsoidImplicitFunction");
96 sqr((
p.x() - origin_.
x())/semiAxis_.
x())
97 +
sqr((
p.y() - origin_.
y())/semiAxis_.
y())
98 +
sqr((
p.z() - origin_.
z())/semiAxis_.
z())
108 2*(
p.x() - origin_.
x())/
sqr(semiAxis_.
x()),
109 2*(
p.y() - origin_.
y())/
sqr(semiAxis_.
y()),
110 2*(
p.z() - origin_.
z())/
sqr(semiAxis_.
z())
virtual vector grad(const vector &p) const
virtual scalar distanceToSurfaces(const vector &p) const
const Cmpt & x() const
Access to the vector x component.
Base class for implicit functions.
virtual scalar value(const vector &p) const
const Cmpt & z() const
Access to the vector z component.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
creates an ellipsoidImplicitFunction
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Vector< scalar > vector
A scalar version of the templated Vector.
ellipsoidImplicitFunction(const vector &semiAxis)
Construct from components.
const Cmpt & y() const
Access to the vector y component.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
TypeName("ellipsoidImplicitFunction")
Runtime type information.
virtual ~ellipsoidImplicitFunction()=default
Destructor.