OpenLB 1.8.1
Loading...
Searching...
No Matches
discreteNormals.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  olb
 Top level namespace for all of OpenLB.
 

Typedefs

template<concepts::Descriptor DESCRIPTOR>
using olb::DiscreteNormal = Vector<int,DESCRIPTOR::d>
 

Enumerations

enum class  olb::DiscreteNormalType : int {
  olb::Flat = 0 , olb::ExternalCorner = 1 , olb::InternalCorner = 2 , olb::ExternalEdge = 3 ,
  olb::InternalEdge = 4
}
 Type associated with a discrete normal vector. More...
 

Functions

template<concepts::BaseType T>
std::pair< DiscreteNormalType, Vector< int, 2 > > olb::computeBoundaryTypeAndNormal (BlockIndicatorF2D< T > &fluidI, BlockIndicatorF2D< T > &outsideI, Vector< int, 2 > latticeR)
 Returns type (e.g. edge / corner) and discrete normal in 2D.
 
template<concepts::BaseType T>
std::pair< DiscreteNormalType, Vector< int, 3 > > olb::computeBoundaryTypeAndNormal (BlockIndicatorF3D< T > &fluidI, BlockIndicatorF3D< T > &outsideI, Vector< int, 3 > latticeR)
 Returns type (e.g. edge / corner) and discrete normal in 3D.