Hermes2D  3.0
Hermes::Hermes2D::DefaultEssentialBCConst< Scalar > Class Template Reference

Class representing constant essential boundary condition. More...

#include <essential_boundary_conditions.h>

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

Public Member Functions

 DefaultEssentialBCConst (std::vector< std::string > markers, Scalar value_const)
 Constructors.
 
 DefaultEssentialBCConst (std::string marker, Scalar value_const)
 
Scalar value (double x, double y) const
 
EssentialBCValueType get_value_type () const
 Function giving info that u_Essential is a constant.
 
- Public Member Functions inherited from Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >
 EssentialBoundaryCondition ()
 Default constructor.
 
 EssentialBoundaryCondition (std::vector< std::string > markers)
 
 EssentialBoundaryCondition (std::string marker)
 
virtual ~EssentialBoundaryCondition ()
 Virtual destructor.
 
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.
 

Additional Inherited Members

- Protected Attributes inherited from Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >
Scalar value_const
 Special case of a constant function.
 
double current_time
 Current time.
 
std::vector< std::string > markers
 Markers.
 

Detailed Description

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

Class representing constant essential boundary condition.

Definition at line 92 of file essential_boundary_conditions.h.

Member Function Documentation

template<typename Scalar >
Scalar Hermes::Hermes2D::DefaultEssentialBCConst< Scalar >::value ( double  x,
double  y 
) const
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).

Implements Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >.

Definition at line 79 of file essential_boundary_conditions.cpp.


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