|
PolyFEM
|
Runtime override for initial-condition histories. More...
#include <State.hpp>
Public Member Functions | |
| bool | is_empty () const |
| Returns true when no quantity is overridden. | |
Public Attributes | |
| Eigen::MatrixXd | solution |
| ndof by H (history size) matrix where each col is solution from a time step. | |
| Eigen::MatrixXd | velocity |
| ndof by H (history size) matrix where each col is velocity from a time step. | |
| Eigen::MatrixXd | acceleration |
| ndof by H (history size) matrix where each col is acceleration from a time step. | |
|
inline |
Returns true when no quantity is overridden.
Definition at line 105 of file State.hpp.
References acceleration, solution, and velocity.
Referenced by polyfem::solver::AdjointTools::dJ_friction_transient_adjoint_term().
| Eigen::MatrixXd polyfem::InitialConditionOverride::acceleration |
ndof by H (history size) matrix where each col is acceleration from a time step.
Time step is ordered in reversed. ex. col(n) -> n steps before.
Definition at line 102 of file State.hpp.
Referenced by polyfem::State::initial_acceleration(), and is_empty().
| Eigen::MatrixXd polyfem::InitialConditionOverride::solution |
ndof by H (history size) matrix where each col is solution from a time step.
Time step is ordered in reversed. ex. col(n) -> n steps before.
Definition at line 94 of file State.hpp.
Referenced by polyfem::State::initial_solution(), and is_empty().
| Eigen::MatrixXd polyfem::InitialConditionOverride::velocity |
ndof by H (history size) matrix where each col is velocity from a time step.
Time step is ordered in reversed. ex. col(n) -> n steps before.
Definition at line 98 of file State.hpp.
Referenced by polyfem::State::initial_velocity(), and is_empty().