https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FunctorTimes.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// Moose includes
13#include "Times.h"
14#include "FunctorInterface.h"
15
20{
21public:
24 virtual ~FunctorTimes() = default;
25
26protected:
27 virtual void initialize() override;
28
29private:
34};
Times created by evaluating a functor.
const Moose::Functor< Real > & _functor
Functor to evaluate the time to append to the Times vector.
virtual void initialize() override
In charge of computing / loading the times, unless all that could be done there is done in the constr...
static InputParameters validParams()
const Moose::Functor< Real > & _factor
Factor to multiply the functor with.
virtual ~FunctorTimes()=default
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
An interface for accessing Moose::Functors for systems that do not care about automatic differentiati...
Times objects are under the hood Reporters, but limited to a vector of Real.
Definition Times.h:19