1 #ifndef __CS_MESH_CARTESIAN_H__ 2 #define __CS_MESH_CARTESIAN_H__ 48 typedef struct _cs_mesh_cartesian_params_t cs_mesh_cartesian_params_t;
61 cs_mesh_cartesian_params_t *
void cs_mesh_cartesian_define_dir_params(int idim, cs_mesh_cartesian_law_t law, int ncells, cs_real_t smin, cs_real_t smax, cs_real_t progression)
Define parameters for a given direction.
Definition: cs_mesh_cartesian.c:673
Definition: cs_mesh_builder.h:57
void cs_mesh_cartesian_define_simple(int ncells[3], cs_real_t xyz[6])
Define a simple cartesian mesh with a constant step in all directions.
Definition: cs_mesh_cartesian.c:494
Definition: cs_mesh_cartesian.h:41
int cs_mesh_cartesian_get_ncells(int idim)
Get number of cells in a given direction.
Definition: cs_mesh_cartesian.c:741
double cs_real_t
Floating-point value.
Definition: cs_defs.h:307
Definition: cs_mesh_cartesian.h:42
void cs_mesh_cartesian_params_destroy(void)
Destroy cartesian mesh parameters.
Definition: cs_mesh_cartesian.c:922
void cs_mesh_cartesian_define_dir_user(int idir, int ncells, cs_real_t vtx_coord[])
Define directions parameters based on a user input.
Definition: cs_mesh_cartesian.c:524
int cs_mesh_cartesian_need_build(void)
Indicate if a cartesian mesh is to be built.
Definition: cs_mesh_cartesian.c:724
void cs_mesh_cartesian_create(void)
Create cartesian mesh structure.
Definition: cs_mesh_cartesian.c:475
integer(c_int), pointer, save smin
starting min
Definition: atincl.f90:196
Definition: cs_mesh_cartesian.h:43
cs_mesh_cartesian_params_t * cs_mesh_cartesian_get_params(void)
Return pointer to cartesian mesh parameters structure.
Definition: cs_mesh_cartesian.c:464
void cs_mesh_cartesian_connectivity(cs_mesh_t *m, cs_mesh_builder_t *mb, long echo)
Build unstructured connectivity needed for partitionning.
Definition: cs_mesh_cartesian.c:756
void cs_mesh_cartesian_define_from_csv(const char *csv_file_name)
Define a simple cartesian mesh based on a CSV file. CSV file needs to contain : (1) First line which ...
Definition: cs_mesh_cartesian.c:573
Definition: cs_mesh_cartesian.h:44
cs_mesh_cartesian_law_t
Definition: cs_mesh_cartesian.h:38
Definition: cs_mesh_cartesian.h:40