LCOV - code coverage report
Current view: top level - include/solution_transfer - meshfunction_solution_transfer.h (source / functions) Hit Total Coverage
Test: libMesh/libmesh: #4229 (6a9aeb) with base 727f46 Lines: 0 1 0.0 %
Date: 2025-08-19 19:27:09 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // The libMesh Finite Element Library.
       2             : // Copyright (C) 2002-2025 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
       3             : 
       4             : // This library is free software; you can redistribute it and/or
       5             : // modify it under the terms of the GNU Lesser General Public
       6             : // License as published by the Free Software Foundation; either
       7             : // version 2.1 of the License, or (at your option) any later version.
       8             : 
       9             : // This library is distributed in the hope that it will be useful,
      10             : // but WITHOUT ANY WARRANTY; without even the implied warranty of
      11             : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      12             : // Lesser General Public License for more details.
      13             : 
      14             : // You should have received a copy of the GNU Lesser General Public
      15             : // License along with this library; if not, write to the Free Software
      16             : // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
      17             : 
      18             : #ifndef MESHFUNCTIONSOLUTIONTRANSFER_H
      19             : #define MESHFUNCTIONSOLUTIONTRANSFER_H
      20             : 
      21             : #include "libmesh/solution_transfer.h"
      22             : 
      23             : #include <string>
      24             : 
      25             : namespace libMesh
      26             : {
      27             : 
      28             : /**
      29             :  * Implementation of a SolutionTransfer object that only works for
      30             :  * transferring the solution using a MeshFunction
      31             :  *
      32             :  * \note A serialization of the "from" solution vector will be
      33             :  * performed!  This can be slow in parallel and take a lot of memory!
      34             :  *
      35             :  * \author Derek Gaston
      36             :  * \date 2013
      37             :  * \brief SolutionTransfer object which uses a MeshFunction.
      38             :  */
      39           0 : class MeshFunctionSolutionTransfer : public SolutionTransfer
      40             : {
      41             : public:
      42             :   MeshFunctionSolutionTransfer(const libMesh::Parallel::Communicator & comm);
      43             :   virtual ~MeshFunctionSolutionTransfer();
      44             : 
      45             :   /**
      46             :    * Transfer the values of a variable to another.
      47             :    */
      48             :   virtual void transfer(const Variable & from_var, const Variable & to_var) override;
      49             : };
      50             : 
      51             : } // namespace libMesh
      52             : 
      53             : #endif

Generated by: LCOV version 1.14