walberla::mesa_pd::data::particle_flags Namespace Reference

Classes

class  FlagT
 

Functions

void set (FlagT &flags, const FlagT::value_type flag)
 
void unset (FlagT &flags, const FlagT::value_type flag)
 
bool isSet (const FlagT &flags, const FlagT::value_type flag)
 
std::ostream & operator<< (std::ostream &os, const FlagT &flags)
 

Variables

static const FlagT::value_type NO_FLAGS = 0
 default value after initialization More...
 
static const FlagT::value_type INFINITE = (1 << 1)
 the particle extends into at least one direction till infinity More...
 
static const FlagT::value_type FIXED = (1 << 2)
 spatial integrators will skip this particle, however, forces and torques are reset More...
 
static const FlagT::value_type NON_COMMUNICATING = (1 << 3)
 all communication functions are skipped for this particle More...
 
static const FlagT::value_type GHOST = (1 << 4)
 this is a ghost particle More...
 
static const FlagT::value_type GLOBAL = (1 << 5)
 this particle exists on all processes with the same uid More...
 

Function Documentation

◆ isSet()

bool walberla::mesa_pd::data::particle_flags::isSet ( const FlagT flags,
const FlagT::value_type  flag 
)
inline

◆ operator<<()

std::ostream& walberla::mesa_pd::data::particle_flags::operator<< ( std::ostream &  os,
const FlagT flags 
)
inline

◆ set()

void walberla::mesa_pd::data::particle_flags::set ( FlagT flags,
const FlagT::value_type  flag 
)
inline

◆ unset()

void walberla::mesa_pd::data::particle_flags::unset ( FlagT flags,
const FlagT::value_type  flag 
)
inline

Variable Documentation

◆ FIXED

const FlagT::value_type walberla::mesa_pd::data::particle_flags::FIXED = (1 << 2)
static

spatial integrators will skip this particle, however, forces and torques are reset

◆ GHOST

const FlagT::value_type walberla::mesa_pd::data::particle_flags::GHOST = (1 << 4)
static

this is a ghost particle

◆ GLOBAL

const FlagT::value_type walberla::mesa_pd::data::particle_flags::GLOBAL = (1 << 5)
static

this particle exists on all processes with the same uid

◆ INFINITE

const FlagT::value_type walberla::mesa_pd::data::particle_flags::INFINITE = (1 << 1)
static

the particle extends into at least one direction till infinity

◆ NO_FLAGS

const FlagT::value_type walberla::mesa_pd::data::particle_flags::NO_FLAGS = 0
static

default value after initialization

◆ NON_COMMUNICATING

const FlagT::value_type walberla::mesa_pd::data::particle_flags::NON_COMMUNICATING = (1 << 3)
static

all communication functions are skipped for this particle