Git Product home page Git Product logo

dmfttools's Introduction

dmfttools's People

Contributors

aamaricci avatar angelovalli avatar beddalumia avatar fpetocchi avatar giacmazza avatar lcrippa avatar samuelegiuli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dmfttools's Issues

Build system does not honor -DCMAKE_INSTALL_PREFIX and forces odd paths

Is it possible to fix custom installation directory? Currently CMAKE_INSTALL_PREFIX is ignored altogether, and port configures with:

-- Version file: /opt/local/var/macports/build/_opt_PPCRosettaPorts_science_DMFTtools/DMFTtools/work/build/etc/modules/dmft_tools/gnu/.version
-- Module file: dmft_tools/gnu/2.2.3
-- Library version: 2.2.3
-- Library will be installed in: /opt/local/var/macports/build/_opt_PPCRosettaPorts_science_DMFTtools/DMFTtools/work/.home/opt/dmft_tools/gnu/2.2.3

Which obviously cannot work.

TB_get_bk and TB_get_ei behaviour

Hey everyone,
I noticed that currently the the behaviour of TB_get_bk and TB_get_ei in TB_BASIS.f90 is to call TB_reciprocal_basis without checking if bk or ei where already set by the user. In my eyes, this is a quit unintuitive behaviour. Also it can potentially result in bugs when only one of the values was set by the user and then for what reason ever the user makes a call to TB_get_xx (where xx is the basis the user already set). This then would return the reciprocal of the default basis and not the user set basis. I think the least intrusive way to fix this would be to place a warning. Of course this does not prevent the user to introduce a bug in his/her code. For that I would either raise an error and leave the current behaviour or: check wether the basis was already set. If so return it. If not check whether the other basis was set. If so calculate new basis. If not through an error.
Best, Sever

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.