Enforce the sum of sublattice concentrations to a given phase concentration. More...
#include <SLKKSSum.h>
Public Types | |
| typedef std::vector< int > | JvarMap |
Public Member Functions | |
| SLKKSSum (const InputParameters ¶meters) | |
| virtual void | computeOffDiagJacobian (unsigned int jvar) override |
| unsigned int | mapJvarToCvar (unsigned int jvar) |
| int | mapJvarToCvar (unsigned int jvar, const JvarMap &jvar_map) |
| bool | mapJvarToCvar (unsigned int jvar, unsigned int &cvar) |
| const JvarMap & | getJvarMap () |
| const JvarMap & | getParameterJvarMap (std::string parameter_name) |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Member Functions | |
| virtual Real | computeQpResidual () |
| virtual Real | computeQpJacobian () |
| virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
Protected Attributes | |
| Real | _a_u |
| sublattice fraction for the sublattice B concentration represented by the kernel variable | |
| const VariableValue & | _target |
| AuxVariable to hold the target sum. | |
| const unsigned int | _n_args |
| unsigned int | _ncs |
| sublattice A variables | |
| std::vector< const VariableValue * > | _cs |
| std::vector< Real > | _a_cs |
| const JvarMap & | _cs_map |
Private Attributes | |
| const std::size_t | _jvar_max_size |
| JvarMap | _jvar_map |
| std::map< std::string, JvarMap > | _jvar_local_map |
Enforce the sum of sublattice concentrations to a given phase concentration.
This is for test simulations to equilibrate the internal degrees of freedom in a phase with multiple sublattices. The total concentration is prescribed by an AuxVariable. D. Schwen et al. https://doi.org/10.1016/j.commatsci.2021.110466
Definition at line 22 of file SLKKSSum.h.
| SLKKSSum::SLKKSSum | ( | const InputParameters & | parameters | ) |
Definition at line 28 of file SLKKSSum.C.
|
protectedvirtual |
Definition at line 66 of file SLKKSSum.C.
|
protectedvirtual |
Definition at line 72 of file SLKKSSum.C.
|
protectedvirtual |
|
static |
Definition at line 16 of file SLKKSSum.C.
|
protected |
Definition at line 37 of file SLKKSSum.h.
Referenced by computeQpOffDiagJacobian(), computeQpResidual(), and SLKKSSum().
|
protected |
sublattice fraction for the sublattice B concentration represented by the kernel variable
Definition at line 42 of file SLKKSSum.h.
Referenced by computeQpJacobian(), computeQpResidual(), and SLKKSSum().
|
protected |
Definition at line 36 of file SLKKSSum.h.
Referenced by computeQpResidual(), and SLKKSSum().
|
protected |
Definition at line 38 of file SLKKSSum.h.
Referenced by computeQpOffDiagJacobian().
|
protected |
sublattice A variables
Definition at line 35 of file SLKKSSum.h.
Referenced by computeQpResidual(), and SLKKSSum().
|
protected |
AuxVariable to hold the target sum.
Definition at line 45 of file SLKKSSum.h.
Referenced by computeQpResidual().