SPH
|
Solves for total stress tensor sigma. More...
#include <EquilibriumSolver.h>
Public Member Functions | |
EquilibriumStressSolver (IScheduler &scheduler, const RunSettings &settings, const EquationHolder &equations) | |
Constructs the solver. More... | |
~EquilibriumStressSolver () | |
Outcome | solve (Storage &storage, Statistics &stats) |
Computed pressure and deviatoric stress are placed into the storage. More... | |
void | create (Storage &storage, IMaterial &material) |
Creates all the necessary quantities in the storage. More... | |
Solves for total stress tensor sigma.
Definition at line 46 of file EquilibriumSolver.h.
EquilibriumStressSolver::EquilibriumStressSolver | ( | IScheduler & | scheduler, |
const RunSettings & | settings, | ||
const EquationHolder & | equations | ||
) |
Constructs the solver.
equations | Additional forces. The forces can depend on spatial derivatives, but must be independent on both pressure and deviatoric stress. All quantities appearing in these equations are considered parameters of the problem, solver cannot be used to solve other quantities than the total stress tensor. |
EquilibriumStressSolver::~EquilibriumStressSolver | ( | ) |
Creates all the necessary quantities in the storage.
Outcome EquilibriumStressSolver::solve | ( | Storage & | storage, |
Statistics & | stats | ||
) |
Computed pressure and deviatoric stress are placed into the storage.
This overrides previously stored values. Values of internal energy are computed using an equation of state.