LCOV - code coverage report
Current view: top level - include/relationshipmanagers - ProxyRelationshipManager.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 "RelationshipManager.h"
      13             : #include "libmesh/ghosting_functor.h"
      14             : 
      15             : class MooseMesh;
      16             : namespace libMesh
      17             : {
      18             : class System;
      19             : }
      20             : 
      21             : /**
      22             :  * Intermediate base class for RelationshipManagers that are simply built
      23             :  * using ghosting functors.  The functor should be built in internalInitWithMesh()
      24             :  * and set as _functor
      25             :  */
      26             : class ProxyRelationshipManager : public RelationshipManager
      27             : {
      28             : public:
      29             :   static InputParameters validParams();
      30             : 
      31             :   ProxyRelationshipManager(const InputParameters & parameters);
      32             : 
      33             :   ProxyRelationshipManager(const ProxyRelationshipManager & other);
      34             : 
      35             :   virtual void operator()(const MeshBase::const_element_iterator & /*range_begin*/,
      36             :                           const MeshBase::const_element_iterator & /*range_end*/,
      37             :                           processor_id_type p,
      38             :                           map_type & coupled_elements) override;
      39             : 
      40             :   virtual std::string getInfo() const override;
      41             : 
      42             :   virtual bool operator>=(const RelationshipManager & /*rhs*/) const override;
      43             : 
      44             :   /**
      45             :    * A clone() is needed because GhostingFunctor can not be shared between
      46             :    * different meshes. The operations in  GhostingFunctor are mesh dependent.
      47             :    */
      48             :   virtual std::unique_ptr<GhostingFunctor> clone() const override;
      49             : 
      50             : protected:
      51       16504 :   virtual void internalInitWithMesh(const MeshBase &) override{};
      52             : 
      53             :   libMesh::System * _other_system;
      54             : };

Generated by: LCOV version 1.14