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

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

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

Go to the source code of this file.

Functions

double LinearCartesian1D_Segment_volume (LinearCartesian1D_Segment segment)
 Calculate the volume of a linear cartesian 1D segment.
double LinearCartesian2D_Segment_volume (LinearCartesian2D_Segment segment)
 Calculate the volume of a linear cartesian 2D segment.
double LinearCartesian3D_Segment_volume (LinearCartesian3D_Segment segment)
 Calculate the volume of a linear cartesian 3D segment.
double LinearCylindrical3D_Segment_volume (LinearCylindrical3D_Segment segment)
 Calculate the volume of a linear cylindrical segment.
double LinearPolar2D_Segment_volume (LinearPolar2D_Segment segment)
 Calculate the volume of a linear polar segment.
double LinearSpherical3D_Segment_volume (LinearSpherical3D_Segment segment)
 Calculate the volume of a linear spherical segment.
double TriangularCartesian2D_Segment_volume (TriangularCartesian2D_Segment segment)
 Calculate the volume of a triangular cartesian 2D segment.
double TriangularCartesian3D_Segment_volume (TriangularCartesian3D_Segment segment)
 Calculate the volume of a triangular cartesian 3D segment.
double TriangularCylindrical3D_Segment_volume (TriangularCylindrical3D_Segment segment)
 Calculate the volume of a triangular cylindrical segment.
double TriangularPolar2D_Segment_volume (TriangularPolar2D_Segment segment)
 Calculate the volume of a triangular polar segment.
double TriangularSpherical3D_Segment_volume (TriangularSpherical3D_Segment segment)
 Calculate the volume of a triangular spherical segment.
double QuadrilateralCartesian2D_Segment_volume (QuadrilateralCartesian2D_Segment segment)
 Calculate the volume of a quadrilateral cartesian 2D segment.
double QuadrilateralCartesian3D_Segment_volume (QuadrilateralCartesian3D_Segment segment)
 Calculate the volume of a quadrilateral cartesian 3D segment.
double QuadrilateralCylindrical3D_Segment_volume (QuadrilateralCylindrical3D_Segment segment)
 Calculate the volume of a quadrilateral cylindrical segment.
double QuadrilateralPolar2D_Segment_volume (QuadrilateralPolar2D_Segment segment)
 Calculate the volume of a quadrilateral polar segment.
double QuadrilateralSpherical3D_Segment_volume (QuadrilateralSpherical3D_Segment segment)
 Calculate the volume of a quadrilateral spherical segment.
double TetrahedralCartesian3D_Segment_volume (TetrahedralCartesian3D_Segment segment)
 Calculate the volume of a tetrahedral cartesian 3D segment.
double TetrahedralCylindrical3D_Segment_volume (TetrahedralCylindrical3D_Segment segment)
 Calculate the volume of a tetrahedral cylindrical segment.
double TetrahedralSpherical3D_Segment_volume (TetrahedralSpherical3D_Segment segment)
 Calculate the volume of a tetrahedral spherical segment.

Detailed Description

Implement calculation of the volume of a segment.

Function Documentation

double LinearCartesian1D_Segment_volume ( LinearCartesian1D_Segment  segment)

Calculate the volume of a linear cartesian 1D segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double LinearCartesian2D_Segment_volume ( LinearCartesian2D_Segment  segment)

Calculate the volume of a linear cartesian 2D segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double LinearCartesian3D_Segment_volume ( LinearCartesian3D_Segment  segment)

Calculate the volume of a linear cartesian 3D segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double LinearCylindrical3D_Segment_volume ( LinearCylindrical3D_Segment  segment)

Calculate the volume of a linear cylindrical segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double LinearPolar2D_Segment_volume ( LinearPolar2D_Segment  segment)

Calculate the volume of a linear polar segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double LinearSpherical3D_Segment_volume ( LinearSpherical3D_Segment  segment)

Calculate the volume of a linear spherical segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double QuadrilateralCartesian2D_Segment_volume ( QuadrilateralCartesian2D_Segment  segment)

Calculate the volume of a quadrilateral cartesian 2D segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double QuadrilateralCartesian3D_Segment_volume ( QuadrilateralCartesian3D_Segment  segment)

Calculate the volume of a quadrilateral cartesian 3D segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double QuadrilateralCylindrical3D_Segment_volume ( QuadrilateralCylindrical3D_Segment  segment)

Calculate the volume of a quadrilateral cylindrical segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double QuadrilateralPolar2D_Segment_volume ( QuadrilateralPolar2D_Segment  segment)

Calculate the volume of a quadrilateral polar segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double QuadrilateralSpherical3D_Segment_volume ( QuadrilateralSpherical3D_Segment  segment)

Calculate the volume of a quadrilateral spherical segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double TetrahedralCartesian3D_Segment_volume ( TetrahedralCartesian3D_Segment  segment)

Calculate the volume of a tetrahedral cartesian 3D segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double TetrahedralCylindrical3D_Segment_volume ( TetrahedralCylindrical3D_Segment  segment)

Calculate the volume of a tetrahedral cylindrical segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double TetrahedralSpherical3D_Segment_volume ( TetrahedralSpherical3D_Segment  segment)

Calculate the volume of a tetrahedral spherical segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double TriangularCartesian2D_Segment_volume ( TriangularCartesian2D_Segment  segment)

Calculate the volume of a triangular cartesian 2D segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double TriangularCartesian3D_Segment_volume ( TriangularCartesian3D_Segment  segment)

Calculate the volume of a triangular cartesian 3D segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double TriangularCylindrical3D_Segment_volume ( TriangularCylindrical3D_Segment  segment)

Calculate the volume of a triangular cylindrical segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double TriangularPolar2D_Segment_volume ( TriangularPolar2D_Segment  segment)

Calculate the volume of a triangular polar segment.

Parameters
segmentSegment whose volume will be computed.
Returns
Real number in double precision which represents the volume of the segment.
Since
0.1.0
double TriangularSpherical3D_Segment_volume ( TriangularSpherical3D_Segment  segment)

Calculate the volume of a triangular spherical segment.

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