7#ifndef SVZERODSOLVER_MODEL_CHAMBERELASTANCEINDUCTOREXPONENTIAL_HPP_
8#define SVZERODSOLVER_MODEL_CHAMBERELASTANCEINDUCTOREXPONENTIAL_HPP_
70 const Eigen::Matrix<double, Eigen::Dynamic, 1>& y,
71 const Eigen::Matrix<double, Eigen::Dynamic, 1>& dy);
BlockType
The types of blocks supported by the solver.
Definition BlockType.h:15
model::ChamberElastanceInductor source file
const int id
Global ID of the block.
Definition Block.h:78
const Model * model
The model to which the block belongs.
Definition Block.h:79
void get_elastance_values(std::vector< double > ¶meters) override
Compute elastance and rest volume from activation and parameters.
Definition ChamberElastanceInductorExponential.cpp:7
TripletsContributions num_triplets
Number of triplets of element.
Definition ChamberElastanceInductorExponential.h:74
void update_time(SparseSystem &system, std::vector< double > ¶meters)
Update the time-dependent contributions of the element in a sparse system.
Definition ChamberElastanceInductorExponential.cpp:15
ExponentialParamId
Local IDs of the parameters (Impedance=0 and Emax=1 shared with base class).
Definition ChamberElastanceInductorExponential.h:62
ChamberElastanceInductorExponential(int id, Model *model)
Construct a new ChamberElastanceInductorExponential object.
Definition ChamberElastanceInductorExponential.h:49
void update_solution(SparseSystem &system, std::vector< double > ¶meters, const Eigen::Matrix< double, Eigen::Dynamic, 1 > &y, const Eigen::Matrix< double, Eigen::Dynamic, 1 > &dy)
Update the solution-dependent contributions of the element in a sparse system.
Definition ChamberElastanceInductorExponential.cpp:24
ChamberElastanceInductor(int id, Model *model)
Construct a new ChamberElastanceInductor object.
Definition ChamberElastanceInductor.h:121
Model of 0D elements.
Definition Model.h:55
Sparse system.
Definition SparseSystem.h:30
The number of triplets that the element contributes to the global system.
Definition Block.h:27