https://mooseframework.inl.gov
MultiAppMFEMShapeEvaluationTransfer.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 "MFEMNodalProjector.h"
15 #include "MFEMMultiAppTransfer.h"
16 #include "MFEMProblem.h"
17 
23 {
24 public:
27 
28 protected:
32  mfem::FindPointsGSLIB _mfem_interpolator;
33 
35  virtual void transferVariables(bool is_target_local) override;
36 
38  virtual MFEMProblem & getActiveFromProblem() override;
40  virtual MFEMProblem & getActiveToProblem() override;
41 };
42 
43 #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.
Auxiliary class to extract locations of nodes in MFEM GridFunctions and project values defined at the...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
MultiApp transfer between MFEM variables, via shape function evaluation.
mfem::FindPointsGSLIB _mfem_interpolator
Object to perform pointwise interpolation of source MFEM GridFunctions.
MFEMNodalProjector _mfem_projector
Object to extract node positions and perform projections on destination MFEM GridFunctions.
MultiAppMFEMShapeEvaluationTransfer(InputParameters const &params)
virtual MFEMProblem & getActiveFromProblem() override
Set current MFEM problem to fetch source variables from.
virtual MFEMProblem & getActiveToProblem() override
Set current MFEM problem to fetch destination variables from.