https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DiffusionCG.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
13
19{
20public:
22
24
25private:
26 virtual void addSolverVariables() override;
27 virtual void addFEKernels() override;
28 virtual void addFEBCs() override;
29
30 virtual void addBoundaryConditionsFromComponents() override;
31
33 const bool _use_ad;
34};
Creates all the objects needed to solve a diffusion equation with a continuous Galerkin finite elemen...
Definition DiffusionCG.h:19
virtual void addFEBCs() override
virtual void addBoundaryConditionsFromComponents() override
static InputParameters validParams()
Definition DiffusionCG.C:20
virtual void addSolverVariables() override
The default implementation of these routines will do nothing as we do not expect all Physics to be de...
const bool _use_ad
Whether to use automatic differentiation or not.
Definition DiffusionCG.h:33
virtual void addFEKernels() override
Definition DiffusionCG.C:43
Base class to host all common parameters and attributes of Physics actions to solve the diffusion equ...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131