www.mooseframework.org
ACMultiInterface.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 ACMULTIINTERFACE_H
8 #define ACMULTIINTERFACE_H
9 
10 #include "Kernel.h"
11 
12 // Forward Declarations
13 class ACMultiInterface;
14 
15 template <>
16 InputParameters validParams<ACMultiInterface>();
17 
27 class ACMultiInterface : public Kernel
28 {
29 public:
30  ACMultiInterface(const InputParameters & parameters);
31 
32 protected:
33  virtual Real computeQpResidual();
34  virtual Real computeQpJacobian();
35  virtual Real computeQpOffDiagJacobian(unsigned int);
36 
38  unsigned int _num_etas;
39  std::vector<const VariableValue *> _eta;
40  std::vector<const VariableGradient *> _grad_eta;
41 
43  std::vector<int> _eta_vars;
44 
46  unsigned int _a;
47 
49  std::vector<MaterialPropertyName> _kappa_names;
50  std::vector<const MaterialProperty<Real> *> _kappa;
51 
53  const MaterialProperty<Real> & _L;
54 };
55 
56 #endif // ACMULTIINTERFACE_H
unsigned int _a
Index of the eta this kernel is operating on.
ACMultiInterface(const InputParameters &parameters)
std::vector< int > _eta_vars
Lookup table from couple variable number into the etas vector.
unsigned int _num_etas
Order parameters.
virtual Real computeQpResidual()
InputParameters validParams< ACMultiInterface >()
std::vector< const MaterialProperty< Real > * > _kappa
std::vector< const VariableValue * > _eta
virtual Real computeQpOffDiagJacobian(unsigned int)
Compute the gradient interface terms for a multiphase system.
const MaterialProperty< Real > & _L
Mobility.
virtual Real computeQpJacobian()
std::vector< const VariableGradient * > _grad_eta
std::vector< MaterialPropertyName > _kappa_names
Interface gradient prefactor.