Go to the documentation of this file.
20 #ifndef THUNDEREGG_NBRINFOBASE_H
21 #define THUNDEREGG_NBRINFOBASE_H
53 virtual void getNbrIds(std::deque<int>& nbr_ids)
const = 0;
57 virtual void getNbrRanks(std::deque<int>& nbr_ranks)
const = 0;
75 virtual std::unique_ptr<NbrInfoBase>
clone()
const = 0;
Represents information about a patch's neighbor.
Definition: NbrInfoBase.h:39
virtual void setLocalIndexes(const std::map< int, int > &rev_map)=0
Set the global indexes in the NbrInfo objects.
virtual void setGlobalIndexes(const std::map< int, int > &rev_map)=0
Set the local indexes in the NbrInfo objects.
Interface for serializing objects.
Definition: Serializable.h:34
virtual void getNbrRanks(std::deque< int > &nbr_ranks) const =0
Add to a deque of neighbor ranks.
virtual ~NbrInfoBase()=default
Destroy the NbrInfo object.
virtual NbrType getNbrType() const =0
Get the NbrType.
NbrType
The type of neighbor.
Definition: NbrType.h:34
virtual std::unique_ptr< NbrInfoBase > clone() const =0
get a clone of this object (equivalent to copy constructor)
The ThunderEgg namespace.
Definition: BiLinearGhostFiller.h:31
virtual void getNbrIds(std::deque< int > &nbr_ids) const =0
Add to a deque of neighbor ids.