4#ifndef ACTIVE_STRESS_NASH_PANFILOV_H
5#define ACTIVE_STRESS_NASH_PANFILOV_H
7#include "ActiveStressODE.h"
48 static inline const std::string
label =
"NashPanfilov";
54 constexpr bool required =
true;
76 virtual std::unique_ptr<ActiveStressModelParameters>
78 return std::make_unique<Parameters>();
92 const cmType &cm)
override;
106 const double calcium,
const double fiber_stretch,
107 const double fiber_stretch_rate)
const override;
114 const double fiber_stretch)
const override;
124 const double fiber_stretch)
const override {
Parameters for a generic active stress model.
Definition Parameters.h:1450
void add_parameter(const std::string &label, double default_value, bool required)
Add a new parameter to this object.
Definition Parameters.h:1496
double calcium_crit
Definition ActiveStressNashPanfilov.h:150
static const std::string label
Model label.
Definition ActiveStressNashPanfilov.h:48
double epsilon_0
Definition ActiveStressNashPanfilov.h:133
virtual double compute_active_tension_derivative_local(const Vector< double > &state, const double fiber_stretch) const override
Compute the partial derivative of the active tension with respect to the fiber stretch,...
Definition ActiveStressNashPanfilov.h:122
double eta_T
Definition ActiveStressNashPanfilov.h:154
virtual double compute_active_tension_local(const Vector< double > &state, const double fiber_stretch) const override
Compute the active tension for a single node.
Definition ActiveStressNashPanfilov.cpp:49
virtual void distribute_model_specific_parameters(const CmMod &cm_mod, const cmType &cm) override
Distribute model parameters to all parallel processes.
Definition ActiveStressNashPanfilov.cpp:18
double epsilon_i
Definition ActiveStressNashPanfilov.h:137
double calcium_rest
Definition ActiveStressNashPanfilov.h:146
virtual void read_model_specific_parameters(const ActiveStressModelParameters ¶ms) override
Read model parameters from a parameter object.
Definition ActiveStressNashPanfilov.cpp:6
virtual void init_local(Vector< double > &state) const override
Initialize the state vector for a single node.
Definition ActiveStressNashPanfilov.cpp:30
double xi_T
Definition ActiveStressNashPanfilov.h:142
virtual Vector< double > getf(const double t, const Vector< double > &state, const double calcium, const double fiber_stretch, const double fiber_stretch_rate) const override
Compute the rate of change in the state variables.
Definition ActiveStressNashPanfilov.cpp:35
virtual std::unique_ptr< ActiveStressModelParameters > get_parameters() const override
Construct an instance of model parameters.
Definition ActiveStressNashPanfilov.h:77
ActiveStressNashPanfilov()
Constructor.
Definition ActiveStressNashPanfilov.h:68
Model parameters class.
Definition ActiveStressODE.h:109
ActiveStressODE(const unsigned int n_states, const bool needs_fiber_stretch, const bool needs_fiber_stretch_rate)
Constructor.
Definition ActiveStressODE.h:125
The CmMod class duplicates the data structures in the Fortran CMMOD module defined in COMU....
Definition CmMod.h:37
The Vector template class is used for storing int and double data.
Definition Vector.h:26
The cmType class stores data and defines methods used for mpi communication.
Definition CmMod.h:57