UnionFactory.h File Reference

Detailed Description

Author
Klaus Iglberger
Tobias Preclik
Sebastian Eibl sebas.nosp@m.tian.nosp@m..eibl.nosp@m.@fau.nosp@m..de
#include "pe/Materials.h"
#include "pe/rigidbody/BodyStorage.h"
#include "pe/rigidbody/Box.h"
#include "pe/rigidbody/Capsule.h"
#include "pe/rigidbody/Plane.h"
#include "pe/rigidbody/Sphere.h"
#include "pe/rigidbody/Union.h"
#include "pe/Types.h"
#include <blockforest/BlockForest.h>
#include <core/debug/Debug.h>
#include <core/logging/Logging.h>
#include <core/UniqueID.h>

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
 

Functions

template<typename... BodyTypes>
Union< BodyTypes... > * walberla::pe::createUnion (BodyStorage &globalStorage, BlockStorage &blocks, BlockDataID storageID, id_t uid, const Vec3 &gpos, bool global=false, bool communicating=true, bool infiniteMass=false)
 Setup of a new Union. More...
 
template<typename... BodyTypes>
BoxID walberla::pe::createBox (Union< BodyTypes... > *un, id_t uid, const Vec3 &gpos, const Vec3 &lengths, MaterialID material=Material::find("iron"), bool global=false, bool communicating=true, bool infiniteMass=false)
 Setup of a new Box directly attached to a Union. More...
 
template<typename... BodyTypes>
CapsuleID walberla::pe::createCapsule (Union< BodyTypes... > *un, id_t uid, const Vec3 &gpos, const real_t radius, const real_t length, MaterialID material=Material::find("iron"), bool global=false, bool communicating=true, bool infiniteMass=false)
 Setup of a new Capsule directly attached to a Union. More...
 
template<typename... BodyTypes>
SphereID walberla::pe::createSphere (Union< BodyTypes... > *un, id_t uid, const Vec3 &gpos, real_t radius, MaterialID material=Material::find("iron"), bool global=false, bool communicating=true, bool infiniteMass=false)
 Setup of a new Sphere directly attached to a Union. More...