Reply To: Compute and define temperature on a cell.
Due to recent bot attacks we have chanced the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.
› 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
