
Public Member Functions | |
| CutOffFunctionBase (const double radius=1., const Point< dim >=Point< dim >(), const unsigned int n_components=1, const unsigned int select=CutOffFunctionBase< dim >::no_component) | |
| void | new_center (const Point< dim > &p) |
| void | new_radius (const double r) |
Static Public Attributes | |
| static const unsigned int | no_component = numbers::invalid_unsigned_int |
Protected Attributes | |
| Point< dim > | center |
| double | radius |
| const unsigned int | selected |
Base function for cut-off function. This class stores the center and the radius of the supporting ball of a cut-off function. It also stores the number of the non-zero component, if the function is vector-valued.
Definition at line 885 of file function_lib.h.
| Functions::CutOffFunctionBase< dim >::CutOffFunctionBase | ( | const double | radius = 1., |
| const Point< dim > | = Point< dim >(), |
||
| const unsigned int | n_components = 1, |
||
| const unsigned int | select = CutOffFunctionBase< dim >::no_component |
||
| ) |
Constructor. Arguments are the center of the ball and its radius.
If an argument select is given and not -1, the cut-off function will be non-zero for this component only.
| void Functions::CutOffFunctionBase< dim >::new_center | ( | const Point< dim > & | p ) |
Move the center of the ball to new point p.
| void Functions::CutOffFunctionBase< dim >::new_radius | ( | const double | r ) |
Set the radius of the ball to r.
const unsigned int Functions::CutOffFunctionBase< dim >::no_component = numbers::invalid_unsigned_int [static] |
Value used in the constructor of this and derived classes to denote that no component is selected.
Definition at line 895 of file function_lib.h.
Point<dim> Functions::CutOffFunctionBase< dim >::center [protected] |
Center of the integration ball.
Definition at line 928 of file function_lib.h.
double Functions::CutOffFunctionBase< dim >::radius [protected] |
Radius of the ball.
Definition at line 933 of file function_lib.h.
const unsigned int Functions::CutOffFunctionBase< dim >::selected [protected] |
Component selected. If no_component, the function is the same in all components.
Definition at line 940 of file function_lib.h.
documentation generated on Fri Feb 3 2012 06:04:14 by
doxygen
1.7.2