NSF Postdoctoral Research
A set of C++ code developed by Andrew E. Slaughter
|
A base class for heat equation boundary conditions. More...
#include <fem/heat_eq/heat_eq_boundary.h>
Public Member Functions | |
HeatEqBoundaryBase (std::string the_type) | |
The constructor for the base class of heat equation boundaries. | |
virtual Number | T (const Point &p, const Real t) |
A function for returning temperature for dirichlet condition. | |
virtual Number | h (const Point &p, const Real t) |
A function for returning convection term, h. | |
virtual Number | Tinf (const Point &p, const Real t) |
A function for returning convection term, Tinf. | |
virtual Real | q (const Point &p, const Real t) |
A function for returning neumann condition term, q. |
A base class for heat equation boundary conditions.
Provides basic format for defining a boundary conditions for application to the HeatEq class. This class is used to provide uniform access for all types of boundaries that are dervied from the base, as is in the case for the HeatEq class.
HeatEqBoundaryBase::HeatEqBoundaryBase | ( | std::string | the_type | ) |
The constructor for the base class of heat equation boundaries.
the_type | A string that indicates the type of boundary |
Three types are currently supported:
virtual Number SlaughterFEM::HeatEqBoundaryBase::h | ( | const Point & | p, |
const Real | t | ||
) | [inline, virtual] |
A function for returning convection term, h.
p | A libMesh Point |
t | The current time |
Reimplemented in SlaughterFEM::HeatEqBoundaryConvection.
virtual Real SlaughterFEM::HeatEqBoundaryBase::q | ( | const Point & | p, |
const Real | t | ||
) | [inline, virtual] |
A function for returning neumann condition term, q.
p | A libMesh Point |
t | The current time |
Reimplemented in SlaughterFEM::HeatEqBoundaryNeumann.
virtual Number SlaughterFEM::HeatEqBoundaryBase::T | ( | const Point & | p, |
const Real | t | ||
) | [inline, virtual] |
A function for returning temperature for dirichlet condition.
p | A libMesh Point |
t | The current time |
Reimplemented in SlaughterFEM::HeatEqBoundaryDirichlet.
virtual Number SlaughterFEM::HeatEqBoundaryBase::Tinf | ( | const Point & | p, |
const Real | t | ||
) | [inline, virtual] |
A function for returning convection term, Tinf.
p | A libMesh Point |
t | The current time |
Reimplemented in SlaughterFEM::HeatEqBoundaryConvection.