Skip to content

Reply To: Undefined reference to function during make

OpenLB – Open Source Lattice Boltzmann Code Forums on 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.