cylinderImplicitFunction Class Reference

creates a infintite long cylinderImplicitFunction More...

Inheritance diagram for cylinderImplicitFunction:
[legend]
Collaboration diagram for cylinderImplicitFunction:
[legend]

Public Member Functions

 TypeName ("cylinder")
 Runtime type information. More...
 
 cylinderImplicitFunction (const point &origin, const scalar radius, const scalar scale, const vector &direction)
 Construct from components. More...
 
 cylinderImplicitFunction (const dictionary &dict)
 Construct from dictionary. More...
 
virtual ~cylinderImplicitFunction ()=default
 Destructor. More...
 
virtual scalar value (const vector &p) const
 
virtual vector grad (const vector &p) const
 
virtual scalar distanceToSurfaces (const vector &p) const
 
- Public Member Functions inherited from implicitFunction
 TypeName ("implicitFunction")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, implicitFunction, dict,(const dictionary &dict),(dict))
 Declare run-time constructor selection table. More...
 
 implicitFunction ()=default
 Default construct. More...
 
virtual ~implicitFunction ()=default
 Destructor. More...
 
virtual scalar value (const vector &p) const
 
virtual vector grad (const vector &p) const
 
virtual scalar distanceToSurfaces (const vector &p) const
 

Additional Inherited Members

- Static Public Member Functions inherited from implicitFunction
static autoPtr< implicitFunctionNew (const word &implicitFunctionType, const dictionary &dict)
 Return a reference to the selected implicitFunction. More...
 

Detailed Description

creates a infintite long cylinderImplicitFunction

Original code supplied by Henning Scheufler, DLR (2019)

Source files

Definition at line 57 of file cylinderImplicitFunction.H.

Constructor & Destructor Documentation

◆ cylinderImplicitFunction() [1/2]

cylinderImplicitFunction ( const point origin,
const scalar  radius,
const scalar  scale,
const vector direction 
)

Construct from components.

◆ cylinderImplicitFunction() [2/2]

cylinderImplicitFunction ( const dictionary dict)
explicit

Construct from dictionary.

◆ ~cylinderImplicitFunction()

virtual ~cylinderImplicitFunction ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "cylinder"  )

Runtime type information.

◆ value()

virtual scalar value ( const vector p) const
inlinevirtual

Reimplemented from implicitFunction.

Definition at line 105 of file cylinderImplicitFunction.H.

References Foam::mag(), and p.

Here is the call graph for this function:

◆ grad()

virtual vector grad ( const vector p) const
inlinevirtual

Reimplemented from implicitFunction.

Definition at line 110 of file cylinderImplicitFunction.H.

References p.

◆ distanceToSurfaces()

virtual scalar distanceToSurfaces ( const vector p) const
inlinevirtual

Reimplemented from implicitFunction.

Definition at line 115 of file cylinderImplicitFunction.H.

References Foam::mag(), and p.

Here is the call graph for this function:

The documentation for this class was generated from the following file: