Reply To: Compute and define temperature on a cell.
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Compute and define temperature on a cell. › Reply To: Compute and define temperature on a cell.
April 27, 2022 at 11:27 am
#6517
sahilbhapkar30
Participant
Hello,
I visited the site and also the file src/core/cells.hh
I initialized as follows:
ConstCell<T,DESCRIPTOR> cell = blockLattice.get(iX, iY);
T cell.neighbor({n0,n1}).computeRho(u_neighbor1.data());
and I am still getting the error
expected initializer before ‘.’ token
240 | T cell.neighbor({n0,n1}).computeRho(u_neighbor1.data());
| ^
Could you please help me with it?
Thank-you