Coder Social home page Coder Social logo

sciinstitute / scirun Goto Github PK

View Code? Open in Web Editor NEW
125.0 24.0 71.0 176.45 MB

SCIRun is a Problem Solving Environment, for modeling, simulation and visualization of scientific problems. This is version 5, the upgraded version of SCIRun v4.

Home Page: http://scirun.org

License: Other

Shell 0.08% CMake 3.36% C++ 94.23% C 1.42% Objective-C 0.39% Python 0.07% GLSL 0.42% Batchfile 0.01% Qt Script 0.02%
c-plus-plus visualization mesh-generation scientific-computing scientific-visualization scientific-computations dataflow-programming python linear-systems forward-problem

scirun's Introduction

SCIRun Banner

SCIRun 5

mac-build linux-build windows-build

Summary

Warning! SCIRun 5 is beta software, you may use for real science but beware of instability.

Goals

SCIRun 5 is a complete rewrite of the GUI front end and graphical components of SCIRun 4, including a more stable and efficient middle layer, with support for Python scripting.

Documentation

For documentation, please see: https://scirun.readthedocs.io/en/latest/

Build

Please see https://scirun.readthedocs.io/en/latest/start/build.html

Python API

Please see https://scirun.readthedocs.io/en/latest/user_doc/python.html

Example Data

Please see: https://github.com/CIBC-Internal/SCIRunTestData

Or, for the older dataset: https://www.sci.utah.edu/releases/scirun_v4.7/SCIRunData_4.7_20160120_data.zip https://www.sci.utah.edu/releases/scirun_v4.7/SCIRunData_4.7_20160120_data.tgz

Questions and Answers

For help, check out the discussion page: https://github.com/SCIInstitute/SCIRun/discussions.

License and Credits

For more information, please see: http://software.sci.utah.edu

The MIT License

Copyright (c) 2023 Scientific Computing and Imaging Institute, University of Utah.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

scirun's People

Contributors

allywarner avatar basisunus avatar benjaminlarson avatar brigb123 avatar cbrightsci avatar chhabragarima avatar collint8 avatar dcwhite avatar haydelj avatar iauns avatar jcollfont avatar jessdtate avatar kenlouie avatar kgillette avatar kimjohn1 avatar krismz avatar mhansen1 avatar moritzdannhauer avatar nahusa avatar nids2001 avatar pip010 avatar sfrisby avatar tarkpate avatar tfogal 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  avatar  avatar  avatar  avatar  avatar

scirun's Issues

Module: Eigen solvers

GUI will be similar to SolveLinearSystem, but just provide Eigen's built-in solvers for now.

Some GUI improvements:

  • Use text box for error entry.
  • Use spinner for max iterations.

Command line options

Integrate boost.ProgramOptions, with this initial set of command line options:

  • < file >
    • loads a network file
  • -e < file >
    • loads a network file and runs it
  • -E < file >
    • loads a network file, runs it, quits

Module: CreateMatrix

Basic implementation: dialog is there, just grab the string from the text editor and dump it into a matrix, send it out the one matrix output port.

Save network file from GUI

Be able to save out a network file using boost.Serialization. Must contain:
--module description list
--connection list
--module positions in the window
--module state

Make debug build work.

Need to include debug versions of boost libs and point to them using the right cmake function. This will be somewhat moot when boost is built as an external alongside SCIRun as it is currently in v4.

Code Review: Service/Middle Layer

8/17: Library organization and naming.
8/24: Discussed State and came up with GlobalStateManager, ModuleVariable.
8/31: Boost library usage.

Error reporting: global

Where should the top-level try-catch block go? For instance, if there is an error saving out the network file, somewhere that should be caught and reported.

Global State Manager

Needs a new category. Start by stamping out classes based on diagram from 8/24 meeting.

Load network file into GUI

Once a network file can be saved, be able to load one in, with modules/state/position exactly the same as when saved.

Directory/Namespace changes

Move things to (with matching namespaces):

src/Core/
src/Core/Algorithms
src/Dataflow/Network
src/Dataflow/Engine
src/Dataflow/State
src/Dataflow/Network/Serialization
src/Dataflow/State/Serialization
src/Modules/

Error reporting: modules

When an algorithm or module needs to stop with an error, SCIRun 4 supplies an error() function that will end up as a red button with the error message in the GUI. We need something similar.

Matrix reading code has issues

It's too brittle, can't handle newlines very well. I'd like to redo it so that the format has [nrows,ncolumns] at the top of the file; should also speed up reading.

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.