GithubHelp home page GithubHelp logo

erebolini / xcfun Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dftlibs/xcfun

0.0 2.0 0.0 587 KB

Exchange-Correlation functionals with arbitrary order derivatives.

Home Page: http://dftlibs.org/xcfun/

License: GNU General Public License v3.0

CMake 4.96% Fortran 4.04% C 26.20% Python 4.84% Shell 0.04% C++ 59.93%

xcfun's Introduction

Build Status License: LGPL v3

Arbitrary order Exchange-Correlation functional library

Copyright Ulf Ekström [email protected] and contributors 2009-2017. See http://dftlibs.org/xcfun/ for more information.

The main interface is in include/xcfun.h (or fortran/xc_fun_module.f90 for Fortran bindings).

License

The project license is specified in COPYING.md and COPYING.LESSER.md

XCFun is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

In addition to the rights granted to you under the LGPL license (described in COPYING.md and COPYING.LESSER.md) you may distribute the compiled XCFun library statically linked to an application. It is understood that doing so will prevent the end user from relinking the application to a newer version of the XCFun library, but static linking is explicitly allowed by this exception. This exception does not free you from your obligation under the LGPL to provide the full (possibly modified by you) source code of the XCFun library to anyone who receives a copy of the library or an application linked to the library.

XCFun is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

Documentation

Contribution guide

  • All patches are contributed through fork-pull request mechanism.
  • We do not require any formal copyright assignment or contributor license agreement. Any contributions intentionally sent upstream are presumed to be offered under terms of the LGPL version 3.0.
  • Maintainers do not push directly to the repository.
  • Maintainers do not review their own patches.
  • Approval of one maintainer is sufficient for trivial patches.
  • Trivial patches are typos and trivial bugfixes.
  • For any patch that is not trivial, two maintainers need to sign off the patch.
  • TODO: We need to better define what "trivial" means.

Configuration

Check that XC_MAX_ORDER is defined to the highest order derivatives you need (and not higher) in src/config.h~. Using a too large value for XC_MAX_ORDER` makes compilation slow and the generated code huge.

Building a debug/development version

Edit the Makefile that matches your compiler (Makefile.gcc or Makefile.intel or ...) to set CXX (C++ compiler) and flags and run

$ make -f Makefile.gcc

(or using the corresponding Makefile) This will create the library file lib/libxcfun.so

Building an optimized version

Edit the Makefile that matches your compiler (Makefile.gcc or Makefile.intel or ...) and add -DNDEBUG to the compiler flags. Add optimization compiler options. Make sure your compiler performs inlining (-O3 with gcc).

xcfun's People

Contributors

uekstrom avatar bast avatar simensr avatar chjacob-tubs avatar aspgomes avatar robertodr avatar sarahrei avatar ajborgoo avatar juselius avatar miroi avatar yurivict avatar sarahr avatar

Watchers

James Cloos 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.