Documentation 6b54b78464
Loading...
Searching...
No Matches
CReorderElements Class Reference

Class, used to reorder the owned elements after the partitioning. More...

#include <CReorderElements.hpp>

Public Member Functions

 CReorderElements (const unsigned long val_GlobalElemID, const unsigned short val_TimeLevel, const bool val_CommSolution, const unsigned short val_VTK_Type, const unsigned short val_nPolySol, const bool val_JacConstant)
 Constructor of the class, set the member variables to the arguments.
 
 CReorderElements ()=delete
 Default constructor of the class. Disabled.
 
bool operator< (const CReorderElements &other) const
 Less than operator of the class. Needed for the sorting.
 
bool GetCommSolution () const
 Function to make available the variable commSolution.
 
unsigned short GetElemType () const
 Function to make available the element type of the element.
 
unsigned long GetGlobalElemID () const
 Function to make available the global element ID.
 
unsigned short GetTimeLevel () const
 Function to make available the time level.
 
void SetCommSolution (const bool val_CommSolution)
 Function, which sets the value of commSolution.
 

Detailed Description

Class, used to reorder the owned elements after the partitioning.

Author
E. van der Weide
Version
8.5.0 "Harrier"

Constructor & Destructor Documentation

◆ CReorderElements() [1/2]

CReorderElements::CReorderElements ( const unsigned long  val_GlobalElemID,
const unsigned short  val_TimeLevel,
const bool  val_CommSolution,
const unsigned short  val_VTK_Type,
const unsigned short  val_nPolySol,
const bool  val_JacConstant 
)

Constructor of the class, set the member variables to the arguments.

◆ CReorderElements() [2/2]

CReorderElements::CReorderElements ( )
delete

Default constructor of the class. Disabled.

Member Function Documentation

◆ GetCommSolution()

bool CReorderElements::GetCommSolution ( ) const
inline

Function to make available the variable commSolution.

Returns
Whether or not the solution of the element must be communicated.

◆ GetElemType()

unsigned short CReorderElements::GetElemType ( ) const
inline

Function to make available the element type of the element.

Returns
The value of elemType, which stores the VTK type, polynomial degree and whether or not the Jacobian is constant.

◆ GetGlobalElemID()

unsigned long CReorderElements::GetGlobalElemID ( ) const
inline

Function to make available the global element ID.

Returns
The global element ID of the element.

◆ GetTimeLevel()

unsigned short CReorderElements::GetTimeLevel ( ) const
inline

Function to make available the time level.

Returns
The time level of the element.

◆ operator<()

bool CReorderElements::operator< ( const CReorderElements &  other) const

Less than operator of the class. Needed for the sorting.

◆ SetCommSolution()

void CReorderElements::SetCommSolution ( const bool  val_CommSolution)
inline

Function, which sets the value of commSolution.

Parameters
[in]val_CommSolution- value to which commSolution must be set.

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