MultiAppProjectionTransfer.C File Reference

Go to the source code of this file.


void assemble_l2 (EquationSystems &es, const std::string &system_name)
InputParameters validParams< MultiAppProjectionTransfer > ()

Function Documentation

void assemble_l2 ( EquationSystems &  es,
const std::string &  system_name 

Definition at line 35 of file MultiAppProjectionTransfer.C.

36 {
37  MultiAppProjectionTransfer * transfer =
38  es.parameters.get<MultiAppProjectionTransfer *>("transfer");
39  transfer->assembleL2(es, system_name);
40 }
void assembleL2(EquationSystems &es, const std::string &system_name)
Project values from one domain to another.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53

Definition at line 44 of file MultiAppProjectionTransfer.C.

45 {
47  params.addRequiredParam<AuxVariableName>(
48  "variable", "The auxiliary variable to store the transferred values in.");
49  params.addRequiredParam<VariableName>("source_variable", "The variable to transfer from.");
51  MooseEnum proj_type("l2", "l2");
52  params.addParam<MooseEnum>("proj_type", proj_type, "The type of the projection.");
54  params.addParam<bool>("fixed_meshes",
55  false,
56  "Set to true when the meshes are not changing (ie, "
57  "no movement or adaptivity). This will cache some "
58  "information to speed up the transfer.");
60  return params;
61 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
InputParameters validParams< MultiAppTransfer >()
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...