Line data Source code
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 : #include "MFEMPointValueSampler.h" 13 : 14 : registerMooseObject("MooseApp", MFEMPointValueSampler); 15 : 16 : InputParameters 17 2162 : MFEMPointValueSampler::validParams() 18 : { 19 2162 : InputParameters params = MFEMValueSamplerBase::validParams(); 20 : 21 4324 : params.addClassDescription("Sample an MFEM variable at specific points."); 22 6486 : params.addRequiredParam<std::vector<Point>>( 23 : "points", "The points where you want to evaluate the variables"); 24 : 25 2162 : return params; 26 0 : } 27 : 28 32 : MFEMPointValueSampler::MFEMPointValueSampler(const InputParameters & parameters) 29 32 : : MFEMValueSamplerBase(parameters, parameters.get<std::vector<Point>>("points")) 30 : { 31 32 : } 32 : 33 : #endif // MOOSE_MFEM_ENABLED