#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) |
Public Member Functions inherited from b2000::InitialCondition | |
| virtual void | set_model (Model &model)=0 |
| virtual void | set_case (Case &case_)=0 |
Public Member Functions inherited from b2000::Object | |
| virtual const std::string & | get_object_name () const |
| virtual | ~Object () |
Additional Inherited Members | |
Static Public Attributes inherited from b2000::Object | |
| 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(). |