Coder Social home page Coder Social logo

drops's People

Contributors

56th avatar davzon avatar palzhanov avatar pyxpyx avatar schruste avatar svngross avatar vorticle avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

drops's Issues

Add torus axis of revolution as a runtime parameter

Add parameter "Surface.Params.Torus.Axis" to json and to torus ctor. Right now axis is "fixed" to z, i.e. level-set/dist func depends on (x, y).

We need the following:
"Surface.Params.Torus.Axis" = 0 -> phi = phi(x[1], x[2])
"Surface.Params.Torus.Axis" = 1 -> phi = phi(x[0], x[2])
"Surface.Params.Torus.Axis" = 2 -> phi = phi(x[0], x[1])

Will be useful for Rayleigh-Taylor instability test and maybe in the future.

When I `make surfatant`, some errors occurred!

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.