https://mooseframework.inl.gov
FunctorCoordinatesFunctionAux.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 "AuxKernel.h"
13 #include "MooseFunctor.h"
14 
15 class Function;
16 
21 {
22 public:
24 
30 
31 protected:
32  virtual Real computeValue() override;
33 
35  const Function & _func;
44 
47 
49  const bool _is_fe;
50 };
const Function & _func
Function being used to compute the value of this kernel.
Base class for function objects.
Definition: Function.h:36
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const Moose::Functor< Real > & _t_functor
Functor being used to provide the &#39;t&#39; coordinate.
virtual Real computeValue() override
Compute and return the value of the aux variable.
const Moose::Functor< Real > & _y_functor
Functor being used to provide the &#39;y&#39; coordinate.
const Moose::Functor< Real > & _z_functor
Functor being used to provide the &#39;z&#39; coordinate.
const Moose::Functor< Real > & _x_functor
Functor being used to provide the &#39;x&#39; coordinate.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const bool _is_fe
Whether the target variable is finite element.
FunctorCoordinatesFunctionAux(const InputParameters &parameters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
const InputParameters & parameters() const
Get the parameters of the object.
const Moose::Functor< Real > & _factor
A factor to multiply the output value with for convenience.