My Project
programmer's documentation
Enumerations | Functions | Variables
fvm_writer.h File Reference
#include "cs_defs.h"
#include "cs_timer.h"
#include "fvm_defs.h"
#include "fvm_nodal.h"
Include dependency graph for fvm_writer.h:

Go to the source code of this file.

Enumerations

enum  fvm_writer_time_dep_t { FVM_WRITER_FIXED_MESH, FVM_WRITER_TRANSIENT_COORDS, FVM_WRITER_TRANSIENT_CONNECT }
 
enum  fvm_writer_var_loc_t { FVM_WRITER_PER_NODE, FVM_WRITER_PER_ELEMENT, FVM_WRITER_PER_PARTICLE }
 

Functions

int fvm_writer_get_format_id (const char *format_name)
 
int fvm_writer_n_formats (void)
 
const char * fvm_writer_format_name (int format_index)
 
int fvm_writer_format_available (int format_index)
 
int fvm_writer_n_version_strings (int format_index)
 
const char * fvm_writer_version_string (int format_index, int string_index, int compile_time_version)
 
void fvm_writer_filter_option (char *format_options, const char *exclude_option)
 
fvm_writer_t * fvm_writer_init (const char *name, const char *path, const char *format_name, const char *format_options, fvm_writer_time_dep_t time_dependency)
 
fvm_writer_t * fvm_writer_finalize (fvm_writer_t *this_writer)
 
const char * fvm_writer_get_name (const fvm_writer_t *this_writer)
 
const char * fvm_writer_get_format (const fvm_writer_t *this_writer)
 
const char * fvm_writer_get_options (const fvm_writer_t *this_writer)
 
const char * fvm_writer_get_path (const fvm_writer_t *this_writer)
 
fvm_writer_time_dep_t fvm_writer_get_time_dep (const fvm_writer_t *this_writer)
 
void fvm_writer_set_mesh_time (fvm_writer_t *this_writer, int time_step, double time_value)
 
int fvm_writer_needs_tesselation (fvm_writer_t *this_writer, const fvm_nodal_t *mesh, fvm_element_t element_type)
 
void fvm_writer_export_nodal (fvm_writer_t *this_writer, const fvm_nodal_t *mesh)
 
void fvm_writer_export_field (fvm_writer_t *this_writer, const fvm_nodal_t *mesh, const char *name, fvm_writer_var_loc_t location, int dimension, cs_interlace_t interlace, int n_parent_lists, const cs_lnum_t parent_num_shift[], cs_datatype_t datatype, int time_step, double time_value, const void *const field_values[])
 
void fvm_writer_flush (fvm_writer_t *this_writer)
 
void fvm_writer_get_times (fvm_writer_t *this_writer, cs_timer_counter_t *mesh_time, cs_timer_counter_t *field_time, cs_timer_counter_t *flush_time)
 

Variables

const char * fvm_writer_time_dep_name []
 

Enumeration Type Documentation

◆ fvm_writer_time_dep_t

Enumerator
FVM_WRITER_FIXED_MESH 
FVM_WRITER_TRANSIENT_COORDS 
FVM_WRITER_TRANSIENT_CONNECT 

◆ fvm_writer_var_loc_t

Enumerator
FVM_WRITER_PER_NODE 
FVM_WRITER_PER_ELEMENT 
FVM_WRITER_PER_PARTICLE 

Function Documentation

◆ fvm_writer_export_field()

void fvm_writer_export_field ( fvm_writer_t *  this_writer,
const fvm_nodal_t *  mesh,
const char *  name,
fvm_writer_var_loc_t  location,
int  dimension,
cs_interlace_t  interlace,
int  n_parent_lists,
const cs_lnum_t  parent_num_shift[],
cs_datatype_t  datatype,
int  time_step,
double  time_value,
const void *const  field_values[] 
)

◆ fvm_writer_export_nodal()

void fvm_writer_export_nodal ( fvm_writer_t *  this_writer,
const fvm_nodal_t *  mesh 
)

◆ fvm_writer_filter_option()

void fvm_writer_filter_option ( char *  format_options,
const char *  exclude_option 
)

◆ fvm_writer_finalize()

fvm_writer_t* fvm_writer_finalize ( fvm_writer_t *  this_writer)

◆ fvm_writer_flush()

void fvm_writer_flush ( fvm_writer_t *  this_writer)

◆ fvm_writer_format_available()

int fvm_writer_format_available ( int  format_index)

◆ fvm_writer_format_name()

const char* fvm_writer_format_name ( int  format_index)

◆ fvm_writer_get_format()

const char* fvm_writer_get_format ( const fvm_writer_t *  this_writer)

◆ fvm_writer_get_format_id()

int fvm_writer_get_format_id ( const char *  format_name)

◆ fvm_writer_get_name()

const char* fvm_writer_get_name ( const fvm_writer_t *  this_writer)

◆ fvm_writer_get_options()

const char* fvm_writer_get_options ( const fvm_writer_t *  this_writer)

◆ fvm_writer_get_path()

const char* fvm_writer_get_path ( const fvm_writer_t *  this_writer)

◆ fvm_writer_get_time_dep()

fvm_writer_time_dep_t fvm_writer_get_time_dep ( const fvm_writer_t *  this_writer)

◆ fvm_writer_get_times()

void fvm_writer_get_times ( fvm_writer_t *  this_writer,
cs_timer_counter_t mesh_time,
cs_timer_counter_t field_time,
cs_timer_counter_t flush_time 
)

◆ fvm_writer_init()

fvm_writer_t* fvm_writer_init ( const char *  name,
const char *  path,
const char *  format_name,
const char *  format_options,
fvm_writer_time_dep_t  time_dependency 
)

◆ fvm_writer_n_formats()

int fvm_writer_n_formats ( void  )

◆ fvm_writer_n_version_strings()

int fvm_writer_n_version_strings ( int  format_index)

◆ fvm_writer_needs_tesselation()

int fvm_writer_needs_tesselation ( fvm_writer_t *  this_writer,
const fvm_nodal_t *  mesh,
fvm_element_t  element_type 
)

◆ fvm_writer_set_mesh_time()

void fvm_writer_set_mesh_time ( fvm_writer_t *  this_writer,
int  time_step,
double  time_value 
)

◆ fvm_writer_version_string()

const char* fvm_writer_version_string ( int  format_index,
int  string_index,
int  compile_time_version 
)

Variable Documentation

◆ fvm_writer_time_dep_name

const char* fvm_writer_time_dep_name[]