Go to the source code of this file.
Functions | |
void | cs_restart_map_set_mesh_input (const char *mesh_path) |
Indicate restart files should be mapped to a given mesh input. | |
void | cs_restart_map_set_options (bool apply_mesh_deformation, float tolerance_base, float tolerance_fraction) |
Set options relative to restart file mapping to a given mesh input. | |
void | cs_restart_map_set_locations (bool map_cell_centers, bool map_vertices) |
Indicate whether location for restart file mapping is needed at cells or vertices. | |
void | cs_restart_map_build (void) |
Build mapping of restart files to different mesh if defined. | |
void | cs_restart_map_free (void) |
Free restart file mapping to different mesh. |
void cs_restart_map_build | ( | void | ) |
Build mapping of restart files to different mesh if defined.
[in] | need_vertices | indicate if location at vertices is needed |
void cs_restart_map_free | ( | void | ) |
Free restart file mapping to different mesh.
Revert restart reading to default behavior.
Indicate whether location for restart file mapping is needed at cells or vertices.
By default, mapping is done for cell-based quantities, but not for vertex-based quantities.
Mapping of quantities at faces or particles is not handled yet, but will use the cell-center or vertex based mappings in the future in all cases:
[in] | map_cell_centers | locate cell centers in the previous mesh. |
[in] | map_vertices | locate vertices in the previous mesh. |
void cs_restart_map_set_mesh_input | ( | const char * | mesh_path | ) |
Indicate restart files should be mapped to a given mesh input.
[in] | mesh_path | path to mesh input |
void cs_restart_map_set_options | ( | bool | apply_mesh_deformation, |
float | tolerance_base, | ||
float | tolerance_fraction ) |
Set options relative to restart file mapping to a given mesh input.
[in] | apply_mesh_deformation | apply mesh deformation from upstream computation (if present) so as to map to final, and not initial mesh shape. |
[in] | tolerance_base | associated base tolerance (used for bounding box check only, not for location test) |
[in] | tolerance_fraction | associated fraction of element bounding boxes added to tolerance |