https://mooseframework.inl.gov
MultiAppFieldTransfer.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 "MultiAppTransfer.h"
13 
15 
20 {
21 public:
23 
25 
26  virtual void initialSetup();
27 
28 protected:
30  virtual std::vector<VariableName> getFromVarNames() const = 0;
32  virtual std::vector<AuxVariableName> getToVarNames() const = 0;
33 
37  libMesh::EquationSystems & getEquationSystem(FEProblemBase & problem, bool use_displaced) const;
38 };
virtual void initialSetup()
Method called at the beginning of the simulation for checking integrity or doing one-time setup...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This class provides an interface for common operations on field variables of both FE and FV types wit...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
static InputParameters validParams()
libMesh::EquationSystems & getEquationSystem(FEProblemBase &problem, bool use_displaced) const
Returns the Problem&#39;s equation system, displaced or not Be careful! If you transfer TO a displaced sy...
Intermediary class that allows variable names as inputs.
Base class for all MultiAppTransfer objects.
virtual std::vector< AuxVariableName > getToVarNames() const =0
Virtual function defining variables to transfer to.
const InputParameters & parameters() const
Get the parameters of the object.
virtual std::vector< VariableName > getFromVarNames() const =0
Virtual function defining variables to be transferred.
MultiAppFieldTransfer(const InputParameters &parameters)