Skip to content
Snippets Groups Projects
Commit 0e3fc2a2 authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

Merge branch 'inline-overlapFractionPe' into 'master'

Inline pe_coupling::overlapFractionPe

See merge request walberla/walberla!315
parents 97716f13 4bce2d6c
No related merge requests found
......@@ -34,8 +34,8 @@ namespace walberla {
namespace pe_coupling{
real_t overlapFractionPe( const pe::RigidBody & peRigidBody, const Vector3<real_t> & cellMidpoint,
const Vector3<real_t> & dx, uint_t maxDepth=4 )
inline real_t overlapFractionPe( const pe::RigidBody & peRigidBody, const Vector3<real_t> & cellMidpoint,
const Vector3<real_t> & dx, uint_t maxDepth=4 )
{
if( peRigidBody.getTypeID() == pe::Sphere::getStaticTypeID() || peRigidBody.getTypeID() == pe::Squirmer::getStaticTypeID() )
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment