Giter VIP home page Giter VIP logo

1d-mctdhb's Introduction

MCTDHB in 1-dimension

A package for numerical time evolution of multiconfigurational time-dependent Hartree method for bosons(MCTDHB). This method is a generalization of the mean field approach, where the atoms have more than one single particle state for occupation and all the possible configurations of particles in these single particle states (a.k.a orbitals) are consided. For a first contact with the analytical derivation of the method see:

Dependencies

To properly install the package, the following dependencies are required

after the installation of these dependencies, copy the include files of the cpy-dataio and odelib to the directory ${HOME}/.local/include and the libraries to ${HOME}/.local/lib (create these dirs if needed).

Installation

If all dependencies are satisfied, it is easy to install with cmake. Inside the directory cloned just run

cmake -S . -B build -DCMAKE_C_COMPILER=icc && cmake --build build --target install

The library will be located at lib dir and the main executable at bin.

Basic usage - main program (in development)

Some description on config files and initial data generation with python

1d-mctdhb's People

Contributors

andriati-alex avatar

Watchers

 avatar

1d-mctdhb's Issues

Use argparse lib in seed generation

The argparse lib in python provide a better script description and name to command line parameters required. This shall improve the usability due to a better documentation.

Reduce nonlinear computational cost

In real time dependent problems, with the overlap matrix introduce to improve orthogonality preservation, the algorithm display a bottleneck in treating the orbitals nonlinear part. In worst case it is possibly scaling as M^6.

Enhance python analysis module

Include a class data structure to analyze output data from C programs, computing some features in class initialization.

The integer sizes

With the recently reported bug in #6 and its apparent solution in 6f5a1a8, the usage of limited sized integers seems a bit dangerous, specifically in indexing computing on configurational space. Despite the use in function signatures is nice as the documentation became more instructive for end users, inside function scope overflows may accidentally occur causing an undefined behavior, which is very dangerous.

Bug: undefined behavior

In a simulation using 11 particles and 7 orbitals, a segmentation fault error eventually occur. According to GDB, the problem is in computing the set_twobody_dm

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.