https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PointVariableSamplerBase.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
20 public MooseVariableInterface<Real>
21{
22public:
24
26
28
29 virtual void initialize();
30 virtual void execute();
31
32 void setPointsVector(const std::vector<Point> & points);
33 void transferPointsVector(std::vector<Point> && points);
34
35protected:
37 unsigned int _qp;
39 std::vector<const MooseArray<Real> *> _var_slns;
40};
Intermediate base class that ties together all the interfaces for getting MooseVariableFEBases with t...
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
Interface for objects that need to get values of MooseVariables.
Base class for sampling objects (variables, functors etc) at points.
Base class for sampling variable(s) at points.
static InputParameters validParams()
void setPointsVector(const std::vector< Point > &points)
virtual void initialize()
Called before execute() is ever called so that data can be cleared.
unsigned int _qp
Current quadrature point.
void transferPointsVector(std::vector< Point > &&points)
std::vector< const MooseArray< Real > * > _var_slns
Variable solutions with inner indexing corresponding to quadrature points.
virtual void execute()
Execute method.