COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Public Attributes | List of all members
ImplicitFunction Struct Referenceabstract

#include <ImplicitFunctionMesh.hpp>

Inherited by SphereFunction.

Public Member Functions

 ImplicitFunction (const Real X, const Real Y, const Real Z, const Real R)
 Construct using the given radius and center for the domain bounding sphere. More...
 
virtual ~ImplicitFunction ()
 virtual destructor More...
 
virtual CGReal operator() (const Point &p) const =0
 Negative values for the given point coordinates p are inside the domain. More...
 

Public Attributes

Real x
 Center of the sphere bounding the domain. Functor must evaluate to a negative value here. More...
 
Real y
 
Real z
 
Real radius
 Radius of the sphere bounding the domain. More...
 

Detailed Description

Base class for implicit functions defining the mesh bounds. This is a virtual functor on purpose, since making it template would expose CGAL too much outside of the library, and delegate the responsibility for linking to the CGAL libs to anything that uses these functions.

Definition at line 34 of file ImplicitFunctionMesh.hpp.

Constructor & Destructor Documentation

ImplicitFunction ( const Real  X,
const Real  Y,
const Real  Z,
const Real  R 
)
inline

Construct using the given radius and center for the domain bounding sphere.

Definition at line 36 of file ImplicitFunctionMesh.hpp.

virtual ~ImplicitFunction ( )
inlinevirtual

virtual destructor

Definition at line 39 of file ImplicitFunctionMesh.hpp.

Member Function Documentation

virtual CGReal operator() ( const Point p) const
pure virtual

Negative values for the given point coordinates p are inside the domain.

Implemented in SphereFunction.

Member Data Documentation

Real radius

Radius of the sphere bounding the domain.

Definition at line 48 of file ImplicitFunctionMesh.hpp.

Real x

Center of the sphere bounding the domain. Functor must evaluate to a negative value here.

Definition at line 45 of file ImplicitFunctionMesh.hpp.

Real y

Definition at line 45 of file ImplicitFunctionMesh.hpp.

Real z

Definition at line 45 of file ImplicitFunctionMesh.hpp.


The documentation for this struct was generated from the following file:
Send comments to:
COOLFluiD Web Admin