https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
15#include "MFEMProblem.h"
16
23{
24public:
27
28protected:
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
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Virtual base class for MultiApp transfers to and/or from MFEMProblems.
Transfer to copy MFEMVariables between multiapps.
virtual MFEMProblem & getActiveToProblem() override
Set current MFEM problem to fetch destination variables from.
virtual void transferVariables(bool is_target_local) override
Transfer all variables from active source problem to active destination problem.
void checkSiblingsTransferSupported() const override
Check number of source and target child apps match for sibling transfer.
static InputParameters validParams()
virtual MFEMProblem & getActiveFromProblem() override
Set current MFEM problem to fetch source variables from.