LCOV - code coverage report
Current view: top level - src/kernels - ProjectionKernel.C (source / functions) Hit Total Coverage
Test: idaholab/salamander: 762d38 Lines: 8 9 88.9 %
Date: 2025-07-22 20:51:44 Functions: 3 3 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of SALAMANDER: Software for Advanced Large-scale Analysis of MAgnetic confinement for Numerical Design, Engineering & Research,
       2             : //* A multiphysics application for modeling plasma facing components
       3             : //* https://github.com/idaholab/salamander
       4             : //* https://mooseframework.inl.gov/salamander
       5             : //*
       6             : //* SALAMANDER is powered by the MOOSE Framework
       7             : //* https://www.mooseframework.inl.gov
       8             : //*
       9             : //* Licensed under LGPL 2.1, please see LICENSE for details
      10             : //* https://www.gnu.org/licenses/lgpl-2.1.html
      11             : //*
      12             : //* Copyright 2025, Battelle Energy Alliance, LLC
      13             : //* ALL RIGHTS RESERVED
      14             : //*
      15             : 
      16             : #include "ProjectionKernel.h"
      17             : 
      18             : registerMooseObject("SalamanderApp", ProjectionKernel);
      19             : 
      20             : InputParameters
      21         360 : ProjectionKernel::validParams()
      22             : {
      23         360 :   InputParameters params = ADKernelValue::validParams();
      24         360 :   params.addClassDescription(
      25             :       "Kernel for projecting discrete particle quantities onto the finite element mesh");
      26         360 :   return params;
      27           0 : }
      28             : 
      29         204 : ProjectionKernel::ProjectionKernel(const InputParameters & parameters) : ADKernelValue(parameters)
      30             : {
      31         204 : }
      32             : 
      33             : ADReal
      34      128640 : ProjectionKernel::precomputeQpResidual()
      35             : {
      36      128640 :   return _u[_qp];
      37             : }

Generated by: LCOV version 1.14