NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
segmentedField.hpp File Reference
#include "NeoFOAM/core/primitives/label.hpp"
#include "NeoFOAM/fields/field.hpp"

Go to the source code of this file.

Classes

class  NeoFOAM::SegmentedFieldView< ValueType, IndexType >
 A class representing a segment of indices. More...
 
class  NeoFOAM::SegmentedField< ValueType, IndexType >
 Data structure that stores a segmented fields or a vector of vectors. More...
 

Namespaces

namespace  NeoFOAM
 

Functions

template<typename IndexType >
IndexType NeoFOAM::segmentsFromIntervals (const Field< IndexType > &intervals, Field< IndexType > &offsets)
 Compute segment offsets from an input field corresponding to lengths by computing a prefix sum.