|
Hermes2D
3.0
|
#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. | |
Base, abstract class representing Essential boundary condition of the form u|_{} = u_Essential. Internal.
Definition at line 42 of file essential_boundary_conditions.h.
|
pure 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). |
Implemented in Hermes::Hermes2D::DefaultEssentialBCNonConst< Scalar >, and Hermes::Hermes2D::DefaultEssentialBCConst< Scalar >.