Skip to content

Reply To: Undefined reference to function during make

Due to recent bot attacks we have changed 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 OpenLB General Topics Undefined reference to function during make Reply To: Undefined reference to function during make

#5688
Adrian
Keymaster

Did you define the new iniEquilibrium method in the SuperLattice2D? (File: src/core/superLattice2D.h)

By default there is only a iniEquilibrium function requiring both density and velocity fields.

Defining just the density in an existing lattice is possible using e.g. SuperLattice2D::defineRho.