#include "b2static_linear_solver.H"
Public Member Functions | |
void | solve () override |
This function is usually called by the Model instance. | |
bool | solve_iteration () override |
This function is called by the Solver instance itself. | |
![]() | |
void | set_model (Model &model) |
This function is called by the Model instance. | |
void | set_case (Case &b2case) |
Make this constant (TB). | |
const bool | IsLinear () const |
bool | IsDynamic () const |
bool | IsDamped () const |
bool | IsImplicit () const |
![]() | |
virtual const std::string & | get_object_name () const |
virtual | ~Object () |
Additional Inherited Members | |
![]() | |
static ObjectType | type |
![]() | |
virtual void | InitializeSolverOnCase () |
Initializes the member variables of class Solver for the case at hand. | |
![]() | |
Model * | model_ {} |
Case * | case_ {} |
This also. | |
double | time_ {} |
Pseudo time in case of stationary analyses. | |
double | time_max_ {1.0} |
End time of simulation. | |
double | step_size_ {1.0} |
step size of the simulation. | |
size_t | total_num_dof_ {} |
Total number of all degrees of freedom of the system. | |
size_t | effective_num_dof_ {} |
Number of "true" unknowns of the global system. | |
int | current_stage_ {} |
Current stage number of current case. | |
Solve the static linear problem defined by:
minimize the function E(x) on the variables x (the potential energy function in a displacement based formulation) defined by: d_E / d_x (x) = K_i * x + f_i - K_e * x - f_e with the linear constraints on x: x = R * x_r + r L * x + l = 0
Where:
L (matrix) and l (vector) define the linear essential boundary conditions.
This version accepts multiple cases with different model reduction, essential and natural boundary conditions and domain property. In this case, the order of the computation is well optimized to reduce the total cost of the resolution.