LCOV - code coverage report
Current view: top level - include/transfers - MultiAppShapeEvaluationTransfer.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 1 1 100.0 %
Date: 2025-07-17 01:28:37 Functions: 1 1 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             : #pragma once
      11             : 
      12             : #include "MultiAppConservativeTransfer.h"
      13             : 
      14             : /**
      15             :  * Transfers a vector of variables. The local variable values are computed for each field using
      16             :  * the libmesh mesh_function API, rather than an arbitrary interpolation from values on nearby nodes
      17             :  * The interpolation coefficients are tied to the variable type of the transferred variable.
      18             :  */
      19             : class MultiAppShapeEvaluationTransfer : public MultiAppConservativeTransfer
      20             : {
      21             : public:
      22             :   static InputParameters validParams();
      23             : 
      24             :   MultiAppShapeEvaluationTransfer(const InputParameters & parameters);
      25             : 
      26             :   virtual void execute() override;
      27             : 
      28             : protected:
      29             :   /// The number of variables to transfer
      30             :   unsigned int _var_size;
      31             :   /// Whether to error if the target point is not found in the source domain
      32             :   bool _error_on_miss;
      33             : 
      34             : private:
      35             :   /**
      36             :    * Performs the transfer for the variable of index i
      37             :    * @param i index in the vector of variables to transfer
      38             :    */
      39             :   void transferVariable(unsigned int i);
      40             : 
      41          96 :   bool usesMooseAppCoordTransform() const override { return true; }
      42             : };

Generated by: LCOV version 1.14