forked from idaholab/stork
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDwarfElephantRBLiftingFunctionKernel.h
49 lines (38 loc) · 1.59 KB
/
DwarfElephantRBLiftingFunctionKernel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
* This Kernel is implements the concept of the lifting function to avoid
* problems caused by non-homogenous DirichletBC.
*/
///-------------------------------------------------------------------------
#ifndef DWARFELEPHANTRBLIFTINGFUNCTIONKERNEL_H
#define DWARFELEPHANTRBLIFTINGFUNCTIONKERNEL_H
///---------------------------------INCLUDES--------------------------------
// MOOSE includes
#include "DwarfElephantRBKernel.h"
#include "Function.h"
///-------------------------------------------------------------------------
// Forward Declarations
class DwarfElephantRBLiftingFunctionKernel;
///----------------------------INPUT PARAMETERS-----------------------------
template<>
InputParameters validParams<DwarfElephantRBLiftingFunctionKernel>();
///This Kernel is implements the concept of the lifting function to avoid problems caused by non-homogenous DirichletBC.
class DwarfElephantRBLiftingFunctionKernel : public DwarfElephantRBKernel
{
//----------------------------------PUBLIC----------------------------------
public:
DwarfElephantRBLiftingFunctionKernel(const InputParameters & parameters);
//--------------------------------PROTECTED---------------------------------
protected:
/* Methods */
virtual Real computeQpResidual() override;
virtual Real computeQpJacobian() override;
/* Attributes */
const Function * _lifting_function;
bool _transient;
Real _density;
Real _specific_heat;
Real _norm_value_density;
Real _norm_value_specific_heat;
};
///-------------------------------------------------------------------------
#endif // DWARFELEPHANTRBLIFTINGFUNCTIONKERNEL_H