www.mooseframework.org
IndicatorMarker.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 #include "IndicatorMarker.h"
11 
14 {
16  params.addRequiredParam<IndicatorName>("indicator",
17  "The name of the Indicator that this Marker uses.");
18  return params;
19 }
20 
22  : Marker(parameters), _error_vector(getErrorVector(parameters.get<IndicatorName>("indicator")))
23 {
24 }
IndicatorMarker(const InputParameters &parameters)
static InputParameters validParams()
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
Definition: MooseUtils.h:1147
Definition: Marker.h:35
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...
static InputParameters validParams()
Definition: Marker.C:19