Get the rate of a rank two tensor given its increment.
More...
#include <R2IncrementToRate.h>
Get the rate of a rank two tensor given its increment.
Definition at line 21 of file R2IncrementToRate.h.
◆ R2IncrementToRate()
| neml2::R2IncrementToRate::R2IncrementToRate |
( |
const OptionSet & |
options | ) |
|
Definition at line 32 of file R2IncrementToRate.C.
34 _delta(declare_input_variable<R2>(
"increment")),
35 _t(declare_input_variable<Scalar>(
"t")),
36 _t_n(declare_input_variable<Scalar>(history_name(
_t.name(), 1))),
37 _rate(declare_output_variable<R2>(
"rate"))
Variable< R2 > & _rate
Rate.
const Variable< Scalar > & _t_n
const Variable< Scalar > & _t
Time.
const Variable< R2 > & _delta
Increment of the rank two tensor.
◆ expected_options()
| OptionSet neml2::R2IncrementToRate::expected_options |
( |
| ) |
|
|
static |
Definition at line 22 of file R2IncrementToRate.C.
24 OptionSet options = Model::expected_options();
25 options.doc() =
"Compute the rate of a rank two tensor given its increment and the time step.";
26 options.add_input(
"increment",
"Increment of the rank two tensor");
27 options.add_input(
"time",
"t",
"Current time");
28 options.add_output(
"rate",
"Rate of the rank two tensor");
◆ set_value()
| void neml2::R2IncrementToRate::set_value |
( |
bool |
out, |
|
|
bool |
dout_din, |
|
|
bool |
d2out_din2 |
|
) |
| |
|
overrideprotected |
Definition at line 42 of file R2IncrementToRate.C.
Variable< R2 > & _rate
Rate.
const Variable< Scalar > & _t_n
const Variable< Scalar > & _t
Time.
const Variable< R2 > & _delta
Increment of the rank two tensor.
◆ _delta
| const Variable<R2>& neml2::R2IncrementToRate::_delta |
|
protected |
◆ _rate
| Variable<R2>& neml2::R2IncrementToRate::_rate |
|
protected |
◆ _t
| const Variable<Scalar>& neml2::R2IncrementToRate::_t |
|
protected |
◆ _t_n
| const Variable<Scalar>& neml2::R2IncrementToRate::_t_n |
|
protected |
The documentation for this class was generated from the following files: