Hermes2D  3.0
Hermes::Hermes2D::EssentialBoundaryCondition< Scalar > Class Template Referenceabstract

#include <essential_boundary_conditions.h>

+ Inheritance diagram for Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >:

Public Member Functions

 EssentialBoundaryCondition ()
 Default constructor.
 
 EssentialBoundaryCondition (std::vector< std::string > markers)
 
 EssentialBoundaryCondition (std::string marker)
 
virtual ~EssentialBoundaryCondition ()
 Virtual destructor.
 
virtual EssentialBCValueType get_value_type () const =0
 Pure virtual function reporting the type of the essential boundary condition.
 
virtual Scalar value (double x, double y) const =0
 
void set_current_time (double time)
 Set the current time for time-dependent boundary conditions.
 
double get_current_time () const
 Get the current time for time-dependent boundary conditions.
 

Protected Attributes

Scalar value_const
 Special case of a constant function.
 
double current_time
 Current time.
 
std::vector< std::string > markers
 Markers.
 

Friends

template<typename T >
class EssentialBCs
 
template<typename T >
class Space
 
template<typename T >
class H1Space
 
template<typename T >
class L2Space
 
template<typename T >
class HcurlSpace
 
template<typename T >
class HdivSpace
 

Detailed Description

template<typename Scalar>
class Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >

Base, abstract class representing Essential boundary condition of the form u|_{} = u_Essential. Internal.

Definition at line 42 of file essential_boundary_conditions.h.

Member Function Documentation

template<typename Scalar>
virtual Scalar Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >::value ( double  x,
double  y 
) const
pure virtual

Represents a function prescribed on the boundary. Gets the boundary point coordinate as well as the normal and tangential vectors.

Parameters
[in]xx-coordinate of the point where the value is evaluated.
[in]yy-coordinate of the point where the value is evaluated.
[in]n_xthe x-component of the unit outer normal.
[in]n_ythe y-component of the unit outer normal.
[in]t_xthe x-component of the tangent(perpendicular to normal).
[in]t_ythe y-component of the tangent(perpendicular to normal).

Implemented in Hermes::Hermes2D::DefaultEssentialBCNonConst< Scalar >, and Hermes::Hermes2D::DefaultEssentialBCConst< Scalar >.


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