OpenLB 1.7
No Matches
Public Member Functions | List of all members
olb::Communicatable Struct Referenceabstract

#include <communicatable.h>

+ Inheritance diagram for olb::Communicatable:
+ Collaboration diagram for olb::Communicatable:

Public Member Functions

virtual ~Communicatable ()
virtual std::size_t size (ConstSpan< CellID > indices) const =0
virtual std::size_t serialize (ConstSpan< CellID > indices, std::uint8_t *buffer) const =0
 Serialize data at locations indices to buffer
virtual std::size_t deserialize (ConstSpan< CellID > indices, const std::uint8_t *buffer)=0
 Deserialize data at locations indices to buffer

Detailed Description

Definition at line 69 of file communicatable.h.

Constructor & Destructor Documentation

◆ ~Communicatable()

virtual olb::Communicatable::~Communicatable ( )

Definition at line 70 of file communicatable.h.

70{ };

Member Function Documentation

◆ deserialize()

virtual std::size_t olb::Communicatable::deserialize ( ConstSpan< CellID > indices,
const std::uint8_t * buffer )
pure virtual

◆ serialize()

virtual std::size_t olb::Communicatable::serialize ( ConstSpan< CellID > indices,
std::uint8_t * buffer ) const
pure virtual

◆ size()

virtual std::size_t olb::Communicatable::size ( ConstSpan< CellID > indices) const
pure virtual

The documentation for this struct was generated from the following file: