https://mooseframework.inl.gov
PositionsFunctorValueSampler.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 "PointSamplerBase.h"
14 #include "NonADFunctorInterface.h"
15 
20 {
21 public:
23 
25 
26  virtual void initialize() override;
27  virtual void execute() override;
28 
29 protected:
31  std::vector<const Moose::Functor<Real> *> _functors;
32 
35 };
An interface for accessing Moose::Functors for systems that do not care about automatic differentiati...
Positions objects are under the hood Reporters.
Definition: Positions.h:20
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Samples one or more functor(s) at points given by a Positions object.
const Positions & _positions
Positions to sample the functors at.
std::vector< const Moose::Functor< Real > * > _functors
Functors to sample.
Base class for sampling objects (variables, functors etc) at points.
virtual void initialize() override
Initialize the datastructures.
const InputParameters & parameters() const
Get the parameters of the object.
virtual void execute() override
Execute method.
PositionsFunctorValueSampler(const InputParameters &parameters)