Git Product home page Git Product logo

oscarsaleta / wp4 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 6.16 MB

WP4: P4 web version. Study and visualize planar polynomial systems online with this interactive web application. Computations are performed by the server, but the client needs JavaScript in order to interact with the application and visualize the results. Both sides are programmed in C++ using Wt.

License: GNU Lesser General Public License v3.0

C++ 93.26% CSS 0.49% Shell 0.43% C 5.05% CMake 0.77%
maple mathematical-analysis differential-equations planar-phase-portrait wt dynamical-systems

wp4's Introduction

WP4, web version of P4 (Polynomial Planar Phase Portraits)

This project is still in development.

The aim of this project is to create a web version of P4 with limited functionality and host it in a public server, in order to make the P4 software available to a wider user base (e.g. for users that do not have Maple).

Acknowledgements

This project would not be possible without the support of Joan Torregrossa, and the original authors of P4: J. C. Artés, C. Herssens, P. De Maesschalck, F. Dumortier and J. Llibre.

Screenshots

Output view

outputview.png

Plot view

plotview.png

Login widget

loginview.png

Extra evaluation parameters (registered users only)

loggedin.png

View configuration (registered users only)

planarview.png

Orbit integration (registered users only)

orbits.png

Vector field with common factor: GCF evaluation

gcf.png

Want to try it locally?

Requirements:

  • Compilation: Wt library (if you need the wtfcgi connector, you probably need to build Wt from source) and CMake.
  • Execution: P4 installed in /usr/local/p4 (see P4 repository for install instructions) [1], Maple.

Step by step:

  • Clone this repository,
  • Build the source with CMake (set WT_CONNECTOR),
  • Change the name of the server configuration file: cp wt_config.xml.example wt_config.xml, and edit it if needed (for FCGI builds, num-threads should be more than 1).
  • Run the WP4.wt executable using --docroot and any other necessary argument (see scripts debug or release for example wthttp commands).
  • Use a web browser to test the web app.

[1] Actually, only the separate executables lyapunov and separatrices are needed from the P4 suite. WP4 does not need or use the P4 Qt application itself for working.

wp4's People

Contributors

oscarsaleta avatar

Watchers

 avatar  avatar

wp4's Issues

Segfault when 2 sessions try to plot

After evaluating a VF in 2 different sessions, if we click Plot in one session it works correctly, but clicking Plot in the second session triggers a segmentation fault.

Refresh plot crashes application

If you press the Refresh plot button (View Settings tab) changing views several times, the application ends up not responding, but no error/exception/segfault is thrown.

This happens regardless of whether there are curves/isoclines in the study.

Bus error (core dumped)

After using the app for a while, plotting several isoclines with a GCF present, and then trying to refresh the plot to show a plane, the app crashes with a Bus error (core dumped).

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.