Coder Social home page Coder Social logo

akum04 / tudatbundle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tudat/tudatbundle

0.0 1.0 0.0 21.12 MB

Tudat Bundle packs Tudat and external libraries in a modular fashion.

Home Page: http://tudat.tudelft.nl

License: BSD 3-Clause "New" or "Revised" License

CMake 100.00%

tudatbundle's Introduction

Tudat Bundle

The Tudat bundle contains Tudat and a number of external libraries in a modular fashion. The TU Delft Astrodynamics Toolbox (Tudat) is a set of C++ software libraries for simulating various astrodynamics applications, for more info see the Tudat website.

Instructions

This document contains minimal information on how to build the Tudat bundle. For more information see documentation below.

Building the project

  1. Clone the repository on your computer (or fork and then clone)

     git clone https://github.com/tudat/tudatBundle.git
    
  2. Enter the new directory

     cd tudatBundle
    
  3. Checkout all the submodules (optionally you can clone only the necessary submodules)

     git submodule update --init --recursive
    
  4. Make a new build directory and enter

     mkdir build && cd build
    
  5. Initiate CMake for the project

     cmake ../
    
  6. Build the project

     make
    

Note: it can happen that due to dependencies between the submodules the make process quits with an error (after building SPICE, for instance). In this case, please repeat steps 5 and 6 once or twice.

### Switching on/off libraries and applications

By default only the SPICE library is build. You can enable/disable which libraries are build by manipulating special use switches:

  1. Each library has such a switch, these are: USE_CSPICE, USE_NRLMSISE, USE_PAGMO.

  2. You can turn on or off such a switch as an argument to CMake. For instance, the following will disable SPICE, but enable the nrlmsise-00 atmopshere model:

     cmake ../ -DUSE_CSPICE=0 -DUSE_NRLMSISE=1
    

Detailed control and to specification of detailed build options for external libraries (like building of examples and tests) can be achieved by editing CMakeLists.txt.

Creating your own applications

  1. Copy the templateApplication from tudatExampleApplications to tudatApplications and give it your own name:

     cp -R tudatExampleApplications/templateApplication tudatApplications/myApplication
     cd tudatApplications/myApplication
     mv TemplateApplication MyApplication
    
  2. Add your project to the top-level CMakeLists.txt, like so:

     add_subdirectory("${PROJECTROOT}/tudatApplications/myApplication/MyApplication")
    
  3. Re-run cmake and make commands.

Documentation

tudatbundle's People

Contributors

aleixpinardell avatar dominicdirkx avatar lupif avatar magnific0 avatar reneh107 avatar

Watchers

 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.