LCOV - code coverage report
Current view: top level - src/mfem/vectorpostprocessors - MFEMPointValueSampler.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 8 9 88.9 %
Date: 2026-05-29 20:35:17 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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

Generated by: LCOV version 1.14