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

#5690
Kuanghua
Participant

Hello
I have already defined the new iniEquilibrium in superLattice2D.h just after the original definition
void iniEquilibrium(FunctorPtr<SuperIndicatorF2D<T>>&& indicator,
AnalyticalF2D<T,T>& rho, AnalyticalF2D<T,T>& u); by
void iniEquilibrium(FunctorPtr<SuperIndicatorF2D<T>>&& indicator, AnalyticalF2D<T, T>& rho);

and yet the function cannot be identified.

For me the iniEquilibrium should be calculated with density and weight coefficient.