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

Sphere around the origin with radius r. More...

#include <ImplicitFunctionMesh.hpp>

Inherits ImplicitFunction.

Public Member Functions

 SphereFunction (const Real r)
 constructor More...
 
virtual ~SphereFunction ()
 virtual destructor More...
 
virtual CGReal operator() (const Point &p) const
 Negative values for the given point coordinates p are inside the domain. More...
 
- Public Member Functions inherited from ImplicitFunction
 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...
 

Private Attributes

const Real m_radius
 

Additional Inherited Members

- Public Attributes inherited from ImplicitFunction
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

Sphere around the origin with radius r.

Definition at line 54 of file ImplicitFunctionMesh.hpp.

Constructor & Destructor Documentation

SphereFunction ( const Real  r)
inline

constructor

Definition at line 56 of file ImplicitFunctionMesh.hpp.

virtual ~SphereFunction ( )
inlinevirtual

virtual destructor

Definition at line 58 of file ImplicitFunctionMesh.hpp.

Member Function Documentation

CGReal operator() ( const Point p) const
virtual

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

Implements ImplicitFunction.

Definition at line 43 of file ImplicitFunctionMesh.cpp.

Member Data Documentation

const Real m_radius
private

Definition at line 61 of file ImplicitFunctionMesh.hpp.


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