v0.16.3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MoFEM::CouplerInterface::Transfer Struct Reference

Source selection, search backend and routing state shared by location batches. More...

Collaboration diagram for MoFEM::CouplerInterface::Transfer:
[legend]

Public Member Functions

 ~Transfer ()
 Release local backend resources; collective closure uses destroyTransfer.
 

Public Attributes

const Core * core = nullptr
 
Selection source
 
Options options
 
Range ownedElements
 
Range vertices
 
unsigned long long generation = 0
 
bool closed = true
 
double distance = 0
 

Detailed Description

Source selection, search backend and routing state shared by location batches.

Definition at line 29 of file CouplerInterface.cpp.

Constructor & Destructor Documentation

◆ ~Transfer()

MoFEM::CouplerInterface::Transfer::~Transfer ( )
inline

Release local backend resources; collective closure uses destroyTransfer.

Definition at line 59 of file CouplerInterface.cpp.

59 {
60 if (!closed)
61 MOFEM_LOG("SELF", Sev::warning)
62 << "CouplerInterface: transfer left unclosed; call destroyTransfer "
63 "before destroying the Core";
64#ifdef WITH_MBCOUPLER
65 backend.reset();
66 backendComm.reset();
67 if (part)
68 database->delete_entities(&part, 1);
69#endif
70 }
#define MOFEM_LOG(channel, severity)
Log.

Member Data Documentation

◆ closed

bool MoFEM::CouplerInterface::Transfer::closed = true

Definition at line 36 of file CouplerInterface.cpp.

◆ core

const Core* MoFEM::CouplerInterface::Transfer::core = nullptr

Definition at line 30 of file CouplerInterface.cpp.

◆ distance

double MoFEM::CouplerInterface::Transfer::distance = 0

Definition at line 37 of file CouplerInterface.cpp.

◆ generation

unsigned long long MoFEM::CouplerInterface::Transfer::generation = 0

Definition at line 35 of file CouplerInterface.cpp.

◆ options

Options MoFEM::CouplerInterface::Transfer::options

Definition at line 32 of file CouplerInterface.cpp.

◆ ownedElements

Range MoFEM::CouplerInterface::Transfer::ownedElements

Definition at line 33 of file CouplerInterface.cpp.

◆ source

Selection MoFEM::CouplerInterface::Transfer::source

Definition at line 31 of file CouplerInterface.cpp.

◆ vertices

Range MoFEM::CouplerInterface::Transfer::vertices

Definition at line 33 of file CouplerInterface.cpp.


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