https://mooseframework.inl.gov
Loading...
Searching...
No Matches
AddVariableMappingAction.C
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
11#include "Factory.h"
12#include "FEProblem.h"
13#include "VariableMappingBase.h"
14
15registerMooseAction("StochasticToolsApp", AddVariableMappingAction, "add_variable_mapping");
16
19{
21 params.addClassDescription("Adds Mapping objects from a VariableMappings block.");
22 return params;
23}
24
29
30void
32{
33 _problem->addObject<VariableMappingBase>(
34 _type, _name, _moose_object_pars, /* threaded = */ false);
35}
registerMooseAction("StochasticToolsApp", AddVariableMappingAction, "add_variable_mapping")
std::shared_ptr< FEProblemBase > & _problem
Action to add Mapping objects from a [VariableMappings] block.
AddVariableMappingAction(const InputParameters &params)
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
const std::string & _name
InputParameters _moose_object_pars
static InputParameters validParams()
std::string _type
This is an abstract base class for objects that provide mapping between a full-order and a latent spa...