34#ifndef SVZERODSOLVER_MODEL_RESISTANCEBC_HPP_
35#define SVZERODSOLVER_MODEL_RESISTANCEBC_HPP_
BlockType
The types of blocks supported by the solver.
Definition BlockType.h:42
BlockClass
The classes/categories of blocks supported. Some classes require special handling (e....
Definition BlockType.h:64
model::Parameter source file
SparseSystem source file.
Base class for 0D model components.
Definition Block.h:101
const int id
Global ID of the block.
Definition Block.h:103
const Model * model
The model to which the block belongs.
Definition Block.h:104
Degree-of-freedom handler.
Definition DOFHandler.h:48
Model of 0D elements.
Definition Model.h:75
Resistance boundary condition.
Definition ResistanceBC.h:85
void setup_dofs(DOFHandler &dofhandler)
Set up the degrees of freedom (DOF) of the block.
Definition ResistanceBC.cpp:33
ResistanceBC(int id, Model *model)
Construct a new ResistanceBC object.
Definition ResistanceBC.h:93
void update_constant(SparseSystem &system, std::vector< double > ¶meters)
Update the constant contributions of the element in a sparse system.
Definition ResistanceBC.cpp:37
void update_time(SparseSystem &system, std::vector< double > ¶meters)
Update the time-dependent contributions of the element in a sparse system.
Definition ResistanceBC.cpp:42
TripletsContributions num_triplets
Number of triplets of element.
Definition ResistanceBC.h:133
Sparse system.
Definition SparseSystem.h:57
The number of triplets that the element contributes to the global system.
Definition Block.h:52