Giter VIP home page Giter VIP logo

ovilab / atomify Goto Github PK

View Code? Open in Web Editor NEW
149.0 149.0 20.0 129.29 MB

Atomify - a realtime LAMMPS visualizer

License: GNU General Public License v3.0

QMake 0.04% QML 1.05% C++ 73.46% C 1.70% Shell 1.03% Python 4.86% GLSL 0.16% Tcl 10.05% Makefile 0.42% HTML 0.52% TeX 0.68% CSS 0.01% JavaScript 0.01% Fortran 3.63% AMPL 0.03% GAP 0.01% Gnuplot 0.01% Perl 0.34% Cuda 1.66% CMake 0.35%

atomify's People

Contributors

andeplane avatar dragly avatar khavernathy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atomify's Issues

Create script that modifies LAMMPS

For instance, fix_ave_time.h (and the other average fixes) has a private FILE *fp that we want to access to replace the pointer with an output parser. If more changes are needed to LAMMPS, we might want a script that automatically does this for each new version of LAMMPS.

Get rid of the tabview QML errors

Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)
Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)
FocusFrame_QMLTYPE_27 QVariant(Invalid) QRect(0,0 0x0)
ScrollBar_QMLTYPE_20_QML_26 QVariant(Invalid) QRect(0,0 0x0)
ScrollBar_QMLTYPE_20_QML_25 QVariant(Invalid) QRect(0,0 0x0)
FocusFrame_QMLTYPE_27 QVariant(Invalid) QRect(0,0 0x0)
ScrollBar_QMLTYPE_20_QML_26 QVariant(Invalid) QRect(0,0 0x0)
ScrollBar_QMLTYPE_20_QML_25 QVariant(Invalid) QRect(0,0 0x0)
Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)
Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)
Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)
Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)
Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)
Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)
Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)
Tab_QMLTYPE_9 QVariant(Invalid) QRect(0,0 0x0)

Domain slicing in visualization

Preferably two sliders for each coordinate direction that can select min/max coordinates of a domain where particles are to be drawn. Other particles should be invisible. This feature will be useful for instance to see cracks in the interior of a domain. (These cracks will otherwise be hidden behind particles).

Add camera controllers

Implementationwise, we will use one controller with flymode navigation as a mode.

  • Add single QML controller
  • Add flymode mode
  • Add c++ class that handles mouse move in flymode navigation
  • Add shortcut / icon in GUI
  • Tune parameters so it feels right

Henrik Sveinsson said it felt weird that flymode navigation moves trackball viewcenter. I think I agree. We should consider having two different cameras (basically storing viewcenter, position and upvector for both cameras).

Add statistical analysis library

For instance, we might want to use data generated from computes (log temperatures, energy, angles) and do statistical analysis on them live. Histograms, variance, correlations etc.

Add physical properties (LAMMPS computes) available from QML

Idea: each compute will be added to the thermo_style in LAMMPS. The output from LAMMPS is then parsed and values are extracted in a parser. The values will then be set on the computes c++/QML-objects so plotting etc is done easily in QML.

Live LAMMPS script parser

Like Qt Creator, we should try to parse the script whenever a new line of commands are written. If a command does not parse (syntax error), we should show this in the editor with the error message shown on hovering.

Clean up LAMMPSController

LAMMPSController is now kind of messy. We want:

  • move file handling and string parsing into another class
  • create functions for extracting LAMMPS variables, computes, fixes etc
  • fix so LAMMPSController works as an intuitive state machine where each tick() is more planned and less hacked

Are we thread safe?

For instance: when we have output from worker thread, they are immediately parsed. These values are then set to the CPCompute objects updating QML objects (another thread) at the same time.

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.