9.0
general documentation
Loading...
Searching...
No Matches
cs_preprocessor_data.h File Reference
#include "fvm/fvm_io_num.h"
#include "base/cs_base.h"
#include "mesh/cs_mesh.h"
Include dependency graph for cs_preprocessor_data.h:

Go to the source code of this file.

Enumerations

enum  cs_preprocessor_data_restart_mode_t { CS_PREPROCESSOR_DATA_RESTART_NONE , CS_PREPROCESSOR_DATA_RESTART_AND_MODIFY , CS_PREPROCESSOR_DATA_RESTART_ONLY }

Functions

void cs_preprocessor_data_add_file (const char *file_name, size_t n_group_renames, const char **group_rename, const double transf_matrix[3][4])
int cs_preprocessor_check_perio (void)
cs_preprocessor_data_restart_mode_t cs_preprocessor_data_get_restart_mode (void)
 Return restart behavior for preprocessing.
void cs_preprocessor_data_set_restart_mode (cs_preprocessor_data_restart_mode_t mode)
 Define restart behavior in case of restart.
void cs_preprocessor_data_read_headers (cs_mesh_t *mesh, cs_mesh_builder_t *mesh_builder, bool ignore_cartesian)
void cs_preprocessor_data_read_mesh (cs_mesh_t *mesh, cs_mesh_builder_t *mesh_builder, bool ignore_cartesian)

Enumeration Type Documentation

◆ cs_preprocessor_data_restart_mode_t

Mesh preprocessing operations in case of restart.

Enumerator
CS_PREPROCESSOR_DATA_RESTART_NONE 

do not use restart mesh for computation, or restart mesh not present

CS_PREPROCESSOR_DATA_RESTART_AND_MODIFY 

read restart mesh and enable further preprocessing

CS_PREPROCESSOR_DATA_RESTART_ONLY 

use restart mesh as-is, with no additional preprocessing (default if restart is present)

Function Documentation

◆ cs_preprocessor_check_perio()

int cs_preprocessor_check_perio ( void )

◆ cs_preprocessor_data_add_file()

void cs_preprocessor_data_add_file ( const char * file_name,
size_t n_group_renames,
const char ** group_rename,
const double transf_matrix[3][4] )

◆ cs_preprocessor_data_get_restart_mode()

cs_preprocessor_data_restart_mode_t cs_preprocessor_data_get_restart_mode ( void )

Return restart behavior for preprocessing.

Returns
preprocessing mode in case of restart.

◆ cs_preprocessor_data_read_headers()

void cs_preprocessor_data_read_headers ( cs_mesh_t * mesh,
cs_mesh_builder_t * mesh_builder,
bool ignore_cartesian )

◆ cs_preprocessor_data_read_mesh()

void cs_preprocessor_data_read_mesh ( cs_mesh_t * mesh,
cs_mesh_builder_t * mesh_builder,
bool ignore_cartesian )

◆ cs_preprocessor_data_set_restart_mode()

void cs_preprocessor_data_set_restart_mode ( cs_preprocessor_data_restart_mode_t mode)

Define restart behavior in case of restart.

If no restart/mesh_input.csm (or restart/mesh_input) file is found, CS_PREPROCESSOR_DATA_RESTART_NONE will be used.

Parameters
[in]modechosen preprocessing mode on restart