Struct t8_geometry_cubed_sphere
Defined in File t8_geometry_examples.hxx
Inheritance Relationships
Base Type
public t8_geometry_with_vertices(Struct t8_geometry_with_vertices)
Struct Documentation
-
struct t8_geometry_cubed_sphere : public t8_geometry_with_vertices
This geometry maps specifically arranged hexahedrons to a sphere.
Public Functions
-
inline t8_geometry_cubed_sphere()
-
inline virtual ~t8_geometry_cubed_sphere()
-
virtual void t8_geom_evaluate(t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, const size_t num_coords, double *out_coords) const
Maps specifically arranged hexahedrons to a sphere.
This routine expects an input mesh of prism arranged as octahedron or similar.
- Parameters:
cmesh – [in] The cmesh in which the point lies.
gtreeid – [in] The global tree (of the cmesh) in which the reference point is.
ref_coords – [in] Array of tree dimension x num_coords many entries, specifying a point in \( [0,1]^\mathrm{dim} \).
num_coords – [in] The number of points to map.
out_coords – [out] The mapped coordinates in physical space of ref_coords. The length is num_coords * 3.
-
inline void t8_geom_evaluate_jacobian([[maybe_unused]] t8_cmesh_t cmesh, [[maybe_unused]] t8_gloidx_t gtreeid, [[maybe_unused]] const double *ref_coords, [[maybe_unused]] const size_t num_coords, [[maybe_unused]] double *jacobian) const
Jacobian, not implemented.
- Parameters:
cmesh – [in] The cmesh in which the point lies.
gtreeid – [in] The global tree (of the cmesh) in which the reference point is.
ref_coords – [in] Array of tree dimension x num_coords many entries, specifying a point in \( [0,1]^\mathrm{dim} \).
num_coords – [in] The number of points to map.
jacobian – [in] The Jacobian matrix to be filled.
-
inline virtual bool t8_geom_check_tree_compatibility() const
Check for compatibility of the currently loaded tree with the geometry.
Only hex elements are supported by this geometry.
- Returns:
True if the geometry is compatible with the tree.
-
inline t8_geometry_cubed_sphere()