Struct t8_geometry_extended
Defined in File t8_geometry_extended.hxx
Inheritance Relationships
Base Type
public t8_geometry(Struct t8_geometry)
Struct Documentation
-
struct t8_geometry_extended : public t8_geometry
This class extends the functionality of a geometry.
While t8_geometry only provides the mapping and jacobian from reference space to physical space, the extended geometry also provides functions to compute the volume of an element, face normals, etc…
Public Functions
-
virtual double t8_geom_element_volume() = 0
Compute the volume of the element.
- Returns:
The volume.
-
virtual void t8_geom_element_centroid() = 0
Compute the centroid of the element.
-
virtual double t8_geom_face_area() = 0
Compute the area of the face.
- Returns:
The area.
-
virtual void t8_geom_face_centroid() = 0
Compute the centroid of the face.
-
virtual void t8_geom_face_normal() = 0
Compute the normal vector of the face.
-
virtual double t8_geom_element_volume() = 0