27#include "neml2/models/Model.h"
40 void set_value(
bool out,
bool dout_din,
bool d2out_din2)
override;
52 std::vector<const Variable<Scalar> *>
_ws;
55 std::vector<const Scalar *>
_rhos;
Update the effective volume of a control mass composite during reaction.
Definition EffectiveVolume.h:33
std::vector< const Scalar * > _rhos
Densities of the components in the composite.
Definition EffectiveVolume.h:55
EffectiveVolume(const OptionSet &options)
Definition EffectiveVolume.cxx:61
const Scalar & _M
Reference mass of the composite.
Definition EffectiveVolume.h:43
static OptionSet expected_options()
Definition EffectiveVolume.cxx:33
Variable< Scalar > & _V
Total volume of the composite.
Definition EffectiveVolume.h:49
const Variable< Scalar > * _phio
Open volume fraction accounting for leakage.
Definition EffectiveVolume.h:46
std::vector< const Variable< Scalar > * > _ws
Mass fractions of the components in the composite.
Definition EffectiveVolume.h:52
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition EffectiveVolume.cxx:91
The base class for all constitutive models.
Definition Model.h:70
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:51
Scalar.
Definition Scalar.h:38
Concrete definition of a variable.
Definition VariableStore.h:41
Definition DiagnosticsInterface.cxx:30