Coder Social home page Coder Social logo

Comments (9)

tarelli avatar tarelli commented on July 26, 2024

It should be read from the file, not being a constant at all.

from org.geppetto.core.

gidili avatar gidili commented on July 26, 2024

It's used to calculate at least another derived constant that's the same
for all particles (its called "delta"). I am not even sure it's the
particle mass.

Sent from my iPhone

On 24 May 2013, at 15:33, Matteo Cantarelli [email protected]
wrote:

It should be read from the file, not being a constant at all.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/4#issuecomment-18408391
.

from org.geppetto.core.

tarelli avatar tarelli commented on July 26, 2024

if the mass is not constant any other information derived from it is not constant either, unless we change the schema to define a group of particles which share the same mass we should be doing the same operation for as many particles as there are (and if needed to optimize that by caching the risult for a given mass for instance). If it's not the particle mass and it's a constant of the algorithm then we should change its name to reflect that and stil move it out org.geppetto.core. Note that there is a mass attribute for a particle in the schema.

from org.geppetto.core.

gidili avatar gidili commented on July 26, 2024

That MASS is a constant - that's all I know.

Again, I dont know if thats the mass of a particle and even if it is It
doesn't make any sense to calculate the delta for every particle because
its the same delta for the entire system. What do you do if particles have
a different mass?

@a-palyanov should be able to clarify.

from org.geppetto.core.

tarelli avatar tarelli commented on July 26, 2024

Well I would imagine that it's not a given that every particle in the system would have the same mass. Particles with different masses would exert different forces I assume but it's pointless to speculate if we are not even sure if that's the mass.
@a-palyanov could you wave in?

from org.geppetto.core.

gidili avatar gidili commented on July 26, 2024

I am only saying its a constant in the C++ version. That's all I know :)

from org.geppetto.core.

gidili avatar gidili commented on July 26, 2024

Regardless of this discussion about mass - should all those PhysicsConstants be moved to model.sph? They really don't belong in core...

from org.geppetto.core.

a-palyanov avatar a-palyanov commented on July 26, 2024

It is possible to implement different masses, but it will require writing
of some additional code, which maybe quite difficult (Solenthaler's
dissertation contains a chapter or even two describing it).
In my opinion for OpenWorm purposes common mass value (but particles with
different properties, like solid, liquid, elastic, muscle etc.) will be
enough and will not limit us anyhow.

A.

2013/5/24 Matteo Cantarelli [email protected]

Well I would imagine that it's not a given that every particle in the
system would have the same mass. Particles with different masses would
exert different forces I assume but it's pointless to speculate if we are
not even sure if that's the mass.
@a-palyanov https://github.com/a-palyanov could you wave in?


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-18411602
.

from org.geppetto.core.

gidili avatar gidili commented on July 26, 2024

I moved all this stuff into org.geppetto.model.sph: openworm/org.geppetto.sibernetic@a31e807

We can consider moving some of the actual physics constants back into core but for now we can consider everything as an SPH constant.

from org.geppetto.core.

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.