LCOV - code coverage report
Current view: top level - src/mfem/vectorpostprocessors - MFEMPointVariableValueSampler.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 329044 Lines: 8 9 88.9 %
Date: 2026-08-03 21:12:22 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 "MFEMPointVariableValueSampler.h"
      13             : 
      14             : registerMooseObject("MooseApp", MFEMPointVariableValueSampler);
      15             : registerMooseObjectRenamed("MooseApp",
      16             :                            MFEMPointValueSampler,
      17             :                            "06/30/2027 24:00",
      18             :                            MFEMPointVariableValueSampler);
      19             : 
      20             : InputParameters
      21        4506 : MFEMPointVariableValueSampler::validParams()
      22             : {
      23        4506 :   InputParameters params = MFEMVariableValueSamplerBase::validParams();
      24             : 
      25        9012 :   params.addClassDescription("Sample an MFEM variable at specific points.");
      26       13518 :   params.addRequiredParam<std::vector<Point>>(
      27             :       "points", "The points where you want to evaluate the variables");
      28             : 
      29        4506 :   return params;
      30           0 : }
      31             : 
      32         123 : MFEMPointVariableValueSampler::MFEMPointVariableValueSampler(const InputParameters & parameters)
      33         123 :   : MFEMVariableValueSamplerBase(parameters, parameters.get<std::vector<Point>>("points"))
      34             : {
      35         123 : }
      36             : 
      37             : #endif // MOOSE_MFEM_ENABLED

Generated by: LCOV version 1.14