Code Monkey home page Code Monkey logo

Comments (6)

lungd avatar lungd commented on August 11, 2024

BTW, there is one more particle using worm_swim_half_resolution?

$ cat configuration/worm_swim_half_resolution | grep -P ^"[0-9]+\.[0-9]+\s[0-9]+\.[0-9]+\s[0-9]+\.[0-9]+\s2\.[1-2]" | wc -l
2290

from sibernetic.

skhayrulin avatar skhayrulin commented on August 11, 2024

@lungd Hi, I've actually supposed to store information about pressure only for particles which is located on the surface of body worm. So the number of such particles is different from total numbers of elastic particles. @a-palyanov @pgleeson am I right this information will be enough for you to detect pressure changing?

from sibernetic.

lungd avatar lungd commented on August 11, 2024

@skhayrulin I understand now why there should be less than 2289 particles inside the pressure file.
But I am still not sure about the type of the particles.
Is the first particle located on the surface of the worm? (Particle: 0 Position: 4.19954 2.42451 4.19958 2.3)

from sibernetic.

skhayrulin avatar skhayrulin commented on August 11, 2024

@lungd your question is why type of particles is 2.3, not 2 as usual?

from sibernetic.

lungd avatar lungd commented on August 11, 2024

@skhayrulin the question is, why there are particles of type=2.3 inside the file.

As I understand it, only a subset of particles of type > 2 and type < 2.3 should get saved.
So, I still think the content of the pressure file is not correct, or at least not completely as intended.

from sibernetic.

skhayrulin avatar skhayrulin commented on August 11, 2024

@lungd Yep you're right it's the only subset of elastic particles but as far as I know, this indices needed @a-palyanov for manipulating the viscosity of liquid near the worm shell it's better to as him. From the other hand I don't use this I've precalculate set of shell particles from a list of membranes and put information about a particle inside the file as is.

from sibernetic.

Related Issues (20)

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.