|
|
| t8_geometry_zero (int dimension) |
| |
| virtual | ~ t8_geometry_zero () |
| | The destructor. More...
|
| |
| virtual void | t8_geom_evaluate (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, double out_coords[3]) const |
| | Map a point in the reference space $$[0,1]^dimension$$ to $$\mathbb R^3$$. More...
|
| |
| virtual void | t8_geom_evalute_jacobian (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, double *jacobian) const |
| | Compute the jacobian of the t8_geom_evaluate map at a point in the reference space $$[0,1]^dimension$$. More...
|
| |
| virtual void | t8_geom_load_tree_data (t8_cmesh_t cmesh, t8_gloidx_t gtreeid) |
| | Update a possible internal data buffer for per tree data. More...
|
| |
|
| t8_geometry (int dimension, const char *name, const char *attribute_name=NULL) |
| |
| virtual | ~ t8_geometry () |
| | The destructor. More...
|
| |
| int | t8_geom_get_dimension () const |
| | Get the dimension of this geometry. More...
|
| |
| const char * | t8_geom_get_name () const |
| | Get the name of this geometry. More...
|
| |
|
|
int | dimension |
| | The dimension of reference space for which this is a geometry.
|
| |
|
const char * | name |
| | The name of this geometry.
|
| |
◆ ~ t8_geometry_zero()
The destructor.
Clears the allocated memory.
◆ t8_geom_evaluate()
| void t8_geometry_zero::t8_geom_evaluate |
( |
t8_cmesh_t |
cmesh, |
|
|
t8_gloidx_t |
gtreeid, |
|
|
const double * |
ref_coords, |
|
|
double |
out_coords[3] |
|
) |
| const |
|
virtual |
Map a point in the reference space $$[0,1]^dimension$$ to $$\mathbb R^3$$.
- Parameters
-
| [in] | cmesh | The cmesh in which the point lies. |
| [in] | gtreeid | The global tree (of the cmesh) in which the reference point is. |
| [in] | ref_coords | Array of dimension many entries, specifying a point in [0,1]^dimension. |
| [out] | out_coords | The mapped coordinates in physical space of ref_coords. |
- Note
- All entries in out_coords will be set to 0.
- Parameters
-
| [in] | cmesh | The cmesh in which the point lies. |
| [in] | gtreeid | The global tree (of the cmesh) in which the reference point is. |
| [in] | ref_coords | Array of dimension many entries, specifying a point in [0,1]^dimension. |
| [out] | out_coords | The mapped coordinates in physical space of ref_coords. |
Implements t8_geometry.
◆ t8_geom_evalute_jacobian()
| void t8_geometry_zero::t8_geom_evalute_jacobian |
( |
t8_cmesh_t |
cmesh, |
|
|
t8_gloidx_t |
gtreeid, |
|
|
const double * |
ref_coords, |
|
|
double * |
jacobian |
|
) |
| const |
|
virtual |
Compute the jacobian of the t8_geom_evaluate map at a point in the reference space $$[0,1]^dimension$$.
- Parameters
-
| [in] | cmesh | The cmesh in which the point lies. |
| [in] | gtreeid | The global tree (of the cmesh) in which the reference point is. |
| [in] | ref_coords | Array of dimension many entries, specifying a point in [0,1]^dimension. |
| [out] | jacobian | The jacobian at ref_coords. Array of size dimension x 3. Indices 3*i, 3*i+1, 3*i+2 correspond to the i-th column of the jacobian (Entry 3*i + j is del f_j/del x_i). |
- Note
- All entries in jacobian will be set to zero.
- Parameters
-
| [in] | cmesh | The cmesh in which the point lies. |
| [in] | gtreeid | The global tree (of the cmesh) in which the reference point is. |
| [in] | ref_coords | Array of dimension many entries, specifying a point in [0,1]^dimension. |
| [out] | jacobian | The jacobian at ref_coords. Array of size dimension x 3. Indices 3*i, 3*i+1, 3*i+2 correspond to the i-th column of the jacobian (Entry 3*i + j is del f_j/del x_i). |
Implements t8_geometry.
◆ t8_geom_load_tree_data()
Update a possible internal data buffer for per tree data.
This function is called before the first coordinates in a new tree are evaluated. In this implementation, we do nothing, since we do not need any tree data.
- Parameters
-
| [in] | cmesh | The cmesh. |
| [in] | gtreeid | The global tree. |
Implements t8_geometry.
The documentation for this struct was generated from the following files:
- src/t8_geometry/t8_geometry_implementations/t8_geometry_zero.hxx
- src/t8_geometry/t8_geometry_implementations/t8_geometry_zero.cxx