https://mooseframework.inl.gov
ACMultiInterface.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Kernel.h"
13 
14 // Forward Declarations
15 
25 class ACMultiInterface : public Kernel
26 {
27 public:
29 
31 
32 protected:
33  virtual Real computeQpResidual();
34  virtual Real computeQpJacobian();
35  virtual Real computeQpOffDiagJacobian(unsigned int);
36 
38  const unsigned int _num_etas;
39  const std::vector<const VariableValue *> _eta;
40  const 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 
54 };
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.
virtual Real computeQpResidual()
std::vector< const MaterialProperty< Real > * > _kappa
virtual Real computeQpOffDiagJacobian(unsigned int)
const std::vector< const VariableGradient * > _grad_eta
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Compute the gradient interface terms for a multiphase system.
static InputParameters validParams()
const std::vector< const VariableValue * > _eta
const MaterialProperty< Real > & _L
Mobility.
const InputParameters & parameters() const
virtual Real computeQpJacobian()
const unsigned int _num_etas
Order parameters.
std::vector< MaterialPropertyName > _kappa_names
Interface gradient prefactor.