#include "b2boundary_condition.H"
Public Types | |
typedef TypedModelReductionBoundaryCondition | typed_base_t |
![]() | |
enum | Type { none = 0 , const_value = 1 , const_derivative = 2 , noconstant_derivative_constant_struct = 3 } |
Public Member Functions | |
virtual size_t | get_size (const bool linear, const b2linalg::Vector< T, b2linalg::Vdense_constref > &dof, double time)=0 |
virtual void | get_nonlinear_value (const b2linalg::Vector< T, b2linalg::Vdense_constref > &dof, double time, EquilibriumSolution equilibrium_solution, b2linalg::Vector< T, b2linalg::Vdense_ref > value, b2linalg::Matrix< T, b2linalg::Mcompressed_col > &d_value_d_dof_trans, b2linalg::Matrix< T, b2linalg::Mrectangle_ref > d_value_d_time, SolverHints *solver_hints) |
virtual void | get_linear_value (b2linalg::Vector< T, b2linalg::Vdense_ref > value, b2linalg::Matrix< T, b2linalg::Mcompressed_col > &d_value_d_dof_trans, double time=1) |
virtual void | get_nonlinear_inverse_value (const b2linalg::Matrix< T, b2linalg::Mrectangle_constref > &value, double time, b2linalg::Matrix< T, b2linalg::Mrectangle_ref > dof)=0 |
![]() | |
virtual Type | get_type () const =0 |
![]() | |
virtual const std::string & | get_object_name () const |
virtual | ~Object () |
Additional Inherited Members | |
![]() | |
static ObjectType | type |
Abstract class defining the complete interface for model reduction boundary conditions. Actual implementations should derive this class.
typedef TypedModelReductionBoundaryCondition b2000::TypedModelReductionBoundaryCondition< T >::typed_base_t |
Indicating the boundary type as an easy handle to use in derived classes.
|
inlinevirtual |
Evaluate a linear model reduction boundary condition. By default, get_nonlinear_value() is called with dof set to zero and time set to 1.
value | The values of g (global array, output). |
d_value_d_dof_trans | A transposed matrix containing the derivatives of g w.r.t. the dof's (sparse matrix, output). |
time | The current time parameter (input). |
|
pure virtual |
Evaluate the inverse of the nonlinear reduction boundary condition.
dof | The degrees-of-freedom of the reduced model (global array, input). |
time | The current time parameter (input). |
value | The values of g in function of the dof and the time parameter (global array, output) |
An exception is raised if a solution cannot be found.
|
inlinevirtual |
Evaluate a nonlinear model reduction boundary condition. Actual implementations must override this function.
dof | The degrees-of-freedom of the reduced model (global array, input). |
time | The current time parameter (input). |
equilibrium_solution | Contains information for path-dependent analysis. |
value | The value of g evaluated in function the dof's and the time parameter (global array, output) |
d_value_d_dof_trans | A transposed matrix containing the derivative of g w.r.t. the dof's (sparse matrix, output). |
d_value_d_time | the derivative of g w.r.t. the time parameter (global array, output). |
solver_hints | Hints for the Solver that can be specified by the natural boundary condition. |
|
pure virtual |