This module contains the definition of a polygon and some related subroutines More...
| Functions/Subroutines | |
| double precision pure function | mod_cg2_axisym_polygon::cg2_axisym_polygon_volume (polygon) | 
| Compute the area of a polygon. | |
| pure subroutine | mod_cg2_axisym_polygon::cg2_axisym_polygon_centroid (polygon, centroid, volume) | 
| Compute the centroid of a polygon. | |
This module contains the definition of a polygon and some related subroutines
| pure subroutine mod_cg2_axisym_polygon::cg2_axisym_polygon_centroid | ( | type(t_polygon), intent(in) | polygon, | 
| double precision, dimension(2), intent(out) | centroid, | ||
| double precision, intent(out), optional | volume ) | 
Compute the centroid of a polygon.
This routine computes the coordinates of the centroid and the volume of a polygon in axisymmetric configuration.
| [in] | polygon | Any polygon | 
| [out] | centroid | Centroid of the polygon | 
| [out] | volume | Volume of the polygon | 
| double precision pure function mod_cg2_axisym_polygon::cg2_axisym_polygon_volume | ( | type(t_polygon), intent(in) | polygon | ) | 
Compute the area of a polygon.
| [in] | polygon | Any polygon |