b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2000::EssentialBoundaryCondition Class Referenceabstract

#include "b2boundary_condition.H"

Inheritance diagram for b2000::EssentialBoundaryCondition:
Collaboration diagram for b2000::EssentialBoundaryCondition:

Public Types

enum  Type { none = 0 , constant_value = 1 , constant_derivative = 2 , noconstant_derivative = 3 }
 

Public Member Functions

virtual Type get_type () const =0
 
virtual size_t get_size (const bool linear)=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
 

Detailed Description

An abstract class defining the interface for discretized essential boundary condition definitions (essential boundary condition, i.e. boundary conditions on the degrees-of-freedom).

The essential boundary condition is defined by the constraint g(u,t) = 0 or g(u,t) <= 0 where u is the current dof, g is a nonlinear function of the from R(nb_dof) X R to R(m) and t is the time.

Member Enumeration Documentation

◆ Type

The different types of essential boundary conditions.

Enumerator
none 

An empty essential boundary condition.

constant_value 

The values of g do not depend on the dof's. Thus g is if the form: g = d.

constant_derivative 

The derivatives of g do not depend on the dof's. Thus g is of the form g = Gu + d.

noconstant_derivative 

The derivatives of g depend on the dof's.

Member Function Documentation

◆ get_size()

virtual size_t b2000::EssentialBoundaryCondition::get_size ( const bool  linear)
pure virtual
Returns
The number of constraints.

◆ get_type()

virtual Type b2000::EssentialBoundaryCondition::get_type ( ) const
pure virtual
Returns
The type of the essential boundary condition (how the boundary condition varies with the dof's).

The documentation for this class was generated from the following files: