Skip to content

When I make surfatant, some errors occurred! #5

@lusongno1

Description

@lusongno1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions