Hermes2D  2.0
Hermes::Hermes2D::DefaultEssentialBCNonConstHcurl< Scalar > Class Template Reference

#include <essential_boundary_conditions.h>

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

Public Member Functions

 DefaultEssentialBCNonConstHcurl (Hermes::vector< std::string > markers_, ExactSolutionVector< Scalar > *exact_solution2)
 
 DefaultEssentialBCNonConstHcurl (std::string marker, ExactSolutionVector< Scalar > *exact_solution2)
 
virtual Scalar value (double x, double y, double n_x, double n_y, double t_x, double t_y) const
 
EssentialBoundaryCondition
< Scalar >
::EssentialBCValueType 
get_value_type () const
 Function giving info that u_Essential is a non-constant function.
 
- Public Member Functions inherited from Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >
 EssentialBoundaryCondition (Hermes::vector< std::string > markers)
 Default constructor.
 
 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.
 

Public Attributes

ExactSolutionVector< Scalar > * exact_solution2
 

Additional Inherited Members

- Public Types inherited from Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >
enum  EssentialBCValueType { BC_FUNCTION, BC_CONST }
 Types of description of boundary values, either a function (callback), or a constant.
 
- Protected Attributes inherited from Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >
Scalar value_const
 Special case of a constant function.
 
double current_time
 Current time.
 
Hermes::vector< std::string > markers
 Markers.
 

Detailed Description

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

Class representing non-constant essential boundary condition (tangential component for Hcurl approximations).

Definition at line 152 of file essential_boundary_conditions.h.

Member Function Documentation

template<typename Scalar >
Scalar Hermes::Hermes2D::DefaultEssentialBCNonConstHcurl< Scalar >::value ( double  x,
double  y,
double  n_x,
double  n_y,
double  t_x,
double  t_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 116 of file essential_boundary_conditions.cpp.


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