PolyFEM
Loading...
Searching...
No Matches
polyfem::InitialConditionOverride Class Reference

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.
 

Detailed Description

Runtime override for initial-condition histories.

Definition at line 89 of file State.hpp.

Member Function Documentation

◆ is_empty()

bool polyfem::InitialConditionOverride::is_empty ( ) const
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().

Here is the caller graph for this function:

Member Data Documentation

◆ acceleration

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().

◆ solution

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().

◆ velocity

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().


The documentation for this class was generated from the following file: