hi everybody,
this code compiling in olb1.2 not in olb1.4 :
// Set up the geometry of the simulation
void prepareLattice( SuperLattice2D<T,DESCRIPTOR>& sLattice,
UnitConverter<T, DESCRIPTOR> const& converter,
Dynamics<T, DESCRIPTOR>& bulkDynamics,
sOnLatticeBoundaryCondition2D<T,DESCRIPTOR>& sBoundaryCondition,
sOffLatticeBoundaryCondition2D<T,DESCRIPTOR>& offBc,
SuperGeometry2D<T>& superGeometry )
{
I obtain this error :
cylinder2d-maquette.cpp: At global scope:
cylinder2d-maquette.cpp:159:22: error: ‘sOnLatticeBoundaryCondition2D’ has not been declared
sOnLatticeBoundaryCondition2D<T,DESCRIPTOR>& sBoundaryCondition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cylinder2d-maquette.cpp:159:51: error: expected ‘,’ or ‘...’ before ‘<’ token
sOnLatticeBoundaryCondition2D<T,DESCRIPTOR>& sBoundaryCondition,
^
cylinder2d-maquette.cpp: In function ‘void prepareLattice(olb::SuperLattice2D<double, olb::descriptors::D2Q9<> >&, const olb::UnitConverter<double, olb::descriptors::D2Q9<> >&, olb::Dynamics<double, olb::descriptors::D2Q9<> >&, int)’:
cylinder2d-maquette.cpp:170:28: error: ‘superGeometry’ was not declared in this scope
sLattice.defineDynamics( superGeometry, 0, &instances::getNoDynamics<T, DESCRIPTOR>() );
regards
Laurent.