waLBerla 7.2
Loading...
Searching...
No Matches
IntersectionRatio.h File Reference

Detailed Description

#include "core/DataTypes.h"
#include "core/logging/Logging.h"
#include "geometry/bodies/Sphere.h"
#include <exception>
#include <limits>
#include <string>
#include "IntersectionRatio.impl.h"

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  walberla::lbm
 

Functions

template<typename Body >
real_t walberla::lbm::intersectionRatioBisection (const Body &body, const Vector3< real_t > &fluidPoint, const Vector3< real_t > &direction, const real_t epsilon)
 
real_t walberla::lbm::intersectionRatioSphere (const geometry::Sphere &sphere, const Vector3< real_t > &fluidPoint, const Vector3< real_t > &direction)
 
template<typename Body >
real_t walberla::lbm::intersectionRatio (const Body &body, const Vector3< real_t > &fluidPoint, const Vector3< real_t > &direction, const real_t epsilon)
 Computes the intersection of a ray segment with a body surface.
 
real_t walberla::lbm::intersectionRatio (const geometry::Sphere &sphere, const Vector3< real_t > &fluidPoint, const Vector3< real_t > &direction, const real_t=real_t(0))