www.mooseframework.org
ThumbIC.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef THUMBIC_H
8 #define THUMBIC_H
9 
10 #include "InitialCondition.h"
11 
12 // Forward Declarations
13 class ThumbIC;
14 
15 template <>
16 InputParameters validParams<ThumbIC>();
17 
21 class ThumbIC : public InitialCondition
22 {
23 public:
24  ThumbIC(const InputParameters & parameters);
25 
26  virtual Real value(const Point & p);
27 
28 protected:
29  const Real _xcoord;
30  const Real _width;
31  const Real _height;
32  const Real _invalue;
33  const Real _outvalue;
34 };
35 
36 #endif // THUMBIC_H
InputParameters validParams< ThumbIC >()
Definition: ThumbIC.C:11
const Real _height
Definition: ThumbIC.h:31
const Real _invalue
Definition: ThumbIC.h:32
virtual Real value(const Point &p)
Definition: ThumbIC.C:34
const Real _width
Definition: ThumbIC.h:30
const Real _outvalue
Definition: ThumbIC.h:33
const Real _xcoord
Definition: ThumbIC.h:29
ThumbIC creates a rectangle with a half circle on top.
Definition: ThumbIC.h:21
ThumbIC(const InputParameters &parameters)
Definition: ThumbIC.C:23