Class DistributedNBodyApp

java.lang.Object
javafx.application.Application
org.episteme.client.client.physics.nbody.DistributedNBodyApp
All Implemented Interfaces:
App, Viewer

public class DistributedNBodyApp extends javafx.application.Application implements App
Distributed N-Body Simulation - Computes gravitational forces using the Episteme Grid. Supports both local and distributed computation modes. In distributed mode, particle state is serialized and sent to the server for force computation, then results are applied locally.

Reference:
Aarseth, S. J. (2003). Gravitational N-Body Simulations. Cambridge University Press.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.application.Application

    javafx.application.Application.Parameters
  • Field Summary

    Fields inherited from class javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the category for grouping (e.g., "Chemistry", "Physics").
    Returns a short description (1-2 lines).
    Returns a long description (multi-line, detailed explanation).
    Returns the display name of the viewer/demo.
    Returns a list of parameters exposed by this viewer.
    boolean
    Returns true if this is a Demo, false if it is a full App.
    static void
    main(String[] args)
     
    void
    show(javafx.stage.Stage stage)
    Launches the component in the given stage.
    void
    start(javafx.stage.Stage primaryStage)
     
    void
     

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface Viewer

    getParameter, setParameter
  • Constructor Details

    • DistributedNBodyApp

      public DistributedNBodyApp()
  • Method Details

    • start

      public void start(javafx.stage.Stage primaryStage)
      Specified by:
      start in class javafx.application.Application
    • stop

      public void stop()
      Overrides:
      stop in class javafx.application.Application
    • main

      public static void main(String[] args)
    • isDemo

      public boolean isDemo()
      Description copied from interface: App
      Returns true if this is a Demo, false if it is a full App.
      Specified by:
      isDemo in interface App
    • getCategory

      public String getCategory()
      Description copied from interface: Viewer
      Returns the category for grouping (e.g., "Chemistry", "Physics"). Must be internationalized via I18N.
      Specified by:
      getCategory in interface Viewer
      Returns:
      the category name
    • getName

      public String getName()
      Description copied from interface: Viewer
      Returns the display name of the viewer/demo. Must be internationalized via I18N.
      Specified by:
      getName in interface Viewer
      Returns:
      the display name
    • getDescription

      public String getDescription()
      Description copied from interface: Viewer
      Returns a short description (1-2 lines). Must be internationalized via I18N.
      Specified by:
      getDescription in interface Viewer
      Returns:
      the short description
    • getLongDescription

      public String getLongDescription()
      Description copied from interface: Viewer
      Returns a long description (multi-line, detailed explanation). Must be internationalized via I18N.
      Specified by:
      getLongDescription in interface Viewer
      Returns:
      the long description
    • show

      public void show(javafx.stage.Stage stage)
      Description copied from interface: Viewer
      Launches the component in the given stage.
      Specified by:
      show in interface Viewer
      Parameters:
      stage - the JavaFX stage to display the component
    • getViewerParameters

      public List<Parameter<?>> getViewerParameters()
      Description copied from interface: Viewer
      Returns a list of parameters exposed by this viewer. Parameters allow external control and configuration.
      Specified by:
      getViewerParameters in interface Viewer
      Returns:
      list of configurable parameters