Skip to content

Reply To: Compute and define temperature on a cell.

#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