OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
GuardCellSizes< Dim > Class Template Reference

#include <GuardCellSizes.h>

Collaboration diagram for GuardCellSizes< Dim >:

Public Member Functions

 GuardCellSizes ()
 GuardCellSizes (unsigned s)
 GuardCellSizes (unsigned *s)
 GuardCellSizes (unsigned l, unsigned r)
 GuardCellSizes (unsigned *l, unsigned *r)
constexpr GuardCellSizes (const GuardCellSizes< Dim > &)=default
GuardCellSizes< Dim > & operator= (const GuardCellSizes< Dim > &gc)
void set_Left (unsigned s)
void set_Left (unsigned *s)
void set_Left (unsigned d, unsigned *s)
void set_Right (unsigned s)
void set_Right (unsigned *s)
void set_Right (unsigned d, unsigned *s)
unsigned left (unsigned d) const
unsigned right (unsigned d) const
bool operator< (const GuardCellSizes< Dim > &r) const
bool operator== (const GuardCellSizes< Dim > &r) const

Private Attributes

unsigned Left [Dim]
unsigned Right [Dim]

Detailed Description

template<unsigned Dim>
class GuardCellSizes< Dim >

Definition at line 20 of file GuardCellSizes.h.

Constructor & Destructor Documentation

◆ GuardCellSizes() [1/6]

template<unsigned Dim>
GuardCellSizes< Dim >::GuardCellSizes ( )
inline

Definition at line 25 of file GuardCellSizes.h.

References Dim, Left, and Right.

Referenced by GuardCellSizes(), operator<(), operator=(), and operator==().

◆ GuardCellSizes() [2/6]

template<unsigned Dim>
GuardCellSizes< Dim >::GuardCellSizes ( unsigned s)

Definition at line 31 of file GuardCellSizes.hpp.

References Dim, Left, and Right.

◆ GuardCellSizes() [3/6]

template<unsigned Dim>
GuardCellSizes< Dim >::GuardCellSizes ( unsigned * s)

Definition at line 40 of file GuardCellSizes.hpp.

References Dim, Left, and Right.

◆ GuardCellSizes() [4/6]

template<unsigned Dim>
GuardCellSizes< Dim >::GuardCellSizes ( unsigned l,
unsigned r )

Definition at line 49 of file GuardCellSizes.hpp.

References Dim, Left, and Right.

◆ GuardCellSizes() [5/6]

template<unsigned Dim>
GuardCellSizes< Dim >::GuardCellSizes ( unsigned * l,
unsigned * r )

Definition at line 60 of file GuardCellSizes.hpp.

References Dim, Left, and Right.

◆ GuardCellSizes() [6/6]

template<unsigned Dim>
GuardCellSizes< Dim >::GuardCellSizes ( const GuardCellSizes< Dim > & )
constexprdefault

References GuardCellSizes().

Here is the call graph for this function:

Member Function Documentation

◆ left()

template<unsigned Dim>
unsigned GuardCellSizes< Dim >::left ( unsigned d) const
inline

◆ operator<()

template<unsigned Dim>
bool GuardCellSizes< Dim >::operator< ( const GuardCellSizes< Dim > & r) const
inline

Definition at line 81 of file GuardCellSizes.h.

References Dim, GuardCellSizes(), left(), and right().

Here is the call graph for this function:

◆ operator=()

template<unsigned Dim>
GuardCellSizes< Dim > & GuardCellSizes< Dim >::operator= ( const GuardCellSizes< Dim > & gc)
inline

Definition at line 35 of file GuardCellSizes.h.

References Dim, GuardCellSizes(), Left, and Right.

Here is the call graph for this function:

◆ operator==()

template<unsigned Dim>
bool GuardCellSizes< Dim >::operator== ( const GuardCellSizes< Dim > & r) const
inline

Definition at line 96 of file GuardCellSizes.h.

References Dim, GuardCellSizes(), left(), and right().

Here is the call graph for this function:

◆ right()

template<unsigned Dim>
unsigned GuardCellSizes< Dim >::right ( unsigned d) const
inline

◆ set_Left() [1/3]

template<unsigned Dim>
void GuardCellSizes< Dim >::set_Left ( unsigned * s)

Definition at line 80 of file GuardCellSizes.hpp.

References Dim, and Left.

◆ set_Left() [2/3]

template<unsigned Dim>
void GuardCellSizes< Dim >::set_Left ( unsigned d,
unsigned * s )

Definition at line 89 of file GuardCellSizes.hpp.

References Left.

◆ set_Left() [3/3]

template<unsigned Dim>
void GuardCellSizes< Dim >::set_Left ( unsigned s)

Definition at line 71 of file GuardCellSizes.hpp.

References Dim, and Left.

◆ set_Right() [1/3]

template<unsigned Dim>
void GuardCellSizes< Dim >::set_Right ( unsigned * s)

Definition at line 106 of file GuardCellSizes.hpp.

References Dim, and Right.

◆ set_Right() [2/3]

template<unsigned Dim>
void GuardCellSizes< Dim >::set_Right ( unsigned d,
unsigned * s )

Definition at line 115 of file GuardCellSizes.hpp.

References Right.

◆ set_Right() [3/3]

template<unsigned Dim>
void GuardCellSizes< Dim >::set_Right ( unsigned s)

Definition at line 97 of file GuardCellSizes.hpp.

References Dim, and Right.

Member Data Documentation

◆ Left

template<unsigned Dim>
unsigned GuardCellSizes< Dim >::Left[Dim]
private

◆ Right

template<unsigned Dim>
unsigned GuardCellSizes< Dim >::Right[Dim]
private

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