#include "cs_defs.h"#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <limits.h>#include <math.h>#include "bft_mem.h"#include "bft_printf.h"#include "fvm_io_num.h"#include "cs_base.h"#include "cs_interface.h"#include "cs_io.h"#include "cs_mesh.h"#include "cs_mesh_builder.h"#include "cs_order.h"#include "cs_mesh_to_builder.h"Functions | |
| void | cs_mesh_to_builder (cs_mesh_t *mesh, cs_mesh_builder_t *mb, bool transfer, cs_io_t *pp_out) |
| Transfer mesh to mesh builder structure. | |
| void | cs_mesh_to_builder_partition (const cs_mesh_t *mesh, cs_mesh_builder_t *mb) |
| Transfer mesh partitioning info to mesh builder structure. | |
| void | cs_mesh_to_builder_perio_faces (const cs_mesh_t *mesh, cs_mesh_builder_t *mb) |
| Reconstruct periodic faces info from mesh to builder. | |
| void cs_mesh_to_builder | ( | cs_mesh_t * | mesh, |
| cs_mesh_builder_t * | mb, | ||
| bool | transfer, | ||
| cs_io_t * | pp_out ) |
Transfer mesh to mesh builder structure.
As the dataflow is very similar, but may be done array-by array to minimize memory overhead, this function also handles a part of the output to file needed to save a mesh file.
| [in,out] | mesh | pointer to mesh structure |
| [in,out] | mb | pointer to mesh builder structure |
| [in] | transfer | if true, data is transferred from mesh to builder; if false, builder fields are only used as a temporary arrays. |
| [in,out] | pp_out | optional output file, or NULL |
| void cs_mesh_to_builder_partition | ( | const cs_mesh_t * | mesh, |
| cs_mesh_builder_t * | mb ) |
Transfer mesh partitioning info to mesh builder structure.
| [in] | mesh | pointer to mesh structure |
| [in,out] | mb | pointer to mesh builder structure |
| void cs_mesh_to_builder_perio_faces | ( | const cs_mesh_t * | mesh, |
| cs_mesh_builder_t * | mb ) |
Reconstruct periodic faces info from mesh to builder.
| [in] | mesh | pointer to mesh structure |
| [in,out] | mb | pointer to mesh builder structure |