BodyFromConfig.h File Reference

Detailed Description

Functions to create a body from a configuration block.

Author
Martin Bauer marti.nosp@m.n.ba.nosp@m.uer@f.nosp@m.au.d.nosp@m.e
#include "Cylinder.h"
#include "Ellipsoid.h"
#include "Sphere.h"
#include "Torus.h"
#include "BodyLogic.h"
#include "DynamicBody.h"
#include "AABBBody.h"
#include "core/config/Config.h"
#include "core/math/AABB.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::geometry
 

Functions

Sphere walberla::geometry::sphereFromConfig (const Config::BlockHandle &block)
 Parses a configuration block and returns a Sphere. More...
 
Cylinder walberla::geometry::cylinderFromConfig (const Config::BlockHandle &block)
 Parses a configuration block and returns a Cylinder. More...
 
Torus walberla::geometry::torusFromConfig (const Config::BlockHandle &block)
 Parses a configuration block and returns a Torus. More...
 
Ellipsoid walberla::geometry::ellipsoidFromConfig (const Config::BlockHandle &block)
 Parses a configuration block and returns an Ellipsoid. More...
 
AABB walberla::geometry::AABBFromConfig (const Config::BlockHandle &block)
 Parses a configuration block and returns a box. More...
 
BodyLogicalAND< Sphere, AABB > walberla::geometry::sphereSliceFromConfig (const Config::BlockHandle &block)
 Parses a configuration block and returns a difference/union/... More...
 
BodyLogicalAND< Sphere, BodyLogicalNOT< Sphere > > walberla::geometry::hollowSphereFromConfig (const Config::BlockHandle &block)
 
shared_ptr< AbstractBody > walberla::geometry::bodyFromConfig (const Config::BlockHandle &block)
 Parses a configuration block and returns a body via dynamic polymorphism. More...
 
shared_ptr< AbstractBody > walberla::geometry::bodyANDFromConfig (const Config::BlockHandle &block)
 
shared_ptr< AbstractBody > walberla::geometry::bodyORFromConfig (const Config::BlockHandle &block)
 
shared_ptr< AbstractBody > walberla::geometry::bodyXORFromConfig (const Config::BlockHandle &block)
 
shared_ptr< AbstractBody > walberla::geometry::bodyNOTFromConfig (const Config::BlockHandle &block)