SpECTRE  v2021.12.06
dg::SimpleMortarData< TemporalId, LocalVars, RemoteVars > Class Template Reference

Storage of boundary data on two sides of a mortar. More...

#include <SimpleMortarData.hpp>

Public Member Functions

 SimpleMortarData (const SimpleMortarData &)=default
 
 SimpleMortarData (SimpleMortarData &&)=default
 
SimpleMortarDataoperator= (const SimpleMortarData &)=default
 
SimpleMortarDataoperator= (SimpleMortarData &&)=default
 
 SimpleMortarData (const size_t)
 The argument is ignored. It exists for compatibility with BoundaryHistory.
 
std::pair< LocalVars, RemoteVars > extract ()
 Return the inserted data and reset the state to empty.
 
void pup (PUP::er &p)
 
const LocalVars & local_data (const TemporalId &temporal_id) const
 Retrieve the local data at temporal_id
 
const RemoteVars & remote_data (const TemporalId &temporal_id) const
 Retrieve the remote data at temporal_id
 
size_t integration_order () const
 These functions do nothing. They exist for compatibility with BoundaryHistory.
 
void integration_order (const size_t)
 These functions do nothing. They exist for compatibility with BoundaryHistory.
 
void local_insert (TemporalId temporal_id, LocalVars vars)
 Add a value. This function must be called once between calls to extract.
 
void remote_insert (TemporalId temporal_id, RemoteVars vars)
 Add a value. This function must be called once between calls to extract.
 

Detailed Description

template<typename TemporalId, typename LocalVars, typename RemoteVars>
class dg::SimpleMortarData< TemporalId, LocalVars, RemoteVars >

Storage of boundary data on two sides of a mortar.

Typically, values are inserted into this container by the flux communication actions.


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