Transfers mutable coefficient arrays between supported object types. More...
#include <MultiAppFXTransfer.h>
Public Member Functions | |
MultiAppFXTransfer (const InputParameters ¶meters) | |
virtual void | execute () override |
virtual void | initialSetup () override |
Protected Member Functions | |
virtual GetProblemObject | scanProblemBaseForObject (FEProblemBase &base, const std::string &object_name, const std::string &app_name) |
Searches an FEProblemBase for a MutableCoefficientsInterface-based object and returns a function pointer to the matched function type. More... | |
Protected Attributes | |
const std::string | _this_app_object_name |
Name of the MutableCoefficientsInterface-derived object in the creating app. More... | |
const std::string | _multi_app_object_name |
Name of the MutableCoefficientsInterface-derived object in the MultiApp. More... | |
GetProblemObject | getMultiAppObject |
Function pointer for grabbing the MultiApp object. More... | |
GetProblemObject | getSubAppObject |
Function pointer for grabbing the SubApp object. More... | |
Private Types | |
typedef MutableCoefficientsInterface &(MultiAppFXTransfer::* | GetProblemObject) (FEProblemBase &base, const std::string &object_name, THREAD_ID thread) |
Function pointer typedef for functions used to find, convert, and return the appropriate MutableCoefficientsInterface object from an FEProblemBase. More... | |
Private Member Functions | |
MutableCoefficientsInterface & | getMutableCoefficientsFunction (FEProblemBase &base, const std::string &object_name, THREAD_ID thread) |
Gets a MutableCoefficientsInterface-based Function, intented for use via function pointer. More... | |
MutableCoefficientsInterface & | getMutableCoefficientsUserOject (FEProblemBase &base, const std::string &object_name, THREAD_ID thread) |
Gets a MutableCoefficientsInterface-based UserObject, intended for use via function pointer. More... | |
Transfers mutable coefficient arrays between supported object types.
Definition at line 24 of file MultiAppFXTransfer.h.
|
private |
Function pointer typedef for functions used to find, convert, and return the appropriate MutableCoefficientsInterface object from an FEProblemBase.
Definition at line 59 of file MultiAppFXTransfer.h.
MultiAppFXTransfer::MultiAppFXTransfer | ( | const InputParameters & | parameters | ) |
Definition at line 40 of file MultiAppFXTransfer.C.
|
overridevirtual |
Definition at line 157 of file MultiAppFXTransfer.C.
|
private |
Gets a MutableCoefficientsInterface-based Function, intented for use via function pointer.
Definition at line 139 of file MultiAppFXTransfer.C.
Referenced by scanProblemBaseForObject().
|
private |
Gets a MutableCoefficientsInterface-based UserObject, intended for use via function pointer.
Definition at line 147 of file MultiAppFXTransfer.C.
Referenced by scanProblemBaseForObject().
|
overridevirtual |
Definition at line 52 of file MultiAppFXTransfer.C.
|
protectedvirtual |
Searches an FEProblemBase for a MutableCoefficientsInterface-based object and returns a function pointer to the matched function type.
Definition at line 82 of file MultiAppFXTransfer.C.
Referenced by initialSetup().
|
protected |
Name of the MutableCoefficientsInterface-derived object in the MultiApp.
Definition at line 38 of file MultiAppFXTransfer.h.
Referenced by execute(), and initialSetup().
|
protected |
Name of the MutableCoefficientsInterface-derived object in the creating app.
Definition at line 35 of file MultiAppFXTransfer.h.
Referenced by execute(), and initialSetup().
|
protected |
Function pointer for grabbing the MultiApp object.
Definition at line 72 of file MultiAppFXTransfer.h.
Referenced by execute(), and initialSetup().
|
protected |
Function pointer for grabbing the SubApp object.
Definition at line 75 of file MultiAppFXTransfer.h.
Referenced by execute(), and initialSetup().