18#include "Parameters.h"
19#include "RobinBoundaryCondition.h"
27#include "fils_struct.hpp"
29#include "Parameters.h"
31#include "ArtificialNeuralNetMaterial.h"
49 bool defined() {
return n != 0; };
85 bool defined() {
return dof != 0; };
129 bool weakDir =
false;
166 std::string robin_vtp_file =
"";
169 double resistance = 0.0;
245 consts::ElementType eType = consts::ElementType::NA;
284 std::string file_name;
285 std::string mesh_name;
340 consts::ConstitutiveModelType volType = consts::ConstitutiveModelType::stIso_NA;
346 consts::ConstitutiveModelType isoType = consts::ConstitutiveModelType::stIso_NA;
394 consts::FluidViscosityModelType viscType = consts::FluidViscosityModelType::viscType_NA;
419 consts::SolidViscosityModelType viscType = consts::SolidViscosityModelType::viscType_NA;
438 consts::EquationType phys = consts::EquationType::phys_NA;
445 std::map<consts::PhysicalProperyType,double> prop;
534 consts::ElementType eType = consts::ElementType::NA;
605 std::vector<fsType> fs;
608 double qmTRI3 = 2.0/3.0;
614 bool boundary_integral =
false;
615 bool spatial =
false;
616 bool volume_integral =
false;
618 bool no_options_set() {
619 return !(boundary_integral | spatial | volume_integral);
622 void set_option(consts::OutputType type,
bool value)
624 if (type == consts::OutputType::boundary_integral) {
625 boundary_integral = value;
626 }
else if (type == consts::OutputType::spatial) {
628 }
else if (type == consts::OutputType::volume_integral) {
629 volume_integral = value;
644 consts::OutputNameType grp = consts::OutputNameType::outGrp_NA;
663 consts::SolverType
LS_type = consts::SolverType::lSolver_NA;
718 consts::ContactModelType cType = consts::ContactModelType::cntctM_NA;
740 consts::CplBCType bGrp = consts::CplBCType::cplBC_NA;
781 std::string solver_library;
785 std::map<std::string,std::string> block_surface_map;
788 std::string configuration_file;
791 std::string coupling_type;
794 bool have_initial_flows =
false;
795 double initial_flows;
798 bool have_initial_pressures =
false;
799 double initial_pressures;
803 bool has_data =
false;
806 void add_block_face(
const std::string& block_name,
const std::string& face_name);
822 bool useSvZeroD =
false;
825 bool initRCR =
false;
837 consts::CplBCType
schm = consts::CplBCType::cplBC_NA;
863 std::vector<cplFaceType>
fa;
873 std::string dname =
"";
903 consts::ElementType
eType = consts::ElementType::NA;
1052 std::vector<faceType>
fa;
1137 consts::EquationType
phys = consts::EquationType::phys_NA;
1261 consts::MeshGeneratorType
method = consts::MeshGeneratorType::RMSH_TETGEN;
1283 double maxRadRatio = 0.0;
1454 bool savedOnce =
false;
1469 double sdf_default = 1000.0;
1472 double sdf_deps = 0.25;
1475 double sdf_deps_close = 0.25;
1499 double meanPU = 0.0;
1502 double meanPD = 0.0;
1505 double relax_factor = 0.5;
1515 std::vector<mshType> msh;
1623 std::array<double,3> timeP;
1806 Array<double> Vinit;
1807 Array<double> Dinit;
1823 fsi_linear_solver::FSILS_lhsType
lhs;
1852 bool debug_active =
false;
The Array3 template class implements a simple interface to 3D arrays.
Definition Array3.h:25
Definition ArtificialNeuralNetMaterial.h:30
The ComMod class duplicates the data structures in the Fortran COMMOD module defined in MOD....
Definition ComMod.h:1524
std::string stopTrigName
Stop_trigger file name.
Definition ComMod.h:1709
ibType ib
IB: Immersed boundary data structure.
Definition ComMod.h:1844
int stFileIncr
Increment in saving restart file.
Definition ComMod.h:1666
int nITs
Number of initialization time steps.
Definition ComMod.h:1651
bool ibFlag
Whether any Immersed Boundary (IB) treatment is required.
Definition ComMod.h:1584
Vector< int > colPtr
Column pointer (for sparse LHS matrix structure) Modified in: lhsa()
Definition ComMod.h:1720
bool zeroAve
Reset averaging variables from zero.
Definition ComMod.h:1563
std::string saveName
Saved output file name.
Definition ComMod.h:1703
std::vector< Array2D > grisMapList
RIS mapping array, with global (total) enumeration.
Definition ComMod.h:1753
int nMsh
Number of meshes.
Definition ComMod.h:1642
chnlType std
Input/output to the screen is handled by this structure.
Definition ComMod.h:1829
bool savedOnce
Whether any file being saved.
Definition ComMod.h:1545
risFaceType ris
risFace object
Definition ComMod.h:1847
bool stFileRepl
Whether to overwrite restart file or not.
Definition ComMod.h:1554
Array< double > varWallProps
CMM-variable wall properties: 1-thickness, 2-Elasticity modulus.
Definition ComMod.h:1810
Array< double > x
Position vector of mesh nodes (in ref config)
Definition ComMod.h:1774
bool cmmVarWall
Whether variable wall properties are used for CMM.
Definition ComMod.h:1569
std::array< int, 7 > stamp
Stamp ID to make sure simulation is compatible with stFiles.
Definition ComMod.h:1663
Array< double > Ad
Time derivative of displacement.
Definition ComMod.h:1791
int cTS
Current time step.
Definition ComMod.h:1621
int dof
Current equation degrees of freedom.
Definition ComMod.h:1629
bool urisFlag
Whether any URIS surface is considered.
Definition ComMod.h:1596
int gtnNo
Global total number of nodes, across all meshes (total) and all procs (global)
Definition ComMod.h:1633
std::string stFileName
Restart file name.
Definition ComMod.h:1706
int tnNo
Total number of nodes (number of nodes on current proc across all meshes)
Definition ComMod.h:1673
int nsd
Number of spatial dimensions.
Definition ComMod.h:1645
int nFacesLS
Number of faces in the LHS passed to FSILS.
Definition ComMod.h:1639
int nsymd
Number of stress values to be stored.
Definition ComMod.h:1679
Array< double > Yn
New variables (velocity); unknown result at next time step.
Definition ComMod.h:1780
double urisRes
URIS resistance.
Definition ComMod.h:1605
bool ichckIEN
Check IEN array for initial mesh.
Definition ComMod.h:1560
std::string iniFilePath
Initialization file path.
Definition ComMod.h:1700
Vector< int > rowPtr
Row pointer (for sparse LHS matrix structure) Modified in: lhsa()
Definition ComMod.h:1730
std::string precompFileName
Precomputed state-variable file name.
Definition ComMod.h:1712
std::vector< Array2D > risMapList
RIS mapping array, with local (mesh) enumeration.
Definition ComMod.h:1750
int cEq
Current equation.
Definition ComMod.h:1618
Vector< int > cmmBdry
Boundary nodes set for CMM initialization and for zeroing-out non-wall nodal displacements.
Definition ComMod.h:1738
Array< double > Val
LHS matrix.
Definition ComMod.h:1771
bool bin2VTK
Postprocess step - convert bin to vtk.
Definition ComMod.h:1587
bool saveAve
Whether to averaged results.
Definition ComMod.h:1539
bool saveVTK
Whether to save to VTK files.
Definition ComMod.h:1542
int tDof
Total number of degrees of freedom per node.
Definition ComMod.h:1669
std::vector< urisType > uris
unfitted RIS object
Definition ComMod.h:1850
bool ris0DFlag
Whether any one-sided RIS surface with 0D coupling is considered.
Definition ComMod.h:1593
bool risFlag
Whether any RIS surface is considered.
Definition ComMod.h:1590
std::string precompFieldName
Precomputed state-variable field name.
Definition ComMod.h:1715
bool cmmInit
Whether CMM equation is initialized.
Definition ComMod.h:1566
Array< double > Rd
Residual of the displacement equation.
Definition ComMod.h:1794
cplBCType cplBC
Coupled BCs structures used for multidomain simulations.
Definition ComMod.h:1817
double time
Time.
Definition ComMod.h:1694
Array< double > Dn
New integrated variables (displacement)
Definition ComMod.h:1765
bool pstEq
Whether PRESTRESS is being solved.
Definition ComMod.h:1575
bool resetSim
Restart simulation after remeshing.
Definition ComMod.h:1557
Array< double > An
New time derivative of variables (acceleration); unknown result at next time step.
Definition ComMod.h:1759
double dt
Time step size.
Definition ComMod.h:1688
bool urisActFlag
Whether the URIS surface is active.
Definition ComMod.h:1599
Array< double > R
Residual vector.
Definition ComMod.h:1768
rmshType rmsh
Remesher type.
Definition ComMod.h:1838
int saveIncr
Increment in saving solutions.
Definition ComMod.h:1660
bool usePrecomp
Whether to use precomputed state-variable solutions.
Definition ComMod.h:1611
ioType io
To group above channels.
Definition ComMod.h:1832
cntctModelType cntctM
Contact model type.
Definition ComMod.h:1841
double urisResClose
URIS resistance when the valve is closed.
Definition ComMod.h:1608
int RisnbrIter
Nbr of iterations.
Definition ComMod.h:1682
cmType cm
The general communicator.
Definition ComMod.h:1835
int nUris
Number of URIS surfaces (uninitialized, to be set later)
Definition ComMod.h:1602
int startTS
Starting time step.
Definition ComMod.h:1626
Vector< int > idMap
Array that maps global node id to rowN in the matrix Modified in: lhsa()
Definition ComMod.h:1734
bool stFileFlag
Whether start from beginning or from simulations.
Definition ComMod.h:1551
bool sepOutput
Whether to use separator in output.
Definition ComMod.h:1548
bool shlEq
Whether shell equation is being solved.
Definition ComMod.h:1572
std::vector< eqType > eq
All data related to equations are stored in this container.
Definition ComMod.h:1820
bool iCntct
Whether to detect and apply any contact model.
Definition ComMod.h:1581
double precompDt
Time step size of the precomputed state-variables.
Definition ComMod.h:1691
Array< double > Do
Old integrated variables (displacement)
Definition ComMod.h:1762
bool dFlag
Whether there is a requirement to update mesh and Dn-Do variables.
Definition ComMod.h:1533
int cDmn
Current domain.
Definition ComMod.h:1615
int nTS
Number of time steps.
Definition ComMod.h:1648
Array< double > Ao
Old time derivative of variables (acceleration); known result at current time step.
Definition ComMod.h:1756
int nEq
Number of equations.
Definition ComMod.h:1636
Vector< int > iblank
IB: iblank used for immersed boundaries (1 => solid, 0 => fluid)
Definition ComMod.h:1741
Array< double > Kd
LHS matrix for displacement equation.
Definition ComMod.h:1797
std::vector< mshType > msh
All the meshes are stored in this variable.
Definition ComMod.h:1826
int recLn
stFiles record length
Definition ComMod.h:1654
int rsTS
Restart Time Step.
Definition ComMod.h:1676
bool mvMsh
Whether mesh is moving.
Definition ComMod.h:1536
Vector< double > Pinit
Temporary storage for initializing state variables.
Definition ComMod.h:1805
Vector< int > ltg
Local to global pointer tnNo --> gtnNo.
Definition ComMod.h:1726
fsi_linear_solver::FSILS_lhsType lhs
FSILS data structure to produce LHS sparse matrix.
Definition ComMod.h:1823
Array< double > Yo
Old variables (velocity); known result at current time step.
Definition ComMod.h:1777
Array< double > Bf
Body force.
Definition ComMod.h:1783
Vector< int > dmnId
Domain ID.
Definition ComMod.h:1723
Array< double > pS0
Variables for prestress calculations.
Definition ComMod.h:1800
int saveATS
Start saving after this number of time step.
Definition ComMod.h:1657
bool sstEq
Whether velocity-pressure based structural dynamics solver is used.
Definition ComMod.h:1578
The LinearAlgebra class provides an abstract interface to linear algebra frameworks: FSILS,...
Definition LinearAlgebra.h:13
Moving boundary data structure (used for general BC)
Definition ComMod.h:82
Definition RobinBoundaryCondition.h:37
Keep track of time.
Definition Timer.h:13
The Vector template class is used for storing int and double data.
Definition Vector.h:23
Mesh adjacency (neighboring element for each element)
Definition ComMod.h:464
Boundary condition data type.
Definition ComMod.h:126
Class storing data for B-Splines.
Definition ComMod.h:206
Cardiac electrophysiology model type.
Definition CepMod.h:131
Channel type, used in I/O.
Definition ChnlMod.h:19
The cmType class stores data and defines methods used for mpi communication.
Definition CmMod.h:55
Contact model type.
Definition ComMod.h:715
For coupled 0D-3D problems.
Definition ComMod.h:812
consts::CplBCType schm
Implicit/Explicit/Semi-implicit schemes.
Definition ComMod.h:837
int nX
Number of unknowns in the 0D domain.
Definition ComMod.h:831
int nFa
Number of coupled faces.
Definition ComMod.h:828
Vector< double > xo
Old time step unknowns in the 0D domain.
Definition ComMod.h:857
bool useGenBC
Whether to use genBC.
Definition ComMod.h:819
std::string binPath
Path to the 0D code binary file.
Definition ComMod.h:841
std::string saveName
The name of history file containing "X".
Definition ComMod.h:850
std::string commuName
File name for communication between 0D and 3D.
Definition ComMod.h:844
bool coupled
Is multi-domain active.
Definition ComMod.h:816
std::vector< cplFaceType > fa
Data structure used for communicating with 0D code.
Definition ComMod.h:863
Vector< double > xp
Output variables to be printed.
Definition ComMod.h:860
Vector< double > xn
New time step unknowns in the 0D domain.
Definition ComMod.h:854
int nXp
Number of output variables addition to nX.
Definition ComMod.h:834
This type will be used to write data in the VTK files.
Definition ComMod.h:1222
Domain type is to keep track with element belong to which domain and also different physical quantiti...
Definition ComMod.h:429
Equation type.
Definition ComMod.h:1076
LinearAlgebra * linear_algebra
Interface to a numerical linear algebra library.
Definition ComMod.h:1186
double roInf
Definition ComMod.h:1164
int maxItr
Maximum iteration for this eq.
Definition ComMod.h:1107
int s
Pointer to start of unknown Yo(:,s:e)
Definition ComMod.h:1101
int nDmnIB
IB: Number of immersed domains.
Definition ComMod.h:1125
bool coupled
Should be satisfied in a coupled/uncoupled fashion.
Definition ComMod.h:1082
bool ok
Satisfied/not satisfied.
Definition ComMod.h:1086
int nBcIB
Number of BCs on immersed surfaces.
Definition ComMod.h:1131
std::string sym
Equation symbol.
Definition ComMod.h:1170
bool expl_geom_cpl
Explicit geometry coupling.
Definition ComMod.h:1213
bool assmTLS
Use C++ Trilinos framework for assembly and for linear solvers.
Definition ComMod.h:1092
lsType ls
type of linear solver
Definition ComMod.h:1174
std::vector< outputType > outIB
IB: Outputs.
Definition ComMod.h:1207
double tol
Accepted relative tolerance.
Definition ComMod.h:1167
bool useTLS
Use C++ Trilinos framework for the linear solvers.
Definition ComMod.h:1089
int itr
Number of performed iterations.
Definition ComMod.h:1104
double gam
Definition ComMod.h:1155
std::vector< outputType > outURIS
URIS: Outputs.
Definition ComMod.h:1210
int nBc
Number of BCs.
Definition ComMod.h:1128
int e
Pointer to end of unknown Yo(:,s:e)
Definition ComMod.h:1098
std::vector< dmnType > dmn
domains that this equation must be solved
Definition ComMod.h:1198
consts::PreconditionerType linear_algebra_preconditioner
The type of preconditioner used by the interface to a numerical linear algebra library.
Definition ComMod.h:1183
int nOutIB
IB: Number of possible outputs.
Definition ComMod.h:1116
double am
Definition ComMod.h:1149
double iNorm
Initial norm of residual.
Definition ComMod.h:1158
consts::LinearAlgebraType linear_algebra_assembly_type
The type of assembly interface to a numerical linear algebra library.
Definition ComMod.h:1180
consts::LinearAlgebraType linear_algebra_type
The type of interface to a numerical linear algebra library.
Definition ComMod.h:1177
int nOutURIS
URIS: Number of possible outputs.
Definition ComMod.h:1119
std::vector< bfType > bf
Body force associated with this equation.
Definition ComMod.h:1216
double pNorm
First iteration norm.
Definition ComMod.h:1161
double af
Definition ComMod.h:1142
int nBf
Number of BFs.
Definition ComMod.h:1134
int nDmn
Number of domains.
Definition ComMod.h:1122
int nOutput
Number of possible outputs.
Definition ComMod.h:1113
std::vector< dmnType > dmnIB
IB: immersed domains that this equation must be solved.
Definition ComMod.h:1201
std::vector< bcType > bc
BCs associated with this equation;.
Definition ComMod.h:1192
std::vector< bcType > bcIB
IB: BCs associated with this equation on immersed surfaces.
Definition ComMod.h:1195
int dof
Degrees of freedom.
Definition ComMod.h:1095
fsi_linear_solver::FSILS_lsType FSILS
FSILS type of linear solver.
Definition ComMod.h:1189
consts::EquationType phys
Type of equation fluid/heatF/heatS/lElas/FSI.
Definition ComMod.h:1137
std::vector< outputType > output
Outputs.
Definition ComMod.h:1204
double beta
Definition ComMod.h:1152
int minItr
Minimum iteration for this eq.
Definition ComMod.h:1110
The face type containing mesh at boundary.
Definition ComMod.h:518
void destroy()
Free memory and reset some data members.
Definition ComMod.cpp:120
Fourier coefficients that are used to specify unsteady BCs.
Definition ComMod.h:46
Fluid viscosity model type.
Definition ComMod.h:390
Function spaces (basis) type.
Definition ComMod.h:233
void destroy()
SUBROUTINE DESTROYFS(fs)
Definition ComMod.cpp:157
Vector< int > nG
Num traces (Gauss points) local to each process.
Definition ComMod.h:1310
Vector< int > n
Num traces (nodes) local to each process.
Definition ComMod.h:1304
Vector< int > gE
Pointer to global trace (Gauss point) stacked contiguously.
Definition ComMod.h:1313
Vector< int > gN
Pointer to global trace (node num) stacked contiguously.
Definition ComMod.h:1307
Immersed Boundary (IB) data type.
Definition ComMod.h:1320
Array< double > x
IB position coordinates.
Definition ComMod.h:1364
Array< double > Aun
Time derivative of displacement (new)
Definition ComMod.h:1373
int cpld
IB coupling.
Definition ComMod.h:1332
Array< double > Ku
LHS tangent matrix for displacement.
Definition ComMod.h:1403
int tnNo
Total number of IB nodes.
Definition ComMod.h:1346
Array< double > Un
Displacement (projected on background mesh, new, n+af)
Definition ComMod.h:1391
int cEq
Current equation.
Definition ComMod.h:1343
Array< double > R
Residual (FSI force)
Definition ComMod.h:1394
int intrp
IB interpolation method.
Definition ComMod.h:1336
Array< double > Uo
Displacement (projected on background mesh, old)
Definition ComMod.h:1388
Array< double > Yb
Velocity (new)
Definition ComMod.h:1367
Array< double > Ubn
Displacement (new)
Definition ComMod.h:1382
int cDmn
Current IB domain ID.
Definition ComMod.h:1340
double callD[4]
IB call duration (1: total time; 2: update; 3,4: communication)
Definition ComMod.h:1352
ibCommType cm
IB communicator.
Definition ComMod.h:1409
Vector< int > rowPtr
Row pointer (for sparse LHS matrix storage)
Definition ComMod.h:1358
Array< double > Rub
Residual (displacement, IB mesh)
Definition ComMod.h:1400
bool savedOnce
Whether any file being saved.
Definition ComMod.h:1324
Vector< int > dmnID
IB Domain ID.
Definition ComMod.h:1355
Array< double > Auo
Time derivative of displacement (old)
Definition ComMod.h:1370
Array< double > Ubk
Displacement (n+af)
Definition ComMod.h:1385
int nMsh
Number of IB meshes.
Definition ComMod.h:1349
int mthd
IB method.
Definition ComMod.h:1328
std::vector< mshType > msh
DERIVED class VARIABLES IB meshes;.
Definition ComMod.h:1406
Array< double > Ubo
Displacement (old)
Definition ComMod.h:1379
Vector< int > colPtr
Column pointer (for sparse LHS matrix storage)
Definition ComMod.h:1361
Array< double > Ru
Residual (displacement, background mesh)
Definition ComMod.h:1397
Array< double > Auk
Time derivative of displacement (n+am)
Definition ComMod.h:1376
Only to group four channels, in case I rather have them as one variable.
Definition ChnlMod.h:50
Linear system of equations solver type.
Definition ComMod.h:659
double absTol
Absolute tolerance (IN)
Definition ComMod.h:690
int cN
Number of |x| norms (OUT)
Definition ComMod.h:681
int cD
Number of <x.y> dot products (OUT)
Definition ComMod.h:684
double fNorm
Final norm of residual (OUT)
Definition ComMod.h:699
double callD
Calling duration (OUT)
Definition ComMod.h:705
int reserve
Only for data alignment (-)
Definition ComMod.h:687
bool suc
Successful solving (OUT)
Definition ComMod.h:666
int mItr
Maximum iterations (IN)
Definition ComMod.h:669
consts::SolverType LS_type
LS solver (IN)
Definition ComMod.h:663
int itr
Number of iteration (OUT)
Definition ComMod.h:675
double relTol
Relative tolerance (IN)
Definition ComMod.h:693
double dB
Res. rduction in last itr. (OUT)
Definition ComMod.h:702
int sD
Space dimension (IN)
Definition ComMod.h:672
int cM
Number of Ax multiple (OUT)
Definition ComMod.h:678
double iNorm
Initial norm of residual (OUT)
Definition ComMod.h:696
This is the container for a mesh or NURBS patch, those specific to NURBS are noted.
Definition ComMod.h:870
int nNo
Number of nodes (control points) for 2D elements?
Definition ComMod.h:931
Vector< double > w
Gauss weights.
Definition ComMod.h:1000
std::vector< std::vector< int > > ordering
@breif ordering: node ordering for boundaries
Definition ComMod.h:958
Array< double > N
Parent shape function.
Definition ComMod.h:1012
traceType trc
IB: tracers.
Definition ComMod.h:1055
Array3< double > Ys
Solution field (displacement, velocity, pressure, etc.) for a known, potentially time-varying,...
Definition ComMod.h:1034
Vector< int > eDist
Element distribution between processors.
Definition ComMod.h:961
Vector< int > iGC
IB: Whether a cell is a ghost cell or not.
Definition ComMod.h:994
adjType nAdj
Mesh nodal adjacency.
Definition ComMod.h:1040
Array< double > xib
Bounds on parameteric coordinates.
Definition ComMod.h:1006
adjType eAdj
Mesh element adjacency.
Definition ComMod.h:1043
int nG
Number of Gauss points for integration.
Definition ComMod.h:928
int nFa
Number of faces.
Definition ComMod.h:922
Array< double > x
Position coordinates (not always, however, as they get overwritten by read_vtu_pdata())
Definition ComMod.h:1009
std::vector< fsType > fs
Function spaces (basis)
Definition ComMod.h:1046
Array3< double > Nxx
Second derivatives of shape functions - used for shells & IGA davep double Nxx(:,:,...
Definition ComMod.h:1030
int gnNo
Global number of nodes (control points) on a single mesh.
Definition ComMod.h:913
double dx
IB: Mesh size parameter.
Definition ComMod.h:946
bool lShpF
Whether the shape function is linear.
Definition ComMod.h:894
Vector< int > lN
Global to local maping tnNo --> nNo.
Definition ComMod.h:985
Vector< int > otnIEN
gIEN mapper from old to new
Definition ComMod.h:979
int nFn
Number of fiber directions.
Definition ComMod.h:940
Vector< int > eRIS
RIS: flags of whether elemets are adjacent to RIS projections.
Definition ComMod.h:1059
Array< int > eIEN
Shells: extended IEN array with neighboring nodes.
Definition ComMod.h:988
Vector< int > gN
Global nodes maping nNo --> tnNo.
Definition ComMod.h:967
bool lFib
Whether the mesh is fibers (Purkinje)
Definition ComMod.h:900
double v
The volume of this mesh.
Definition ComMod.h:955
int eNoN
Number of nodes (control points) in a single element.
Definition ComMod.h:907
double scF
Mesh scale factor.
Definition ComMod.h:943
Vector< int > eId
Element domain ID number.
Definition ComMod.h:964
int gnEl
Global number of elements (knot spans)
Definition ComMod.h:910
double res
RIS resistance value.
Definition ComMod.h:949
Vector< int > partRIS
RIS: processor ids to change element partitions to.
Definition ComMod.h:1062
int nSl
Number of elements sample points to be outputs (NURBS)
Definition ComMod.h:934
Array< double > xi
Gauss integration points in parametric space.
Definition ComMod.h:1003
Array< double > fN
Fiber orientations stored at the element level - used for electrophysiology and solid mechanics.
Definition ComMod.h:1022
int nFs
Number of function spaces.
Definition ComMod.h:925
Array< int > sbc
Shells: boundary condition variable.
Definition ComMod.h:991
bool lShl
Whether the mesh is shell.
Definition ComMod.h:897
Array< double > Nb
Shape function bounds.
Definition ComMod.h:1015
Array< double > nV
Normal vector to each nodal point (for Shells)
Definition ComMod.h:1018
Vector< double > nW
Control points weights (NURBS)
Definition ComMod.h:997
Array3< double > Nx
Parent shape functions gradient double Nx(:,:,:)
Definition ComMod.h:1026
std::vector< faceType > fa
Faces are stored in this variable.
Definition ComMod.h:1052
Vector< int > gpN
GLobal projected nodes mapping projected -> unprojected mapping.
Definition ComMod.h:970
Array< int > gIEN
Global connectivity array mappig eNoN,nEl --> gnNo.
Definition ComMod.h:973
int vtkType
The element type recognized by VTK format.
Definition ComMod.h:937
int nEl
Number of elements (knot spans)
Definition ComMod.h:919
consts::ElementType eType
Element type.
Definition ComMod.h:903
int nEf
Number of element face. Used for reading Gambit mesh files.
Definition ComMod.h:916
std::string name
Mesh Name.
Definition ComMod.h:1037
std::vector< bsType > bs
BSpline in different directions (NURBS)
Definition ComMod.h:1049
double tol
RIS projection tolerance.
Definition ComMod.h:952
Array< int > IEN
The connectivity array mapping eNoN,nEl --> nNo.
Definition ComMod.h:976
double qmTET4
TET4 quadrature modifier.
Definition ComMod.h:1065
Array< int > INN
Local knot pointer (NURBS)
Definition ComMod.h:982
Declared type for outputed variables.
Definition ComMod.h:637
Data type for Resistive Immersed Surface.
Definition ComMod.h:1415
Array3< int > lst
List of meshes, and faces connected. The first face is the.
Definition ComMod.h:1426
std::vector< bool > status
Status RIS interface.
Definition ComMod.h:1441
Vector< double > Res
Resistance value.
Definition ComMod.h:1429
Vector< int > nbrIter
Count time steps where no check is needed.
Definition ComMod.h:1422
Array< double > meanP
Mean distal and proximal pressure (1: distal, 2: proximal)
Definition ComMod.h:1435
int nbrRIS
Number of RIS surface.
Definition ComMod.h:1419
Vector< double > meanFl
Mean flux on the RIS surface.
Definition ComMod.h:1438
std::vector< bool > clsFlg
Flag closed surface active, the valve is considerd open initially.
Definition ComMod.h:1432
Vector< double > iNorm
Initial norm of an equation.
Definition ComMod.h:1289
int rTS
Time step from which remeshing is done.
Definition ComMod.h:1267
int freq
Time step frequency for forced remeshing.
Definition ComMod.h:1276
int cpVar
Time step freq for saving data.
Definition ComMod.h:1270
Array< double > A0
Copy of solution variables where remeshing starts.
Definition ComMod.h:1292
int cntr
Counter to track number of remesh done.
Definition ComMod.h:1264
std::vector< bool > flag
Flag is set if remeshing is required for each mesh.
Definition ComMod.h:1297
double time
Time where remeshing starts.
Definition ComMod.h:1279
consts::MeshGeneratorType method
Method for remeshing: 1-TetGen, 2-MeshSim.
Definition ComMod.h:1261
double minDihedAng
Mesh quality parameters.
Definition ComMod.h:1282
int fTS
Time step at which forced remeshing is done.
Definition ComMod.h:1273
Vector< double > maxEdgeSize
Edge size of mesh.
Definition ComMod.h:1286
bool isReqd
Whether remesh is required for problem or not.
Definition ComMod.h:1258
Fluid viscosity model type.
Definition ComMod.h:415
Structural domain type.
Definition ComMod.h:337
Definition Parameters.h:672
Tracer type used for immersed boundaries. Identifies traces of nodes and integration points on backgr...
Definition ComMod.h:483
Unfitted Resistive Immersed surface data type.
Definition ComMod.h:1447
TODO: for now, better to organize these within a class
Definition ComMod.h:1744
Store options for output types.
Definition ComMod.h:613