DestroyBody.h File Reference

Detailed Description

#include "pe/BlockFunctions.h"
#include "pe/rigidbody/BodyStorage.h"
#include "pe/Types.h"
#include "domain_decomposition/BlockStorage.h"

Classes

class  walberla::pe::internal::CheckUID
 UnaryPredicate to check of rigid body has given uid. More...
 

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::pe
 
 walberla::pe::internal
 

Functions

template<class UnaryPredicate >
void walberla::pe::destroyBody (BodyStorage &globalStorage, BlockStorage &blocks, BlockDataID storageID, const UnaryPredicate &p)
 Removes all rigid bodies which match the unary predicate p. More...
 
void walberla::pe::destroyBodyBySID (BodyStorage &globalStorage, BlockStorage &blocks, BlockDataID storageID, const walberla::id_t sid)
 removes the rigid body with the given sid More...
 
void walberla::pe::destroyBodyByUID (BodyStorage &globalStorage, BlockStorage &blocks, BlockDataID storageID, const walberla::id_t uid)
 removes all rigid bodies matching the given uid More...