https://mooseframework.inl.gov
MultiAppMFEMCopyTransfer.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 #ifdef MOOSE_MFEM_ENABLED
11 
12 #pragma once
13 
14 #include "MFEMMultiAppTransfer.h"
15 #include "MFEMProblem.h"
16 
23 {
24 public:
27 
28 protected:
30  virtual void transferVariables(bool is_target_local) override;
32  void checkSiblingsTransferSupported() const override;
33 
35  virtual MFEMProblem & getActiveFromProblem() override;
37  virtual MFEMProblem & getActiveToProblem() override;
38 };
39 
40 #endif
Virtual base class for MultiApp transfers to and/or from MFEMProblems.
virtual void transferVariables(bool is_target_local) override
Transfer all variables from active source problem to active destination problem.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual MFEMProblem & getActiveToProblem() override
Set current MFEM problem to fetch destination variables from.
Transfer to copy MFEMVariables between multiapps.
virtual MFEMProblem & getActiveFromProblem() override
Set current MFEM problem to fetch source variables from.
MultiAppMFEMCopyTransfer(InputParameters const &params)
void checkSiblingsTransferSupported() const override
Check number of source and target child apps match for sibling transfer.
static InputParameters validParams()