#include "b2initial_condition.H"
Public Member Functions | |
virtual bool | get_dynamic_initial_condition_value (b2linalg::Matrix< double, b2linalg::Mrectangle > &dof, double &time, int &stage, std::string &domain_state_id)=0 |
virtual bool | get_static_initial_condition_value (b2linalg::Vector< double, b2linalg::Vdense_ref > dof, double &time, int &stage, std::string &domain_state_id) |
![]() | |
virtual void | set_model (Model &model)=0 |
virtual void | set_case (Case &case_)=0 |
![]() | |
virtual const std::string & | get_object_name () const |
virtual | ~Object () |
Additional Inherited Members | |
![]() | |
static ObjectType | type |
Implementations should derive this class.
|
pure virtual |
Compute the initial conditions for dynamic analysis. This function is called by the dynamic Solver instance during initialization.
dof | The initial values of all degrees-of-freedom in the global reference frame, and their time-derivatives (matrix, output). |
time | The time parameter (output). For restart, the time parameter will be positive, else 0. |
stage | The stage number (output). |
domain_state_id | The domain state ID for restart (output). If set to a non-empty string, it identifies path-dependent Element and ElementProperty states, which have been stored previously on database and which will be loaded with Domain::load_state(). |
|
inlinevirtual |
Compute the initial conditions for static analysis. This function is called by the static Solver instance during initialization.
dof | The initial values of all degrees-of-freedom in the global reference frame (vector, output). |
time | The time parameter (output). For restart, the time parameter will be positive, else 0. |
stage | The stage number (output). |
domain_state_id | The domain state ID for restart (output). If set to a non-empty string, it identifies path-dependent Element and ElementProperty states, which have been stored previously on database and which will be loaded with Domain::load_state(). |