My Project
programmer's documentation
Functions | Variables
fvm_writer.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "fvm_nodal.h"
#include "fvm_nodal_priv.h"
#include "cs_base.h"
#include "cs_file.h"
#include "cs_fp_exception.h"
#include "cs_timer.h"
#include "fvm_writer.h"
#include "fvm_writer_priv.h"
#include "fvm_to_ccm.h"
#include "fvm_to_cgns.h"
#include "fvm_to_med.h"
#include "fvm_to_ensight.h"
#include "fvm_to_histogram.h"
#include "fvm_to_plot.h"
#include "fvm_to_time_plot.h"
Include dependency graph for fvm_writer.c:

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 []
 
const char _empty_string [] = ""
 

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

◆ _empty_string

const char _empty_string[] = ""

◆ fvm_writer_time_dep_name

const char* fvm_writer_time_dep_name[]
Initial value:
= {N_("fixed mesh"),
N_("transient coordinates"),
N_("transient connectivity")}
N_
#define N_(String)
Definition: cs_defs.h:56