Re: DESCRIPTOR D2Q9Descriptor
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › DESCRIPTOR D2Q9Descriptor › Re: DESCRIPTOR D2Q9Descriptor
June 22, 2018 at 4:26 pm
#2857
chris
Member
Hey Markus and lbTeam,
Thank you a lot.
bstep2d.cpp calls UnitConverter<T, DESCRPITOR>, however, unitConverter.cpp does contain the only D2Q9Descriptor for 2D as the following:
Code:
template class UnitConverter<double,descriptors::D2Q9Descriptor>;
template class UnitConverter<double,descriptors::D3Q19Descriptor>;
template class UnitConverter<double,descriptors::AdvectionDiffusionD3Q7Descriptor>;
template class UnitConverter<double,descriptors::D3Q19Descriptor>;
template class UnitConverter<double,descriptors::AdvectionDiffusionD3Q7Descriptor>;
template UnitConverter<double,descriptors::D2Q9Descriptor>* createUnitConverter(const olb::XMLreader&);
I would like to know what happens when we use
Code:
#define DESCRIPTOR D2Q9_M_Descriptor
in bstep2d.cpp.
Also in firstOrderLbHelpers2d.h, there exists only “descriptors::D2Q9Descriptor”.
Best,
Chris