Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I make surfatant, some errors occurred! #5

Open
lusongno1 opened this issue Nov 11, 2021 · 0 comments
Open

When I make surfatant, some errors occurred! #5

lusongno1 opened this issue Nov 11, 2021 · 0 comments

Comments

@lusongno1
Copy link

Hello, Professor. I installed drops and its related dependencies, but when I execute make surfactant, I get an error.

/src/surfactant/surfactant.cpp: In function ‘void Strategy(DROPS::MultiGridCL&, DROPS::AdapTriangCL&, DROPS::LevelsetP2CL&)’:
/home/test/Desktop/drops-1/drops-1/src/surfactant/surfactant.cpp:840:43: error: cannot convert ‘DROPS::InstatScalarFunction {aka std::function<double(const DROPS::SVectorCL<3>&, double)>}’ to ‘dist_funT {aka double (*)(const DROPS::SVectorCL<3>&, double)}’ for argument ‘3’ to ‘void LSInit(const DROPS::MultiGridCL&, DROPS::VecDescCL&, dist_funT, double)’
     LSInit( mg, lset.Phi, the_lset_fun, 0.);

I haven't modified any code. What is the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant