7#ifndef SVZERODSOLVER_MODEL_OPENLOOPCORONARYBC_HPP_
8#define SVZERODSOLVER_MODEL_OPENLOOPCORONARYBC_HPP_
130 std::vector<double> ¶meters);
138 void update_constant(SparseSystem &system, std::vector<double> ¶meters);
147 void update_time(SparseSystem &system, std::vector<double> ¶meters);
BlockType
The types of blocks supported by the solver.
Definition BlockType.h:15
BlockClass
The classes/categories of blocks supported. Some classes require special handling (e....
Definition BlockType.h:37
model::Parameter source file
SparseSystem source file.
Block(int id, Model *model, BlockType block_type, BlockClass block_class, std::vector< std::pair< std::string, InputParameter > > input_params)
Construct a new Block object.
Definition Block.h:100
const int id
Global ID of the block.
Definition Block.h:77
const Model * model
The model to which the block belongs.
Definition Block.h:78
Model of 0D elements.
Definition Model.h:48
OpenLoopCoronaryBC(int id, Model *model)
Construct a new OpenLoopCoronaryBC object.
Definition OpenLoopCoronaryBC.h:98
void setup_initial_state_dependent_params(State initial_state, std::vector< double > ¶meters)
Setup parameters that depend on the initial state.
Definition OpenLoopCoronaryBC.cpp:59
void setup_dofs(DOFHandler &dofhandler)
Set up the degrees of freedom (DOF) of the block.
Definition OpenLoopCoronaryBC.cpp:5
TripletsContributions num_triplets
Number of triplets of element.
Definition OpenLoopCoronaryBC.h:155
void update_time(SparseSystem &system, std::vector< double > ¶meters)
Update the time-dependent contributions of the element in a sparse system.
Definition OpenLoopCoronaryBC.cpp:40
double Pim_0
Pim at initial state.
Definition OpenLoopCoronaryBC.h:159
double P_Cim_0
Pressure proximal to Cim/Vim at initial state.
Definition OpenLoopCoronaryBC.h:158
void update_constant(SparseSystem &system, std::vector< double > ¶meters)
Update the constant contributions of the element in a sparse system.
Definition OpenLoopCoronaryBC.cpp:9
The number of triplets that the element contributes to the global system.
Definition Block.h:26