MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / computeFlow

Method computeFlow

source/MRMesh/MRAggregateFlow.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52VertScalars FlowAggregator::computeFlow( const std::vector<FlowOrigin> & starts, const OutputFlows & out ) const
53{
54 return computeFlow( starts.size(),
55 [&starts]( size_t n ) { return starts[n].point; },
56 [&starts]( size_t n ) { return starts[n].amount; },
57 {}, out );
58}
59
60VertScalars FlowAggregator::computeFlow( const std::vector<MeshTriPoint> & starts, const OutputFlows & out ) const
61{

Callers

nothing calls this directly

Calls 12

ParallelForFunction · 0.85
push_backMethod · 0.80
triPointMethod · 0.80
sizeMethod · 0.45
vertSizeMethod · 0.45
isBdMethod · 0.45
reserveMethod · 0.45
emptyMethod · 0.45
validMethod · 0.45
resizeMethod · 0.45
edgePointMethod · 0.45

Tested by

no test coverage detected