https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FunctionSeriesToAux.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
10#include "FunctionSeries.h"
11#include "FunctionSeriesToAux.h"
12
13registerMooseObject("FunctionalExpansionToolsApp", FunctionSeriesToAux);
14
17{
19
20 params.addClassDescription("AuxKernel to convert a functional expansion"
21 " (Functions object, type = FunctionSeries) to an AuxVariable");
22
23 // Force this AuxKernel to execute at "timestep_begin"
24 params.set<ExecFlagEnum>("execute_on", true) = EXEC_TIMESTEP_BEGIN;
25 // Don't let the user change the execution time
26 params.suppressParameter<ExecFlagEnum>("execute_on");
27
28 return params;
29}
30
registerMooseObject("FunctionalExpansionToolsApp", FunctionSeriesToAux)
const ExecFlagType EXEC_TIMESTEP_BEGIN
static InputParameters validParams()
const Function & _func
Specialization of FunctionAux that is designed to work specifically with FXs, namely that it is alway...
static InputParameters validParams()
FunctionSeriesToAux(const InputParameters &parameters)
static FunctionSeries & checkAndConvertFunction(const Function &function, const std::string &typeName, const std::string &objectName)
Static function to cast a Function to SeriesFunction.
void suppressParameter(const std::string &name)
void addClassDescription(const std::string &doc_string)
T & set(const std::string &name, bool quiet_mode=false)
const std::string & getBase() const
const std::string & name() const