https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
26{
27public:
29
31
32protected:
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};
Compute the gradient interface terms for a multiphase system.
std::vector< MaterialPropertyName > _kappa_names
Interface gradient prefactor.
static InputParameters validParams()
virtual Real computeQpResidual()
std::vector< const MaterialProperty< Real > * > _kappa
std::vector< int > _eta_vars
Lookup table from couple variable number into the etas vector.
const MaterialProperty< Real > & _L
Mobility.
virtual Real computeQpOffDiagJacobian(unsigned int)
const unsigned int _num_etas
Order parameters.
unsigned int _a
Index of the eta this kernel is operating on.
const std::vector< const VariableGradient * > _grad_eta
virtual Real computeQpJacobian()
const std::vector< const VariableValue * > _eta
const InputParameters & parameters() const