36 #include "Simulation.h"
56 void calc_mesh_props(
ComMod& com_mod,
const CmMod&
cm_mod,
const int nMesh, std::vector<mshType>&
mesh);
The CmMod class duplicates the data structures in the Fortran CMMOD module defined in COMU....
Definition: CmMod.h:63
The ComMod class duplicates the data structures in the Fortran COMMOD module defined in MOD....
Definition: ComMod.h:1311
Definition: Simulation.h:41
The face type containing mesh at boundary.
Definition: ComMod.h:501
This is the container for a mesh or NURBS patch, those specific to NURBS are noted.
Definition: ComMod.h:788
Definition: read_msh.h:46
Definition: read_msh.cpp:55
void check_tet_conn(mshType &mesh)
Check and reorder tet connectivity if needed.
Definition: read_msh.cpp:680
void calc_elem_ar(ComMod &com_mod, const CmMod &cm_mod, mshType &lM, bool &rflag)
Calculate element Aspect Ratio of a given mesh.
Definition: read_msh.cpp:81
void check_tri3_conn(mshType &mesh)
Definition: read_msh.cpp:732
void check_line_conn(mshType &mesh)
Check and reorder line connectivity if needed.
Definition: read_msh.cpp:644
void check_quad4_conn(mshType &mesh)
Definition: read_msh.cpp:674
void set_dmn_id_ff(Simulation *simulation, mshType &lM, const std::string &file_name)
Read domain from a dat file.
Definition: read_msh.cpp:1696
void load_var_ini(Simulation *simulation, ComMod &com_mod)
Read initial field values (pressure, velocity or displacement).
Definition: read_msh.cpp:784
void check_ien(Simulation *simulation, mshType &mesh)
Check the mesh connectivity and node ordering.
Definition: read_msh.cpp:543
void set_dmn_id_vtk(Simulation *simulation, mshType &mesh, const std::string &file_name, const std::string &kwrd)
Read mesh domains from a vtu/vtp file.
Definition: read_msh.cpp:1758
void check_wedge_conn(mshType &mesh)
Check and reorder wedge connectivity if needed.
Definition: read_msh.cpp:744
void read_msh(Simulation *simulation)
For each mesh defined for the simulation.
Definition: read_msh.cpp:1080
void check_tri6_conn(mshType &mesh)
Definition: read_msh.cpp:738
void check_hex20_conn(mshType &mesh)
Check and reorder hex connectivity if needed.
Definition: read_msh.cpp:660
void check_hex8_conn(mshType &mesh)
Check and reorder hex connectivity if needed.
Definition: read_msh.cpp:652
void set_projector(Simulation *simulation, utils::stackType &avNds)
This routines associates two faces with each other and sets gN.
Definition: read_msh.cpp:1773
void read_fib_nff(Simulation *simulation, mshType &mesh, const std::string &fName, const std::string &kwrd, const int idx)
Read fiber direction from a vtu file.
Definition: read_msh.cpp:1069
void calc_elem_skew(ComMod &com_mod, const CmMod &cm_mod, mshType &lM, bool &rflag)
Calculate element Skewness of a given mesh.
Definition: read_msh.cpp:296
void calc_nbc(mshType &mesh, faceType &face)
Checks that face nodes are valid and creates a list of unique node IDs for the face.
Definition: read_msh.cpp:476
int find_blk(const int nsd, const int nBkd, const std::vector< bool > &nFlt, const Vector< double > &xMin, const Vector< double > &dx, const Vector< double > &x)
Compute the block ID for the given coordinate.
Definition: read_msh.cpp:602
void calc_elem_jac(ComMod &com_mod, const CmMod &cm_mod, mshType &lM, bool &rflag)
Calculate element Jacobian of a given mesh.
Definition: read_msh.cpp:176
void check_hex27_conn(mshType &mesh)
Check and reorder hex connectivity if needed.
Definition: read_msh.cpp:668