Hermes2D
2.0
|
Class representing constant essential boundary condition. More...
#include <essential_boundary_conditions.h>
Public Member Functions | |
DefaultEssentialBCConst (Hermes::vector< std::string > markers, Scalar value_const) | |
Constructors. | |
DefaultEssentialBCConst (std::string marker, Scalar value_const) | |
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 constant. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
enum | EssentialBCValueType { BC_FUNCTION, BC_CONST } |
Types of description of boundary values, either a function (callback), or a constant. | |
![]() | |
Scalar | value_const |
Special case of a constant function. | |
double | current_time |
Current time. | |
Hermes::vector< std::string > | markers |
Markers. | |
Class representing constant essential boundary condition.
Definition at line 91 of file essential_boundary_conditions.h.
|
virtual |
Represents a function prescribed on the boundary. Gets the boundary point coordinate as well as the normal and tangential vectors.
[in] | x | x-coordinate of the point where the value is evaluated. |
[in] | y | y-coordinate of the point where the value is evaluated. |
[in] | n_x | the x-component of the unit outer normal. |
[in] | n_y | the y-component of the unit outer normal. |
[in] | t_x | the x-component of the tangent(perpendicular to normal). |
[in] | t_y | the y-component of the tangent(perpendicular to normal). |
Implements Hermes::Hermes2D::EssentialBoundaryCondition< Scalar >.
Definition at line 72 of file essential_boundary_conditions.cpp.