|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __FVM_WRITER_HELPER_H__
2 #define __FVM_WRITER_HELPER_H__
58 typedef struct _fvm_writer_section_t {
60 struct _fvm_writer_section_t *
next;
144 bool discard_polygons,
145 bool discard_polyhedra,
146 bool divide_polygons,
147 bool divide_polyhedra);
161 bool divide_polyhedra,
165 #if defined(HAVE_MPI)
182 fvm_writer_vertex_part_to_block_create(
int min_rank_step,
186 const fvm_nodal_t *
mesh,
243 #if defined(HAVE_MPI)
280 size_t *min_output_buffer_size);
345 const void *
const field_values[],
347 size_t output_buffer_size,
348 size_t *output_size);
380 const fvm_nodal_t *
mesh,
387 const void *
const field_values[],
389 size_t output_buffer_size,
390 size_t *output_size);
427 const int *comp_order,
431 const void *
const field_values[],
466 const fvm_nodal_t *
mesh,
469 const int *comp_order,
473 const void *
const field_values[],
fvm_writer_var_loc_t
Definition: fvm_writer.h:69
int fvm_writer_field_helper_step_nl(fvm_writer_field_helper_t *helper, const fvm_nodal_t *mesh, int src_dim, int src_dim_shift, cs_interlace_t src_interlace, int n_parent_lists, const cs_lnum_t parent_num_shift[], cs_datatype_t datatype, const void *const field_values[], void *output_buffer, size_t output_buffer_size, size_t *output_size)
struct _fvm_writer_section_t * next
Definition: fvm_writer_helper.h:60
int fvm_writer_field_helper_field_dim(const fvm_writer_field_helper_t *helper)
void() fvm_writer_field_output_t(void *context, cs_datatype_t datatype, int dimension, int component_id, cs_gnum_t block_start, cs_gnum_t block_end, void *buffer)
Definition: fvm_writer_helper.h:105
const fvm_nodal_section_t * section
Definition: fvm_writer_helper.h:63
cs_lnum_t num_shift
Definition: fvm_writer_helper.h:68
fvm_writer_section_t * fvm_writer_export_list(const fvm_nodal_t *mesh, int min_export_dim, bool group_by_type, bool group_all, bool discard_polygons, bool discard_polyhedra, bool divide_polygons, bool divide_polyhedra)
#define END_C_DECLS
Definition: cs_defs.h:468
cs_datatype_t fvm_writer_field_helper_datatype(const fvm_writer_field_helper_t *helper)
int fvm_writer_field_helper_step_el(fvm_writer_field_helper_t *helper, const fvm_writer_section_t *export_section, int src_dim, int src_dim_shift, cs_interlace_t src_interlace, int n_parent_lists, const cs_lnum_t parent_num_shift[], cs_datatype_t datatype, const void *const field_values[], void *output_buffer, size_t output_buffer_size, size_t *output_size)
struct _cs_part_to_block_t cs_part_to_block_t
Definition: cs_part_to_block.h:57
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
Definition: fvm_writer_helper.h:58
cs_coord_t * fvm_writer_extra_vertex_coords(const fvm_nodal_t *mesh, cs_lnum_t n_extra_vertices)
fvm_element_t type
Definition: fvm_writer_helper.h:70
cs_datatype_t
Definition: cs_defs.h:260
Definition: cs_block_dist.h:50
fvm_element_t
Definition: fvm_defs.h:48
unsigned long cs_gnum_t
global mesh entity number
Definition: cs_defs.h:286
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
cs_interlace_t
Definition: cs_defs.h:439
fvm_writer_field_helper_t * fvm_writer_field_helper_create(const fvm_nodal_t *mesh, const fvm_writer_section_t *section_list, int field_dim, cs_interlace_t interlace, cs_datatype_t datatype, fvm_writer_var_loc_t location)
void fvm_writer_count_extra_vertices(const fvm_nodal_t *mesh, bool divide_polyhedra, cs_gnum_t *n_extra_vertices_g, cs_lnum_t *n_extra_vertices)
const fvm_writer_section_t * fvm_writer_field_helper_output_e(fvm_writer_field_helper_t *helper, void *context, const fvm_writer_section_t *export_section, int src_dim, cs_interlace_t src_interlace, const int *comp_order, int n_parent_lists, const cs_lnum_t parent_num_shift[], cs_datatype_t datatype, const void *const field_values[], fvm_writer_field_output_t *output_func)
void fvm_writer_field_helper_destroy(fvm_writer_field_helper_t **helper)
void fvm_writer_field_helper_get_size(const fvm_writer_field_helper_t *helper, size_t *input_size, size_t *output_size, size_t *min_output_buffer_size)
Definition: fvm_nodal_priv.h:58
struct _fvm_writer_field_helper_t fvm_writer_field_helper_t
Definition: fvm_writer_helper.h:89
double cs_coord_t
Definition: cs_defs.h:299
void fvm_writer_field_helper_output_n(fvm_writer_field_helper_t *helper, void *context, const fvm_nodal_t *mesh, int src_dim, cs_interlace_t src_interlace, const int *comp_order, int n_parent_lists, const cs_lnum_t parent_num_shift[], cs_datatype_t datatype, const void *const field_values[], fvm_writer_field_output_t *output_func)
void fvm_writer_field_component_name(char *s, size_t s_size, bool lowercase, int dimension, int component_id)
bool continues_previous
Definition: fvm_writer_helper.h:74
cs_gnum_t extra_vertex_base
Definition: fvm_writer_helper.h:65