My Project
programmer's documentation
Data Structures | Typedefs | Functions
fvm_writer_helper.h File Reference
#include "cs_defs.h"
#include "cs_block_dist.h"
#include "cs_part_to_block.h"
#include "fvm_defs.h"
#include "fvm_nodal.h"
#include "fvm_writer.h"
Include dependency graph for fvm_writer_helper.h:

Go to the source code of this file.

Data Structures

struct  fvm_writer_section_t
 

Typedefs

typedef struct _fvm_writer_field_helper_t fvm_writer_field_helper_t
 
typedef 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)
 

Functions

fvm_writer_section_tfvm_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)
 
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)
 
cs_coord_tfvm_writer_extra_vertex_coords (const fvm_nodal_t *mesh, cs_lnum_t n_extra_vertices)
 
fvm_writer_field_helper_tfvm_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_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)
 
int fvm_writer_field_helper_field_dim (const fvm_writer_field_helper_t *helper)
 
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)
 
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)
 
const fvm_writer_section_tfvm_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_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)
 

Typedef Documentation

◆ fvm_writer_field_helper_t

typedef struct _fvm_writer_field_helper_t fvm_writer_field_helper_t

◆ fvm_writer_field_output_t

typedef 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)

Function Documentation

◆ fvm_writer_count_extra_vertices()

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 
)

◆ fvm_writer_export_list()

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 
)

◆ fvm_writer_extra_vertex_coords()

cs_coord_t* fvm_writer_extra_vertex_coords ( const fvm_nodal_t *  mesh,
cs_lnum_t  n_extra_vertices 
)

◆ fvm_writer_field_component_name()

void fvm_writer_field_component_name ( char *  s,
size_t  s_size,
bool  lowercase,
int  dimension,
int  component_id 
)

◆ fvm_writer_field_helper_create()

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 
)

◆ fvm_writer_field_helper_datatype()

cs_datatype_t fvm_writer_field_helper_datatype ( const fvm_writer_field_helper_t helper)

◆ fvm_writer_field_helper_destroy()

void fvm_writer_field_helper_destroy ( fvm_writer_field_helper_t **  helper)

◆ fvm_writer_field_helper_field_dim()

int fvm_writer_field_helper_field_dim ( const fvm_writer_field_helper_t helper)

◆ fvm_writer_field_helper_get_size()

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 
)

◆ fvm_writer_field_helper_output_e()

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 
)

◆ fvm_writer_field_helper_output_n()

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 
)

◆ fvm_writer_field_helper_step_el()

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 
)

◆ fvm_writer_field_helper_step_nl()

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 
)