NSF Postdoctoral Research
A set of C++ code developed by Andrew E. Slaughter
SlaughterFEM::HeatEqBoundaryDirichlet Class Reference

A class for dirichlet boundary conditions. More...

#include <fem/heat_eq/heat_eq_boundary.h>

Inheritance diagram for SlaughterFEM::HeatEqBoundaryDirichlet:
Collaboration diagram for SlaughterFEM::HeatEqBoundaryDirichlet:

List of all members.

Public Member Functions

 HeatEqBoundaryDirichlet ()
 Class constructor.
virtual Real T (const Point &p, const Real t)
 A virtual function for returning the temperature.

Public Attributes

Number T_constant
 A constant temperature value, used in default operation.

Protected Member Functions

void value (DenseVector< Number > &output, const Point &p, const Real t)
 Computes and returns the boundary temperature.

Detailed Description

A class for dirichlet boundary conditions.

Examples:
fem/examples/example1.cpp, and fem/examples/example2.cpp.

Constructor & Destructor Documentation

Class constructor.

Creates a dirichlet boundary conditions class, the constructor specifies the type as "dirichlet."


Member Function Documentation

Number HeatEqBoundaryDirichlet::T ( const Point &  p,
const Real  t 
) [virtual]

A virtual function for returning the temperature.

By default this function returns a constant value defined in the T_constant attribute. If constant temperature is to be used then only T_constant must be changed (zero by default). To create a non-constant flux a derived class should be created that inherts this class. This T() function should then be defined in this new class to return the desired temperature value.

Reimplemented from SlaughterFEM::HeatEqBoundaryBase.

void SlaughterFEM::HeatEqBoundaryDirichlet::value ( DenseVector< Number > &  output,
const Point &  p,
const Real  t 
) [inline, protected, virtual]

Computes and returns the boundary temperature.

This returns the temperature value that is computed by the T function that may be customized. This member is used by the HeatEq class thus is protected.

Parameters:
outputA reference to the vector that stores the stores the computed flux
pA libMesh point
tThe time
See also:
T

Implements SlaughterFEM::EqBoundaryBase.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs