19 #include "../confparser/ConfParser.h"
20 #include "../confparser/ConfBlock.h"
22 using namespace confparser;
32 x(_x), y(_y), z(_z), r(_r), u_x(_u_x), u_y(_u_y), u_z(_u_z) {}
51 PerformanceData() : scTime( 0. ), nTime( 0. ), vTime( 0. ), iTime( 0. ), oTime( 0. ), pTime( 0. ), cTime( 0. ), sTime( 0. ), mTime( 0. ) {}
238 LBM(
const std::string configFileName );
280 return getVelocity( v[0], v[1], v[2] );
308 inline void setupBoundary(
ConfBlock& block,
int x,
int y,
int z );
316 inline T getTime( timeval &start, timeval &end );
324 inline void collideStream(
int x,
int y,
int z );
333 inline void collideStreamSmagorinsky(
int x,
int y,
int z );
338 inline void treatNoslip();
340 inline void treatStaircase();
344 inline void treatVelocity();
348 inline void treatInflow();
352 inline void treatOutflow();
356 inline void treatPressure();
360 inline void treatCurved();
362 inline void moveSphere();
370 void writePerformanceSummary();
372 std::string calcMLUP(
T time,
int cells );