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

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

#include "../domains/linear.hpp"
#include "../domains/triangular.hpp"
#include "../domains/quadrilateral.hpp"
#include "../domains/tetrahedral.hpp"

Go to the source code of this file.

Functions

double LinearCartesian1D_Domain_volume (LinearCartesian1D_Domain domain)
 Calculate the volume of a linear cartesian 1D domain.
double LinearCartesian2D_Domain_volume (LinearCartesian2D_Domain domain)
 Calculate the volume of a linear cartesian 2D domain.
double LinearCartesian3D_Domain_volume (LinearCartesian3D_Domain domain)
 Calculate the volume of a linear cartesian 3D domain.
double LinearCylindrical3D_Domain_volume (LinearCylindrical3D_Domain domain)
 Calculate the volume of a linear cylindrical domain.
double LinearPolar2D_Domain_volume (LinearPolar2D_Domain domain)
 Calculate the volume of a linear polar domain.
double LinearSpherical3D_Domain_volume (LinearSpherical3D_Domain domain)
 Calculate the volume of a linear spherical domain.
double TriangularCartesian2D_Domain_volume (TriangularCartesian2D_Domain domain)
 Calculate the volume of a triangular cartesian 2D domain.
double TriangularCartesian3D_Domain_volume (TriangularCartesian3D_Domain domain)
 Calculate the volume of a triangular cartesian 3D domain.
double TriangularCylindrical3D_Domain_volume (TriangularCylindrical3D_Domain domain)
 Calculate the volume of a triangular cylindrical domain.
double TriangularPolar2D_Domain_volume (TriangularPolar2D_Domain domain)
 Calculate the volume of a triangular polar domain.
double TriangularSpherical3D_Domain_volume (TriangularSpherical3D_Domain domain)
 Calculate the volume of a triangular spherical domain.
double QuadrilateralCartesian2D_Domain_volume (QuadrilateralCartesian2D_Domain domain)
 Calculate the volume of a quadrilateral cartesian 2D domain.
double QuadrilateralCartesian3D_Domain_volume (QuadrilateralCartesian3D_Domain domain)
 Calculate the volume of a quadrilateral cartesian 3D domain.
double QuadrilateralCylindrical3D_Domain_volume (QuadrilateralCylindrical3D_Domain domain)
 Calculate the volume of a quadrilateral cylindrical domain.
double QuadrilateralPolar2D_Domain_volume (QuadrilateralPolar2D_Domain domain)
 Calculate the volume of a quadrilateral polar domain.
double QuadrilateralSpherical3D_Domain_volume (QuadrilateralSpherical3D_Domain domain)
 Calculate the volume of a quadrilateral spherical domain.
double TetrahedralCartesian3D_Domain_volume (TetrahedralCartesian3D_Domain domain)
 Calculate the volume of a tetrahedral cartesian 3D domain.
double TetrahedralCylindrical3D_Domain_volume (TetrahedralCylindrical3D_Domain domain)
 Calculate the volume of a tetrahedral cylindrical domain.
double TetrahedralSpherical3D_Domain_volume (TetrahedralSpherical3D_Domain domain)
 Calculate the volume of a tetrahedral spherical domain.

Detailed Description

Implement calculation of the volume of a domain.

Function Documentation

double LinearCartesian1D_Domain_volume ( LinearCartesian1D_Domain  domain)

Calculate the volume of a linear cartesian 1D domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double LinearCartesian2D_Domain_volume ( LinearCartesian2D_Domain  domain)

Calculate the volume of a linear cartesian 2D domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double LinearCartesian3D_Domain_volume ( LinearCartesian3D_Domain  domain)

Calculate the volume of a linear cartesian 3D domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double LinearCylindrical3D_Domain_volume ( LinearCylindrical3D_Domain  domain)

Calculate the volume of a linear cylindrical domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double LinearPolar2D_Domain_volume ( LinearPolar2D_Domain  domain)

Calculate the volume of a linear polar domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double LinearSpherical3D_Domain_volume ( LinearSpherical3D_Domain  domain)

Calculate the volume of a linear spherical domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double QuadrilateralCartesian2D_Domain_volume ( QuadrilateralCartesian2D_Domain  domain)

Calculate the volume of a quadrilateral cartesian 2D domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double QuadrilateralCartesian3D_Domain_volume ( QuadrilateralCartesian3D_Domain  domain)

Calculate the volume of a quadrilateral cartesian 3D domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double QuadrilateralCylindrical3D_Domain_volume ( QuadrilateralCylindrical3D_Domain  domain)

Calculate the volume of a quadrilateral cylindrical domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double QuadrilateralPolar2D_Domain_volume ( QuadrilateralPolar2D_Domain  domain)

Calculate the volume of a quadrilateral polar domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double QuadrilateralSpherical3D_Domain_volume ( QuadrilateralSpherical3D_Domain  domain)

Calculate the volume of a quadrilateral spherical domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double TetrahedralCartesian3D_Domain_volume ( TetrahedralCartesian3D_Domain  domain)

Calculate the volume of a tetrahedral cartesian 3D domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double TetrahedralCylindrical3D_Domain_volume ( TetrahedralCylindrical3D_Domain  domain)

Calculate the volume of a tetrahedral cylindrical domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double TetrahedralSpherical3D_Domain_volume ( TetrahedralSpherical3D_Domain  domain)

Calculate the volume of a tetrahedral spherical domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double TriangularCartesian2D_Domain_volume ( TriangularCartesian2D_Domain  domain)

Calculate the volume of a triangular cartesian 2D domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double TriangularCartesian3D_Domain_volume ( TriangularCartesian3D_Domain  domain)

Calculate the volume of a triangular cartesian 3D domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double TriangularCylindrical3D_Domain_volume ( TriangularCylindrical3D_Domain  domain)

Calculate the volume of a triangular cylindrical domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double TriangularPolar2D_Domain_volume ( TriangularPolar2D_Domain  domain)

Calculate the volume of a triangular polar domain.

Parameters
domainDomain whose volume will be computed.
Returns
Real number in double precision which represents the volume of the domain.
Since
0.1.0
double TriangularSpherical3D_Domain_volume ( TriangularSpherical3D_Domain  domain)

Calculate the volume of a triangular spherical domain.

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