#include <DiracDelta.h>
Public Methods | |
| DiracDelta () | |
| ~DiracDelta () | |
| void | scan (MenuSystem &menu, GridFE &grid, const int delta_number=1) |
| void | init (GridFE &grid) |
| int | getElm (int i) const |
| Ptv(real) | getLocalPt (int i) const |
| Ptv(real) | getGlobalPt (int i) const |
| real | getMagnitude (int i) const |
| int | getNoEntries () const |
| void | getGlobalPts (VecSimple(Ptv(real)) &pts) |
| void | setPoint (int i, const Ptv(real) &new_point, GridFE &grid) |
| bool | deltaInElm (int e) const |
| void | add2ElmMatVec (ElmMatVec &elmat, FiniteElement &fe) |
| void | turnON () |
| void | turnOFF () |
| bool | turnedON () |
| void | print (Os os) const |
| bool | ok () const |
Static Public Methods | |
| void | defineStatic (MenuSystem &menu, int level=MAIN, const int delta_number=1) |
Protected Attributes | |
| VecSimplest(SingleDiracDelta) | delta_array |
| bool | active |
NAME: DiracDelta - array of Dirac delta functions for finite element methods
DESCRIPTION:
Class "DiracDelta" contains a user specified collection of Dirac delta functions for use in finite element programming. (The class contains an array of "SingleDiracDelta" function objects and functionality for the delta function is placed in "SingleDiracDelta".)
|
|
The constructor takes no arguments. Initialization is performed by the "scan" function. |
|
|
|
|
|
modifies the right hand side of an "ElmMatVec" object according to the action of a series of delta functions. |
|
|
|
|
|
|
|
|
returns the element number where delta function number "i" acts. |
|
|
returns the global (physical) coordinates of the point where delta function number i" acts. |
|
|
|
|
|
returns the local element coordinates of the point where delta function number "i" acts. |
|
|
returns the magnitude of delta function number "i". Notice that the standard delta function is multiplied by this magnitude, and this product represents the delta function in class "DiracDelta". |
|
|
returns the number of delta functions handled by this class object. |
|
|
|
|
|
|
|
|
dumps the contents of the delta functions. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|