GithubHelp home page GithubHelp logo

atoms.jl's Introduction

Atoms.jl

https://travis-ci.org/jagot/Atoms.jl.svg?branch=master https://coveralls.io/repos/github/jagot/Atoms.jl/badge.svg?branch=master http://codecov.io/gh/jagot/Atoms.jl/branch/master/graph/badge.svg

A small package for quickly setting up MultIndices useful for computations with atoms (which are usually treated as spherically symmetric systems).

Atomic data provided by https://github.com/andrejewski/periodic-table/.

Usage

using Atoms

Create an argon atom in the Breit–Pauli approximation, with a maximum ℓ = 10:

Ar = BreitPauliAtom(:Ar, 10)
Argon (Atoms.BreitPauliAtom; ℓmax = 11, 121 partial waves ⊗ 2 spins)
N = 18, ground state: [Ne]ᶜ 3s² 3p⁶

The size of the tensor product space is

size(space(Ar))
(121, 2, 18)

We can also create helium-like argon:

HeAr = BreitPauliAtom(:He, 10, Z=:Ar)
Helium-like Argon (Atoms.BreitPauliAtom; ℓmax = 11, 121 partial waves ⊗ 2 spins)
N = 2, Z = 18, ground state: 1s²
size(space(HeAr))
(121, 2, 2)

In the single-active electron approximation, with cylindrical symmetry, we can do the following

ArSAE = SAEAtom2D(:Ar, 10)
Argon (Atoms.SAEAtom; ℓmax = 11, 2d)
N = 18, ground state: [Ne]ᶜ 3s² 3p⁶
size(space(ArSAE))
11

atoms.jl's People

Contributors

jagot 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.