FCylinderRegion Class Reference

#include <fcylinderregion.h>

Inheritance diagram for FCylinderRegion:
Inheritance graph
[legend]
Collaboration diagram for FCylinderRegion:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FCylinderRegion (Point3D C0, double radius, double height, double value)
virtual double operator() (const VecDouble &p, const unsigned int component=0) const
virtual bool isInDomain (const VecDouble &p, unsigned component=0) const
 ~FCylinderRegion ()

Private Attributes

Point3D C0
double radius
double height
double _value

Detailed Description

FCylinderRegion defines a cilinder region aligned in the Z direction

Definition at line 9 of file fcylinderregion.h.


Constructor & Destructor Documentation

FCylinderRegion::FCylinderRegion ( Point3D  C0,
double  radius,
double  height,
double  value 
)

The cilinder is specified by a 3D Point specifying the bottom central point of the cilinder, the radius of it and its height. The height can be set to infinity

Parameters:
X0 
Y0 
radius 
height 
Returns:

Definition at line 12 of file fcylinderregion.cpp.

00013    :C0(C0),radius(radius),height(height),_value(value)
00014  {
00015   
00016 }

FCylinderRegion::~FCylinderRegion (  )  [inline]

Definition at line 23 of file fcylinderregion.h.

00023 {}


Member Function Documentation

virtual bool FCylinderRegion::isInDomain ( const VecDouble p,
unsigned  component = 0 
) const [virtual]

Reimplemented from GeneralFunctionInterface.

double FCylinderRegion::operator() ( const VecDouble p,
const unsigned int  component = 0 
) const [virtual]

Implements GeneralFunctionInterface.

Definition at line 20 of file fcylinderregion.cpp.

00021 {
00022   return _value;
00023 }


Member Data Documentation

double FCylinderRegion::_value [private]

Definition at line 15 of file fcylinderregion.h.

Definition at line 12 of file fcylinderregion.h.

double FCylinderRegion::height [private]

Definition at line 14 of file fcylinderregion.h.

double FCylinderRegion::radius [private]

Definition at line 13 of file fcylinderregion.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Sun Apr 8 23:13:05 2012 for CO2INJECTION by  doxygen 1.6.3