Skip to content
#

physics

Here are 2,298 public repositories matching this topic...

trusktr
trusktr commented Feb 10, 2019

I see the "Welcome" doc page mentions "component system", but it is very vague. Can you describe what are all the reasons that I'd want to use Whitestorm over plain Three.js, f.e. what are all the things I get that Three.js does no offer, so that I can better understand?

Thanks!

RichardGale
RichardGale commented Apr 12, 2020

from World.js

/**

  • Add a spring to the simulation
  • @method addSpring
  • @param {Spring} spring
    */
    World.prototype.addSpring = function(spring){
    this.springs.push(spring);
    var evt = this.addSpringEvent;
    evt.spring = spring;
    this.emit(evt);
    evt.spring = null;
    };

/**

  • Remove a spring
  • @method removeSpring
  • @param {Spring} spring
    */
    World.p
pcarruscag
pcarruscag commented Aug 23, 2019

We have quite a few common booleans we use in many places of the code.
Some of them are very simple, like checking for compressible vs incompressible, or for FSI.
But when we want to express something more complicated like is it SA or SST, is the mesh moving or deforming, is this FEM or FVM or FEA, and so on, things are not so simple anymore and we end up with long conditionals repeated in many

Anton-Le
Anton-Le commented Mar 4, 2020

Currently the output at runtime produces, for instance, the following:

PIConGPUVerbose PHYSICS(1) | Courant c*dt <= 1.66765 ? 1
PIConGPUVerbose PHYSICS(1) | species e: omega_p * dt <= 0.1 ? 3.56797e-08

The way the output is formatted I interpret it as a "question to the code", i.e., "Is c*dt <= ?" To which a natural answer would be "Yes/No" or "True/False" and not

sofa
Camille-K
Camille-K commented Apr 29, 2019

Hello,

There seem to be an issue in template recognition when creating mappings involving Rigid3d DoFs.

Namely, when creating a BarycentricMapping or a BeamLinearMapping between a mechanical model and a collision model of connected beam elements, I receive the following error messages:

`[ERROR] [InfoComponent(Not created (BarycentricMapping))] Object type BarycentricMapping<Vec3d,Rigid3

Improve this page

Add a description, image, and links to the physics topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the physics topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.