ViennaGrid for Python
 All Classes Files Functions Variables
Functions
cell_volume.hpp File Reference

Implement calculation of the volume of a cell. More...

#include <boost/python.hpp>
#include "../points/cartesian.hpp"
#include "../points/cylindrical.hpp"
#include "../points/polar.hpp"
#include "../points/spherical.hpp"
#include "../cells/linear.hpp"
#include "../cells/triangular.hpp"
#include "../cells/quadrilateral.hpp"
#include "../cells/tetrahedral.hpp"

Go to the source code of this file.

Functions

double LinearCartesian1D_Cell_volume (LinearCartesian1D_Cell cell)
 Calculate the volume of a linear cartesian 1D cell.
double LinearCartesian2D_Cell_volume (LinearCartesian2D_Cell cell)
 Calculate the volume of a linear cartesian 2D cell.
double LinearCartesian3D_Cell_volume (LinearCartesian3D_Cell cell)
 Calculate the volume of a linear cartesian 3D cell.
double LinearCylindrical3D_Cell_volume (LinearCylindrical3D_Cell cell)
 Calculate the volume of a linear cylindrical cell.
double LinearPolar2D_Cell_volume (LinearPolar2D_Cell cell)
 Calculate the volume of a linear polar cell.
double LinearSpherical3D_Cell_volume (LinearSpherical3D_Cell cell)
 Calculate the volume of a linear spherical cell.
double TriangularCartesian2D_Cell_volume (TriangularCartesian2D_Cell cell)
 Calculate the volume of a triangular cartesian 2D cell.
double TriangularCartesian3D_Cell_volume (TriangularCartesian3D_Cell cell)
 Calculate the volume of a triangular cartesian 3D cell.
double TriangularCylindrical3D_Cell_volume (TriangularCylindrical3D_Cell cell)
 Calculate the volume of a triangular cylindrical cell.
double TriangularPolar2D_Cell_volume (TriangularPolar2D_Cell cell)
 Calculate the volume of a triangular polar cell.
double TriangularSpherical3D_Cell_volume (TriangularSpherical3D_Cell cell)
 Calculate the volume of a triangular spherical cell.
double QuadrilateralCartesian2D_Cell_volume (QuadrilateralCartesian2D_Cell cell)
 Calculate the volume of a quadrilateral cartesian 2D cell.
double QuadrilateralCartesian3D_Cell_volume (QuadrilateralCartesian3D_Cell cell)
 Calculate the volume of a quadrilateral cartesian 3D cell.
double QuadrilateralCylindrical3D_Cell_volume (QuadrilateralCylindrical3D_Cell cell)
 Calculate the volume of a quadrilateral cylindrical cell.
double QuadrilateralPolar2D_Cell_volume (QuadrilateralPolar2D_Cell cell)
 Calculate the volume of a quadrilateral polar cell.
double QuadrilateralSpherical3D_Cell_volume (QuadrilateralSpherical3D_Cell cell)
 Calculate the volume of a quadrilateral sphericalº cell.
double TetrahedralCartesian3D_Cell_volume (TetrahedralCartesian3D_Cell cell)
 Calculate the volume of a tetrahedral cartesian 3D cell.
double TetrahedralCylindrical3D_Cell_volume (TetrahedralCylindrical3D_Cell cell)
 Calculate the volume of a tetrahedral cylindrical cell.
double TetrahedralSpherical3D_Cell_volume (TetrahedralSpherical3D_Cell cell)
 Calculate the volume of a tetrahedral sphericalº cell.

Detailed Description

Implement calculation of the volume of a cell.

Function Documentation

double LinearCartesian1D_Cell_volume ( LinearCartesian1D_Cell  cell)

Calculate the volume of a linear cartesian 1D cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double LinearCartesian2D_Cell_volume ( LinearCartesian2D_Cell  cell)

Calculate the volume of a linear cartesian 2D cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double LinearCartesian3D_Cell_volume ( LinearCartesian3D_Cell  cell)

Calculate the volume of a linear cartesian 3D cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double LinearCylindrical3D_Cell_volume ( LinearCylindrical3D_Cell  cell)

Calculate the volume of a linear cylindrical cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double LinearPolar2D_Cell_volume ( LinearPolar2D_Cell  cell)

Calculate the volume of a linear polar cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double LinearSpherical3D_Cell_volume ( LinearSpherical3D_Cell  cell)

Calculate the volume of a linear spherical cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double QuadrilateralCartesian2D_Cell_volume ( QuadrilateralCartesian2D_Cell  cell)

Calculate the volume of a quadrilateral cartesian 2D cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double QuadrilateralCartesian3D_Cell_volume ( QuadrilateralCartesian3D_Cell  cell)

Calculate the volume of a quadrilateral cartesian 3D cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double QuadrilateralCylindrical3D_Cell_volume ( QuadrilateralCylindrical3D_Cell  cell)

Calculate the volume of a quadrilateral cylindrical cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double QuadrilateralPolar2D_Cell_volume ( QuadrilateralPolar2D_Cell  cell)

Calculate the volume of a quadrilateral polar cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double QuadrilateralSpherical3D_Cell_volume ( QuadrilateralSpherical3D_Cell  cell)

Calculate the volume of a quadrilateral sphericalº cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double TetrahedralCartesian3D_Cell_volume ( TetrahedralCartesian3D_Cell  cell)

Calculate the volume of a tetrahedral cartesian 3D cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double TetrahedralCylindrical3D_Cell_volume ( TetrahedralCylindrical3D_Cell  cell)

Calculate the volume of a tetrahedral cylindrical cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double TetrahedralSpherical3D_Cell_volume ( TetrahedralSpherical3D_Cell  cell)

Calculate the volume of a tetrahedral sphericalº cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double TriangularCartesian2D_Cell_volume ( TriangularCartesian2D_Cell  cell)

Calculate the volume of a triangular cartesian 2D cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double TriangularCartesian3D_Cell_volume ( TriangularCartesian3D_Cell  cell)

Calculate the volume of a triangular cartesian 3D cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double TriangularCylindrical3D_Cell_volume ( TriangularCylindrical3D_Cell  cell)

Calculate the volume of a triangular cylindrical cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double TriangularPolar2D_Cell_volume ( TriangularPolar2D_Cell  cell)

Calculate the volume of a triangular polar cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0
double TriangularSpherical3D_Cell_volume ( TriangularSpherical3D_Cell  cell)

Calculate the volume of a triangular spherical cell.

Parameters
cellCell whose volume will be computed.
Returns
Real number in double precision which represents the volume of the cell.
Since
0.1.0