#include "b2boundary_condition.H"


Public Types | |
| typedef TypedNaturalBoundaryCondition | typed_base_t |
Public Types inherited from b2000::NaturalBoundaryCondition | |
| enum | Type { none = 0 , constant = 1 , conservative = 2 , noconservative = 3 } |
Public Member Functions | |
| 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, MATRIX_TYPE > &d_value_d_dof, b2linalg::Vector< T, b2linalg::Vdense_ref > d_value_d_time, SolverHints *solver_hints) |
| virtual void | get_linear_value (b2linalg::Vector< T, b2linalg::Vdense_ref > value, b2linalg::Matrix< T, MATRIX_TYPE > &d_value_d_dof, double time=1) |
Public Member Functions inherited from b2000::NaturalBoundaryCondition | |
| virtual Type | get_type () const =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 |
Abstract class defining the complete interface for natural boundary conditions. Actual implementations should derive this class.
| typedef TypedNaturalBoundaryCondition b2000::TypedNaturalBoundaryCondition< T, MATRIX_TYPE >::typed_base_t |
Indicating the boundary type as an easy handle to use in derived classes.
|
inlinevirtual |
Evaluate the natural boundary condition for linear analysis. By default, returns get_nonlinear_value() with dof set to zero and time set to 1.
| value | The values of the external forces (global array, output). |
| d_value_d_dof | A matrix containing the derivatives of the external forces w.r.t. the dof's (matrix, output). |
| time | The current time parameter (input). |
|
inlinevirtual |
Evaluate a nonlinear natural boundary condition. Actual implementations must override this function.
| dof | The degree of freedom in the branch referential (global array, input). |
| time | The current time parameter (input). |
| equilibrium_solution | Contains information for path-dependent analysis. |
| value | The values of the natural boundary conditions (global array, output). |
| d_value_d_dof | A transposed matrix containing the derivatives of the natural boundary conditions w.r.t. the dof's (sparse matrix, output). |
| d_value_d_time | The derivatives of the natural boundary conditions w.r.t. the time parameter (global array, output). |
| solver_hints | Hints for the Solver that can be specified by the natural boundary condition. |