ThumbIC creates a rectangle with a half circle on top.
More...
#include <ThumbIC.h>
|
| ThumbIC (const InputParameters ¶meters) |
|
virtual Real | value (const Point &p) |
|
ThumbIC creates a rectangle with a half circle on top.
Definition at line 23 of file ThumbIC.h.
◆ ThumbIC()
ThumbIC::ThumbIC |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 28 of file ThumbIC.C.
29 : InitialCondition(parameters),
30 _xcoord(parameters.get<Real>(
"xcoord")),
31 _width(parameters.get<Real>(
"width")),
32 _height(parameters.get<Real>(
"height")),
33 _invalue(parameters.get<Real>(
"invalue")),
34 _outvalue(parameters.get<Real>(
"outvalue"))
◆ value()
Real ThumbIC::value |
( |
const Point & |
p | ) |
|
|
virtual |
Definition at line 39 of file ThumbIC.C.
47 for (
unsigned int i = 0; i < 2; ++i)
48 rad += (p(i) - center(i)) * (p(i) - center(i));
◆ _height
const Real ThumbIC::_height |
|
protected |
◆ _invalue
const Real ThumbIC::_invalue |
|
protected |
◆ _outvalue
const Real ThumbIC::_outvalue |
|
protected |
◆ _width
const Real ThumbIC::_width |
|
protected |
◆ _xcoord
const Real ThumbIC::_xcoord |
|
protected |
The documentation for this class was generated from the following files: