walberla::blockforest::internal::BlockIDSorter< PhantomData_T, Value_T, weighted > Class Template Reference

#include <DynamicCurve.h>

Public Types

using weight_t = typename PhantomData_T::weight_t
 
using Blocks_T = std::vector< std::vector< std::pair< BlockID, weight_t > >>
 

Public Member Functions

 BlockIDSorter (const Blocks_T &blocks)
 
bool operator() (const Value_T &lhs, const Value_T &rhs) const
 

Private Attributes

const Blocks_Tblocks_
 

Member Typedef Documentation

◆ Blocks_T

template<typename PhantomData_T , typename Value_T , bool weighted = true>
using walberla::blockforest::internal::BlockIDSorter< PhantomData_T, Value_T, weighted >::Blocks_T = std::vector<std::vector<std::pair<BlockID, weight_t> >>

◆ weight_t

template<typename PhantomData_T , typename Value_T , bool weighted = true>
using walberla::blockforest::internal::BlockIDSorter< PhantomData_T, Value_T, weighted >::weight_t = typename PhantomData_T::weight_t

Constructor & Destructor Documentation

◆ BlockIDSorter()

template<typename PhantomData_T , typename Value_T , bool weighted = true>
walberla::blockforest::internal::BlockIDSorter< PhantomData_T, Value_T, weighted >::BlockIDSorter ( const Blocks_T blocks)
inline

Member Function Documentation

◆ operator()()

template<typename PhantomData_T , typename Value_T , bool weighted = true>
bool walberla::blockforest::internal::BlockIDSorter< PhantomData_T, Value_T, weighted >::operator() ( const Value_T &  lhs,
const Value_T &  rhs 
) const
inline

Member Data Documentation

◆ blocks_

template<typename PhantomData_T , typename Value_T , bool weighted = true>
const Blocks_T& walberla::blockforest::internal::BlockIDSorter< PhantomData_T, Value_T, weighted >::blocks_
private

The documentation for this class was generated from the following file: