https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MappingInterface.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#pragma once
11
12#include "InputParameters.h"
13#include "FEProblemBase.h"
14#include "VariableMappingBase.h"
15
20{
21public:
23
25 MappingInterface(const MooseObject * moose_object);
26
31 VariableMappingBase & getMapping(const std::string & name) const;
32
37 VariableMappingBase & getMappingByName(const UserObjectName & name) const;
38
39private:
42
45};
const std::string name
Definition Setup.h:21
An interface class that helps getting access to Mapping objects.
static InputParameters validParams()
VariableMappingBase & getMapping(const std::string &name) const
Get the mapping using the parameters of the moose object.
VariableMappingBase & getMappingByName(const UserObjectName &name) const
Get the mapping by supplying the name of the object in the warehouse.
FEProblemBase & _smi_feproblem
Reference to FEProblemBase instance.
const InputParameters & _smi_params
Parameters of the object with this interface.
This is an abstract base class for objects that provide mapping between a full-order and a latent spa...