https://mooseframework.inl.gov
MFEMVariableSamplerBase.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 #ifdef MOOSE_MFEM_ENABLED
11 
12 #pragma once
13 
14 #include "MFEMSamplerBase.h"
15 
24 {
25 public:
27 
29  void initialSetup() override;
30 
31 protected:
32  MFEMVariableSamplerBase(const InputParameters & parameters, const std::vector<Point> & points);
33 
35  const VariableName _var_name;
36 
37 private:
39  virtual int getFESpaceContinuityType() const = 0;
40 };
41 
42 #endif // MOOSE_MFEM_ENABLED
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void initialSetup() override
Checks point locations and warns when sampled components may be discontinuous at boundaries.
Base class for sampling real or complex MFEM variables at points.
Abstract base class for sampling MFEM quantities at points.
virtual int getFESpaceContinuityType() const =0
Return the continuity type of the sampled variable&#39;s finite element collection.
static InputParameters validParams()
MFEMVariableSamplerBase(const InputParameters &parameters, const std::vector< Point > &points)
const VariableName _var_name
Name of the variable being sampled.