1#ifndef CS_POROSITY_FROM_SCAN_H
2#define CS_POROSITY_FROM_SCAN_H
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
cs_real_t cs_real_34_t[3][4]
Definition: cs_defs.h:364
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:349
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:358
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:325
void cs_porous_model_restart_write_stage_1(void)
Write the restart file of the ibm module.
Definition: cs_porosity_from_scan.cpp:1779
cs_porosity_from_scan_opt_t * cs_glob_porosity_from_scan_opt
void cs_porosity_from_scan_set_output_name(const char *output_name)
Set the output name for the FVM writer of scan points.
Definition: cs_porosity_from_scan.cpp:1086
cs_ibm_cog_location_t
Definition: cs_porosity_from_scan.h:68
@ CS_COG_FROM_PYRAMID
Definition: cs_porosity_from_scan.h:71
@ CS_COG_WITHOUT_RECONSTRUCTION_FOR_IBM_PLANE
Definition: cs_porosity_from_scan.h:72
@ CS_COG_FROM_FLUID_FACES
Definition: cs_porosity_from_scan.h:70
void cs_porous_model_restart_read_stage_2(void)
Read the restart file of the ibm module.
Definition: cs_porosity_from_scan.cpp:1931
void cs_ibm_add_sources_by_file_name(const char *file_name)
Add the scanner sources from csv file to fill fluid space.
Definition: cs_porosity_from_scan.cpp:1153
void cs_porosity_from_scan_set_file_name(const char *file_name)
Set the file name of points for the computation of the porosity from scan.
Definition: cs_porosity_from_scan.cpp:1044
cs_fill_type_t
Definition: cs_porosity_from_scan.h:76
@ CS_FILL_DIRECTION
Definition: cs_porosity_from_scan.h:79
@ CS_FILL_RADIAL
Definition: cs_porosity_from_scan.h:78
void cs_porous_model_restart_write_stage_2(void)
Write the restart file of the ibm module for final disable_flag.
Definition: cs_porosity_from_scan.cpp:1822
void cs_porosity_from_scan_add_source(const cs_real_t source[3], bool transform)
Add a scanner source point.
Definition: cs_porosity_from_scan.cpp:1112
void cs_compute_porosity_from_scan(void)
Compute the porosity which is equal to one from a source, radiating sphericaly, and is 0 when touchin...
Definition: cs_porosity_from_scan.cpp:1219
void cs_porous_model_restart_read_stage_1(void)
Read the restart file of the ibm module.
Definition: cs_porosity_from_scan.cpp:1856
struct _cs_restart_t cs_restart_t
Definition: cs_restart.h:91
Definition: cs_porosity_from_scan.h:83
char ** headers
Definition: cs_porosity_from_scan.h:88
bool compute_porosity_from_scan
Definition: cs_porosity_from_scan.h:84
int n_classifications
Definition: cs_porosity_from_scan.h:115
cs_restart_t * restart
Definition: cs_porosity_from_scan.h:116
bool has_classification
Definition: cs_porosity_from_scan.h:112
cs_real_34_t transformation_matrix
Definition: cs_porosity_from_scan.h:95
bool postprocess_points
Definition: cs_porosity_from_scan.h:90
cs_real_3_t direction_vector
Definition: cs_porosity_from_scan.h:98
cs_real_33_t * mom_mat
Definition: cs_porosity_from_scan.h:111
int n_headers
Definition: cs_porosity_from_scan.h:86
bool remove_cells_on_restart
Definition: cs_porosity_from_scan.h:117
int * header_type
Definition: cs_porosity_from_scan.h:87
char * output_name
Definition: cs_porosity_from_scan.h:89
bool use_staircase
Definition: cs_porosity_from_scan.h:107
cs_ibm_cog_location_t cog_location
Definition: cs_porosity_from_scan.h:110
cs_lnum_t n_agglomeration
Definition: cs_porosity_from_scan.h:104
int nb_sources
Definition: cs_porosity_from_scan.h:100
float * classification_values
Definition: cs_porosity_from_scan.h:113
cs_real_t convection_porosity_threshold
Definition: cs_porosity_from_scan.h:106
cs_real_t eigenvalue_criteria
Definition: cs_porosity_from_scan.h:108
cs_lnum_t threshold
Definition: cs_porosity_from_scan.h:103
char * file_names
Definition: cs_porosity_from_scan.h:85
int use_restart
Definition: cs_porosity_from_scan.h:109
cs_real_t porosity_threshold
Definition: cs_porosity_from_scan.h:105
cs_lnum_t * source_c_ids
Definition: cs_porosity_from_scan.h:102
cs_real_3_t * sources
Definition: cs_porosity_from_scan.h:101
bool * class_used
Definition: cs_porosity_from_scan.h:114
cs_fill_type_t type_fill
Definition: cs_porosity_from_scan.h:99