Giter Site home page Giter Site logo

gosl's Introduction

Gosl – Go scientific library

Gosl is a computing library written in go language (golang) to help with the development of software for scientific research. The library tries to be as general as possible. The use of concurrency for multi-threaded applications and message passing for parallel computations are considered. Functions and structures for geometry calculations, random numbers generation and probability distributions, optimisation algorithms, and plotting and visualisation are implemented as well. This library helped with the development of the results presented in [1-5].

Content

  1. chk – check and unit test
  2. io – input/output
  3. utl – utilities
  4. plt – plotting
  5. mpi – message passing interface
  6. la – linear algebra
  7. fdm – finite differences method
  8. num – numerical methods
  9. fun – scalar functions of one scalar and one vector
  10. gm – geometry
  11. gm/msh – mesh generation
  12. gm/tri – mesh generation: triangles
  13. gm/rw – mesh generation: read/write
  14. graph – graph theory
  15. ode – ordinary differential equations
  16. opt – optimisation
  17. rnd – random numbers and probability distributions
  18. tsr – tensor algebra and definitions for continuum mechanics
  19. vtk – visualisation tool kit

Examples

See examples here: https://github.com/cpmech/gosl/blob/master/examples/README.md

Installation and documentation

  1. To install on Windows, see instructions for Windows here
  2. To install on Mac OS X, see instructions for Mac OS X here
  3. To install on Debian/Ubuntu/Linux, type the following commands:
sudo apt-get install libopenmpi-dev libhwloc-dev libsuitesparse-dev libmumps-dev 
sudo apt-get install gfortran libvtk6-dev python-scipy python-matplotlib dvipng
mkdir -p $GOPATH/src/github.com/cpmech
cd $GOPATH/src/github.com/cpmech
git clone https://github.com/cpmech/gosl.git
cd gosl
./all.bash

Make sure that the following environment variable is defined:

export PYTHONPATH=$PYTHONPATH:$GOPATH/src/github.com/cpmech/gosl/scripts

The documentation for developers is available here: http://rawgit.com/cpmech/gosl/master/doc/index.html

References

  1. Pedroso DM (2015) A consistent u-p formulation for porous media with hysteresis. Int Journal for Numerical Methods in Engineering, 101(8) 606-634 http://dx.doi.org/10.1002/nme.4808
  2. Pedroso DM (2015) A solution to transient seepage in unsaturated porous media. Computer Methods in Applied Mechanics and Engineering, 285 791-816 http://dx.doi.org/10.1016/j.cma.2014.12.009

Acknowledgements

Funding from the Australian Research Council is gratefully acknowledged.

License

Unless otherwise noted, the Gosl source files are distributed under the BSD-style license found in the LICENSE file.

gosl's People

Contributors

cpmech avatar rauldurand avatar

Watchers

James Cloos avatar Leo Palomares avatar  avatar

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.