introduction to octopus: a real-space (td)dft...

115
Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe 1 and the Octopus development team Department of Physics, University of California, Berkeley, CA, USA Materials Sciences Division, Lawrence Berkeley National Laboratory TDDFT 2012, Benasque 1 Filling in for Xavier Andrade (Harvard). D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 1 / 26

Upload: others

Post on 22-Mar-2020

20 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Introduction to Octopus:a real-space (TD)DFT code

David A. Strubbe1

and the Octopus development team

Department of Physics, University of California, Berkeley, CA, USAMaterials Sciences Division, Lawrence Berkeley National Laboratory

TDDFT 2012, Benasque

1Filling in for Xavier Andrade (Harvard).D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 1 / 26

Page 2: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Introduction

Time-dependent Kohn-Sham equation

i∂

∂tϕn(r, t) = −∇2ϕn + Veff [ρ] (r, t)ϕn(r, t)

ρ(r, t) =∑n

ϕ∗

n(r, t)ϕn(r, t)

Solve the equations numerically.

Represent functions and other objects.

Calculate derivatives and integrals.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 2 / 26

Page 3: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Introduction

Time-dependent Kohn-Sham equation

i∂

∂tϕn(r, t) = −∇2ϕn + Veff [ρ] (r, t)ϕn(r, t)

ρ(r, t) =∑n

ϕ∗

n(r, t)ϕn(r, t)

Solve the equations numerically.

Represent functions and other objects.

Calculate derivatives and integrals.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 2 / 26

Page 4: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Introduction

Time-dependent Kohn-Sham equation

i∂

∂tϕn(r, t) = −∇2ϕn + Veff [ρ] (r, t)ϕn(r, t)

ρ(r, t) =∑n

ϕ∗

n(r, t)ϕn(r, t)

Solve the equations numerically.

Represent functions and other objects.

Calculate derivatives and integrals.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 2 / 26

Page 5: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Pseudo-potentials

The atomic potential is very strongand “hard” (small spacing or highplane-wave cutoff required).

Core electrons are almost independentof the environment.

Replace the potential and core electronsby a pseudo-potential.

Norm-conserving pseudo-potentials in Kleinman-Bylander form

V = Vloc +∑lm

|lm〉 (Vl − Vloc) 〈lm|

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 3 / 26

Page 6: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Pseudo-potentials

The atomic potential is very strongand “hard” (small spacing or highplane-wave cutoff required).

Core electrons are almost independentof the environment.

Replace the potential and core electronsby a pseudo-potential.

Norm-conserving pseudo-potentials in Kleinman-Bylander form

V = Vloc +∑lm

|lm〉 (Vl − Vloc) 〈lm|

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 3 / 26

Page 7: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Pseudo-potentials

The atomic potential is very strongand “hard” (small spacing or highplane-wave cutoff required).

Core electrons are almost independentof the environment.

Replace the potential and core electronsby a pseudo-potential.

Norm-conserving pseudo-potentials in Kleinman-Bylander form

V = Vloc +∑lm

|lm〉 (Vl − Vloc) 〈lm|

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 3 / 26

Page 8: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Pseudo-potentials

The atomic potential is very strongand “hard” (small spacing or highplane-wave cutoff required).

Core electrons are almost independentof the environment.

Replace the potential and core electronsby a pseudo-potential.

Norm-conserving pseudo-potentials in Kleinman-Bylander form

V = Vloc +∑lm

|lm〉 (Vl − Vloc) 〈lm|

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 3 / 26

Page 9: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid

Partial differential equation with infinite degrees of freedom.

Reduce to a finite number.

Functions are represented by values on a set of points.Point distribution:

Uniformly spaced grid.Distance between points is constant: Spacing.Non-uniform grids also possible.

Finite region of the space: Box

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 4 / 26

Page 10: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid

Partial differential equation with infinite degrees of freedom.

Reduce to a finite number.

Functions are represented by values on a set of points.Point distribution:

Uniformly spaced grid.Distance between points is constant: Spacing.Non-uniform grids also possible.

Finite region of the space: Box

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 4 / 26

Page 11: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid

Partial differential equation with infinite degrees of freedom.

Reduce to a finite number.

Functions are represented by values on a set of points.Point distribution:

Uniformly spaced grid.Distance between points is constant: Spacing.Non-uniform grids also possible.

Finite region of the space: Box

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 4 / 26

Page 12: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid

Partial differential equation with infinite degrees of freedom.

Reduce to a finite number.

Functions are represented by values on a set of points.Point distribution:

Uniformly spaced grid.Distance between points is constant: Spacing.Non-uniform grids also possible.

Finite region of the space: Box

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 4 / 26

Page 13: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid

Partial differential equation with infinite degrees of freedom.

Reduce to a finite number.

Functions are represented by values on a set of points.Point distribution:

Uniformly spaced grid.Distance between points is constant: Spacing.Non-uniform grids also possible.

Finite region of the space: Box

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 4 / 26

Page 14: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid

Partial differential equation with infinite degrees of freedom.

Reduce to a finite number.

Functions are represented by values on a set of points.Point distribution:

Uniformly spaced grid.Distance between points is constant: Spacing.Non-uniform grids also possible.

Finite region of the space: Box

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 4 / 26

Page 15: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid

Partial differential equation with infinite degrees of freedom.

Reduce to a finite number.

Functions are represented by values on a set of points.Point distribution:

Uniformly spaced grid.Distance between points is constant: Spacing.Non-uniform grids also possible.

Finite region of the space: Box

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 4 / 26

Page 16: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid

Partial differential equation with infinite degrees of freedom.

Reduce to a finite number.

Functions are represented by values on a set of points.Point distribution:

Uniformly spaced grid.Distance between points is constant: Spacing.Non-uniform grids also possible.

Finite region of the space: Box

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 4 / 26

Page 17: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

For finite systems, functions go to zero.

Force functions to go to zero on the border of the box.

The box has to be large enough to contain the functions.

Other BCs are possible: periodic, zero derivative, open.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 5 / 26

Page 18: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

For finite systems, functions go to zero.

Force functions to go to zero on the border of the box.

The box has to be large enough to contain the functions.

Other BCs are possible: periodic, zero derivative, open.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 5 / 26

Page 19: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

For finite systems, functions go to zero.

Force functions to go to zero on the border of the box.

The box has to be large enough to contain the functions.

Other BCs are possible: periodic, zero derivative, open.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 5 / 26

Page 20: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

For finite systems, functions go to zero.

Force functions to go to zero on the border of the box.

The box has to be large enough to contain the functions.

Other BCs are possible: periodic, zero derivative, open.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 5 / 26

Page 21: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

Optimize the shape of the box to minimize the number of pointsneeded.Available box shapes:

Minimum box: union of spheres around each atom.Sphere.Cylinder.Parallelepiped.Arbitrary (e.g. 2D image!)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 6 / 26

Page 22: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

Optimize the shape of the box to minimize the number of pointsneeded.Available box shapes:

Minimum box: union of spheres around each atom.Sphere.Cylinder.Parallelepiped.Arbitrary (e.g. 2D image!)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 6 / 26

Page 23: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

Optimize the shape of the box to minimize the number of pointsneeded.Available box shapes:

Minimum box: union of spheres around each atom.Sphere.Cylinder.Parallelepiped.Arbitrary (e.g. 2D image!)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 6 / 26

Page 24: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

Optimize the shape of the box to minimize the number of pointsneeded.Available box shapes:

Minimum box: union of spheres around each atom.Sphere.Cylinder.Parallelepiped.Arbitrary (e.g. 2D image!)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 6 / 26

Page 25: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

Optimize the shape of the box to minimize the number of pointsneeded.Available box shapes:

Minimum box: union of spheres around each atom.Sphere.Cylinder.Parallelepiped.Arbitrary (e.g. 2D image!)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 6 / 26

Page 26: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

Optimize the shape of the box to minimize the number of pointsneeded.Available box shapes:

Minimum box: union of spheres around each atom.Sphere.Cylinder.Parallelepiped.Arbitrary (e.g. 2D image!)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 6 / 26

Page 27: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Boundary conditions

Optimize the shape of the box to minimize the number of pointsneeded.Available box shapes:

Minimum box: union of spheres around each atom.Sphere.Cylinder.Parallelepiped.Arbitrary (e.g. 2D image!)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 6 / 26

Page 28: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Example: benzene molecule in minimal box

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 7 / 26

Page 29: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 30: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 31: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 32: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 33: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 34: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 35: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 36: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 37: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 38: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 39: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Real-space grid characteristics

Natural boundary conditions for different problems:zero, one, two, or three periodic dimensions for molecules, wires,sheets, and solids.

Representation used for calculating Vxc [ρ] even with other bases.Can systematically improve discretization quality:

Decrease the spacing (like increasing plane-wave cutoff).Increase the box size (in finite directions).

Orthogonal “basis set”.

Unbiased, independent of atomic positions (no Pulay forces).Problems:

Breaking of translational invariance: egg-box effect.Breaking of rotational invariance.(Decreasing spacing helps both.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 8 / 26

Page 40: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Derivatives

Derivative at a point: sum over neighboring points.The coefficients cij depend on the mesh and number of pointsused: the stencil.General form for Laplacian:

∇2f(nxh, nyh) =n∑i

n∑j

cij

hf(nxh+ ih, nyh+ jh)

Compare definition of derivative:

f ′(x0) = limh→0

f(x0 + h)− f(x0)

∆x

More points → more precision.Semi-local operation.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 9 / 26

Page 41: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Derivatives

Derivative at a point: sum over neighboring points.The coefficients cij depend on the mesh and number of pointsused: the stencil.General form for Laplacian:

∇2f(nxh, nyh) =n∑i

n∑j

cij

hf(nxh+ ih, nyh+ jh)

Compare definition of derivative:

f ′(x0) = limh→0

f(x0 + h)− f(x0)

∆x

More points → more precision.Semi-local operation.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 9 / 26

Page 42: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Derivatives

Derivative at a point: sum over neighboring points.The coefficients cij depend on the mesh and number of pointsused: the stencil.General form for Laplacian:

∇2f(nxh, nyh) =n∑i

n∑j

cij

hf(nxh+ ih, nyh+ jh)

Compare definition of derivative:

f ′(x0) = limh→0

f(x0 + h)− f(x0)

∆x

More points → more precision.Semi-local operation.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 9 / 26

Page 43: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Derivatives

Derivative at a point: sum over neighboring points.The coefficients cij depend on the mesh and number of pointsused: the stencil.General form for Laplacian:

∇2f(nxh, nyh) =n∑i

n∑j

cij

hf(nxh+ ih, nyh+ jh)

Compare definition of derivative:

f ′(x0) = limh→0

f(x0 + h)− f(x0)

∆x

More points → more precision.Semi-local operation.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 9 / 26

Page 44: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Derivatives

Derivative at a point: sum over neighboring points.The coefficients cij depend on the mesh and number of pointsused: the stencil.General form for Laplacian:

∇2f(nxh, nyh) =n∑i

n∑j

cij

hf(nxh+ ih, nyh+ jh)

Compare definition of derivative:

f ′(x0) = limh→0

f(x0 + h)− f(x0)

∆x

More points → more precision.Semi-local operation.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 9 / 26

Page 45: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Derivatives

Derivative at a point: sum over neighboring points.The coefficients cij depend on the mesh and number of pointsused: the stencil.General form for Laplacian:

∇2f(nxh, nyh) =n∑i

n∑j

cij

hf(nxh+ ih, nyh+ jh)

Compare definition of derivative:

f ′(x0) = limh→0

f(x0 + h)− f(x0)

∆x

More points → more precision.Semi-local operation.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 9 / 26

Page 46: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Example of stencil for Laplacian

Symmetric third-order in 2D.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 10 / 26

Page 47: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Integration

Trapezoidal rule ∫f(x, y) dx dy = h2

∑ij

f(ih, jh)

Sum over grid points.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 11 / 26

Page 48: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Integration

Trapezoidal rule ∫f(x, y) dx dy = h2

∑ij

f(ih, jh)

Sum over grid points.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 11 / 26

Page 49: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Ground-state calculations

What we want to solve:

Kohn-Sham equations

−∇2ϕn + Veff [ρ] (r)ϕn = ǫnϕn

We use a self-consistency scheme to treat non-linearity.

Solve for eigenstates at fixed Veff , then update ρ and Veff .

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 12 / 26

Page 50: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Ground-state calculations

What we want to solve:

Kohn-Sham equations

−∇2ϕn + Veff [ρ] (r)ϕn = ǫnϕn

We use a self-consistency scheme to treat non-linearity.

Solve for eigenstates at fixed Veff , then update ρ and Veff .

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 12 / 26

Page 51: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Ground-state calculations

What we want to solve:

Kohn-Sham equations

−∇2ϕn + Veff [ρ] (r)ϕn = ǫnϕn

We use a self-consistency scheme to treat non-linearity.

Solve for eigenstates at fixed Veff , then update ρ and Veff .

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 12 / 26

Page 52: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Ground-state calculations

What we want to solve:

Kohn-Sham equations

−∇2ϕn + Veff [ρ] (r)ϕn = ǫnϕn

We use a self-consistency scheme to treat non-linearity.

Solve for eigenstates at fixed Veff , then update ρ and Veff .

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 12 / 26

Page 53: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Discretization of the Hamiltonian

For the Laplacian (kinetic energy) we use finite differences.

The local part of the potential can be applied directly.

The non-local potential is applied in a small spherical grid aroundthe atoms.

The Hamiltonian becomes a finite-size matrix.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 13 / 26

Page 54: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Discretization of the Hamiltonian

For the Laplacian (kinetic energy) we use finite differences.

The local part of the potential can be applied directly.

The non-local potential is applied in a small spherical grid aroundthe atoms.

The Hamiltonian becomes a finite-size matrix.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 13 / 26

Page 55: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Discretization of the Hamiltonian

For the Laplacian (kinetic energy) we use finite differences.

The local part of the potential can be applied directly.

The non-local potential is applied in a small spherical grid aroundthe atoms.

The Hamiltonian becomes a finite-size matrix.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 13 / 26

Page 56: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Discretization of the Hamiltonian

For the Laplacian (kinetic energy) we use finite differences.

The local part of the potential can be applied directly.

The non-local potential is applied in a small spherical grid aroundthe atoms.

The Hamiltonian becomes a finite-size matrix.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 13 / 26

Page 57: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The eigenproblem

Find the eigenvectors and eigenvalues of a matrix.

Very large matrix with lots of zero components (Sparse).

Use iterative solvers where only the action of the matrix isrequired (various options available in the code).

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 14 / 26

Page 58: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The eigenproblem

Find the eigenvectors and eigenvalues of a matrix.

Very large matrix with lots of zero components (Sparse).

Use iterative solvers where only the action of the matrix isrequired (various options available in the code).

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 14 / 26

Page 59: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The eigenproblem

Find the eigenvectors and eigenvalues of a matrix.

Very large matrix with lots of zero components (Sparse).

Use iterative solvers where only the action of the matrix isrequired (various options available in the code).

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 14 / 26

Page 60: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The eigensolver

We minimize (using conjugate gradient or other method):

Rayleigh-Ritz quotient

ǫ(ψ) =〈ψ|H|ψ〉

〈ψ|ψ〉

Works for the first state.

For higher-energy states, it is necessary to orthogonalize againstthe lower ones.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 15 / 26

Page 61: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The eigensolver

We minimize (using conjugate gradient or other method):

Rayleigh-Ritz quotient

ǫ(ψ) =〈ψ|H|ψ〉

〈ψ|ψ〉

Works for the first state.

For higher-energy states, it is necessary to orthogonalize againstthe lower ones.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 15 / 26

Page 62: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The eigensolver

We minimize (using conjugate gradient or other method):

Rayleigh-Ritz quotient

ǫ(ψ) =〈ψ|H|ψ〉

〈ψ|ψ〉

Works for the first state.

For higher-energy states, it is necessary to orthogonalize againstthe lower ones.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 15 / 26

Page 63: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The eigensolver

We minimize (using conjugate gradient or other method):

Rayleigh-Ritz quotient

ǫ(ψ) =〈ψ|H|ψ〉

〈ψ|ψ〉

Works for the first state.

For higher-energy states, it is necessary to orthogonalize againstthe lower ones.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 15 / 26

Page 64: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Time-propagation

Given an initial condition, solve the:

Time-dependent Kohn-Sham equation

i∂ϕk

∂t= −∇2ϕk + Veff [ρ] (r, t)ϕk

Various numerical schemes of doing the time-propagation.

Many properties can be obtained.

Response to time-dependent fields: lasers.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 16 / 26

Page 65: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Time-propagation

Given an initial condition, solve the:

Time-dependent Kohn-Sham equation

i∂ϕk

∂t= −∇2ϕk + Veff [ρ] (r, t)ϕk

Various numerical schemes of doing the time-propagation.

Many properties can be obtained.

Response to time-dependent fields: lasers.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 16 / 26

Page 66: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Time-propagation

Given an initial condition, solve the:

Time-dependent Kohn-Sham equation

i∂ϕk

∂t= −∇2ϕk + Veff [ρ] (r, t)ϕk

Various numerical schemes of doing the time-propagation.

Many properties can be obtained.

Response to time-dependent fields: lasers.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 16 / 26

Page 67: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Time-propagation

Given an initial condition, solve the:

Time-dependent Kohn-Sham equation

i∂ϕk

∂t= −∇2ϕk + Veff [ρ] (r, t)ϕk

Various numerical schemes of doing the time-propagation.

Many properties can be obtained.

Response to time-dependent fields: lasers.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 16 / 26

Page 68: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Time-propagation

Given an initial condition, solve the:

Time-dependent Kohn-Sham equation

i∂ϕk

∂t= −∇2ϕk + Veff [ρ] (r, t)ϕk

Various numerical schemes of doing the time-propagation.

Many properties can be obtained.

Response to time-dependent fields: lasers.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 16 / 26

Page 69: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Absorption spectra from time-propagation

Start from the ground state, with a ‘kick.’

Time-dependent potential

V (r, t) = κδ(t) ⇒ ψ → ψeik·r

Time-propagate and get the dipole d(t) as a function of time.

Polarizability tensor

αij(ω) = −1

κi

∫dt eiωtdj(t)

Absorption cross section

σ(ω) =4πω

cℑ [α(ω)]

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 17 / 26

Page 70: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Absorption spectra from time-propagation

Start from the ground state, with a ‘kick.’

Time-dependent potential

V (r, t) = κδ(t) ⇒ ψ → ψeik·r

Time-propagate and get the dipole d(t) as a function of time.

Polarizability tensor

αij(ω) = −1

κi

∫dt eiωtdj(t)

Absorption cross section

σ(ω) =4πω

cℑ [α(ω)]

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 17 / 26

Page 71: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Absorption spectra from time-propagation

Start from the ground state, with a ‘kick.’

Time-dependent potential

V (r, t) = κδ(t) ⇒ ψ → ψeik·r

Time-propagate and get the dipole d(t) as a function of time.

Polarizability tensor

αij(ω) = −1

κi

∫dt eiωtdj(t)

Absorption cross section

σ(ω) =4πω

cℑ [α(ω)]

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 17 / 26

Page 72: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Absorption spectra from time-propagation

Start from the ground state, with a ‘kick.’

Time-dependent potential

V (r, t) = κδ(t) ⇒ ψ → ψeik·r

Time-propagate and get the dipole d(t) as a function of time.

Polarizability tensor

αij(ω) = −1

κi

∫dt eiωtdj(t)

Absorption cross section

σ(ω) =4πω

cℑ [α(ω)]

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 17 / 26

Page 73: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Absorption spectra from time-propagation

Start from the ground state, with a ‘kick.’

Time-dependent potential

V (r, t) = κδ(t) ⇒ ψ → ψeik·r

Time-propagate and get the dipole d(t) as a function of time.

Polarizability tensor

αij(ω) = −1

κi

∫dt eiωtdj(t)

Absorption cross section

σ(ω) =4πω

cℑ [α(ω)]

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 17 / 26

Page 74: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus2

Fortran 95 and C (+ some Perl utilities).

Focused on finite systems (periodic systems possible too).

Norm-conserving pseudopotentials.

Real-space grid representation.

Current version is 4.0.

DFT with many functionals (from libxc),Hartree-Fock, Hartree

2http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 18 / 26

Page 75: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus2

Fortran 95 and C (+ some Perl utilities).

Focused on finite systems (periodic systems possible too).

Norm-conserving pseudopotentials.

Real-space grid representation.

Current version is 4.0.

DFT with many functionals (from libxc),Hartree-Fock, Hartree

2http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 18 / 26

Page 76: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus2

Fortran 95 and C (+ some Perl utilities).

Focused on finite systems (periodic systems possible too).

Norm-conserving pseudopotentials.

Real-space grid representation.

Current version is 4.0.

DFT with many functionals (from libxc),Hartree-Fock, Hartree

2http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 18 / 26

Page 77: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus2

Fortran 95 and C (+ some Perl utilities).

Focused on finite systems (periodic systems possible too).

Norm-conserving pseudopotentials.

Real-space grid representation.

Current version is 4.0.

DFT with many functionals (from libxc),Hartree-Fock, Hartree

2http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 18 / 26

Page 78: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus2

Fortran 95 and C (+ some Perl utilities).

Focused on finite systems (periodic systems possible too).

Norm-conserving pseudopotentials.

Real-space grid representation.

Current version is 4.0.

DFT with many functionals (from libxc),Hartree-Fock, Hartree

2http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 18 / 26

Page 79: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus2

Fortran 95 and C (+ some Perl utilities).

Focused on finite systems (periodic systems possible too).

Norm-conserving pseudopotentials.

Real-space grid representation.

Current version is 4.0.

DFT with many functionals (from libxc),Hartree-Fock, Hartree

2http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 18 / 26

Page 80: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

References

Two papers on the Octopus code:

A. Castro, H. Appel, Micael Oliveira, C.A. Rozzi, X. Andrade, F.Lorenzen, M.A.L. Marques, E.K.U. Gross, and A. Rubio, “octopus:a tool for the application of time-dependent density functionaltheory,” Phys. Stat. Sol. B 243, 2465-2488 (2006).

M.A.L. Marques, Alberto Castro, George F. Bertsch, and AngelRubio, “octopus: a first-principles tool for excited electron-iondynamics,” Comput. Phys. Commun. 151, 60-78 (2003).

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 19 / 26

Page 81: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Pulpo a feira (pulpo a la gallega)

The origin of the name Octopus. (Recipe available in code.)

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 20 / 26

Page 82: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus3

Ground-state DFT.

Time-propagation.

Molecular dynamics (Ehrenfest, Born-Oppenheimer,Car-Parrinello).

Casida linear response.

Sternheimer linear response for electromagnetic response,phonons, Van der Waals coefficients.

Optimal control theory.

Real-time quantum transport.

(Other experimental features.)

3http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 21 / 26

Page 83: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus3

Ground-state DFT.

Time-propagation.

Molecular dynamics (Ehrenfest, Born-Oppenheimer,Car-Parrinello).

Casida linear response.

Sternheimer linear response for electromagnetic response,phonons, Van der Waals coefficients.

Optimal control theory.

Real-time quantum transport.

(Other experimental features.)

3http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 21 / 26

Page 84: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus3

Ground-state DFT.

Time-propagation.

Molecular dynamics (Ehrenfest, Born-Oppenheimer,Car-Parrinello).

Casida linear response.

Sternheimer linear response for electromagnetic response,phonons, Van der Waals coefficients.

Optimal control theory.

Real-time quantum transport.

(Other experimental features.)

3http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 21 / 26

Page 85: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus3

Ground-state DFT.

Time-propagation.

Molecular dynamics (Ehrenfest, Born-Oppenheimer,Car-Parrinello).

Casida linear response.

Sternheimer linear response for electromagnetic response,phonons, Van der Waals coefficients.

Optimal control theory.

Real-time quantum transport.

(Other experimental features.)

3http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 21 / 26

Page 86: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus3

Ground-state DFT.

Time-propagation.

Molecular dynamics (Ehrenfest, Born-Oppenheimer,Car-Parrinello).

Casida linear response.

Sternheimer linear response for electromagnetic response,phonons, Van der Waals coefficients.

Optimal control theory.

Real-time quantum transport.

(Other experimental features.)

3http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 21 / 26

Page 87: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus3

Ground-state DFT.

Time-propagation.

Molecular dynamics (Ehrenfest, Born-Oppenheimer,Car-Parrinello).

Casida linear response.

Sternheimer linear response for electromagnetic response,phonons, Van der Waals coefficients.

Optimal control theory.

Real-time quantum transport.

(Other experimental features.)

3http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 21 / 26

Page 88: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus3

Ground-state DFT.

Time-propagation.

Molecular dynamics (Ehrenfest, Born-Oppenheimer,Car-Parrinello).

Casida linear response.

Sternheimer linear response for electromagnetic response,phonons, Van der Waals coefficients.

Optimal control theory.

Real-time quantum transport.

(Other experimental features.)

3http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 21 / 26

Page 89: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus3

Ground-state DFT.

Time-propagation.

Molecular dynamics (Ehrenfest, Born-Oppenheimer,Car-Parrinello).

Casida linear response.

Sternheimer linear response for electromagnetic response,phonons, Van der Waals coefficients.

Optimal control theory.

Real-time quantum transport.

(Other experimental features.)

3http://www.tddft.org/programs/octopus

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 21 / 26

Page 90: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 91: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 92: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 93: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 94: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 95: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 96: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 97: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 98: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 99: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 100: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 101: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 102: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Parallelization

Parallelization in domains:Each processor handles points in a region of space.Points in the boundaries of each region must be copied to othernodes.Integrals are performed locally and summed over all domains.Efficient and scalable scheme.

Parallelization in states:Each processor handles a group of states.Efficient scheme for time-propagation.Also applicable for the ground state.

Parallelization in k-points/spin.

Parallelization in electron-hole pairs (for Casida linear response).

Combined parallelization.

Scales to thousands of processors.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 22 / 26

Page 103: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

License

Octopus is free open-source software (GNU Public License v2).Free to use it.Study the code and modify it.Contribute back your changes.

New developers are welcome.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 23 / 26

Page 104: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

License

Octopus is free open-source software (GNU Public License v2).Free to use it.Study the code and modify it.Contribute back your changes.

New developers are welcome.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 23 / 26

Page 105: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

License

Octopus is free open-source software (GNU Public License v2).Free to use it.Study the code and modify it.Contribute back your changes.

New developers are welcome.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 23 / 26

Page 106: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

License

Octopus is free open-source software (GNU Public License v2).Free to use it.Study the code and modify it.Contribute back your changes.

New developers are welcome.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 23 / 26

Page 107: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

License

Octopus is free open-source software (GNU Public License v2).Free to use it.Study the code and modify it.Contribute back your changes.

New developers are welcome.

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 23 / 26

Page 108: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

Octopus developers

Joseba Alberdi (Universidad del Paıs Vasco, San Sebastian)

Xavier Andrade (Harvard)

Heiko Appel (Fritz-Haber Institut)

Alberto Castro (BIFI, Zaragoza)

Miguel Marques (Universite Lyon I)

Danilo Nitsche (Freie Universitat Berlin)

Fernando Nogueira (Universidade de Coimbra)

Micael Oliveira (Universidade de Coimbra)

Carlo Andrea Rozzi (Universita di Modena e Reggio Emilia)

Angel Rubio (UPV San Sebastian and FHI)

David Strubbe (University of California, Berkeley; LBNL)

Other contributors: Fulvio Berardi, Johanna Fuks, Umberto de Giovannini, Nicole Helbig, David Kammerlander, Kevin Krieger,Florian Lorenzen, Juho Ojajarvi, Roberto Olivares-Amaya, Pablo Garcıa Risueno, Arto Sakko, Jose Rui Faustino Sousa, AxelThimm, Matthieu Verstraete, Jessica Walkenhorst, Jan Werschnik

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 24 / 26

Page 109: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The tutorial4

Ground-state calculation.

Optimizing grid parameters.

Visualization.

Time-propagation with a laser.

Optical spectrum from time-propagation.

Optical spectrum from a Casida calculation.

4http://www.tddft.org/programs/octopus/wiki/index.php/TutorialD. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 25 / 26

Page 110: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The tutorial4

Ground-state calculation.

Optimizing grid parameters.

Visualization.

Time-propagation with a laser.

Optical spectrum from time-propagation.

Optical spectrum from a Casida calculation.

4http://www.tddft.org/programs/octopus/wiki/index.php/TutorialD. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 25 / 26

Page 111: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The tutorial4

Ground-state calculation.

Optimizing grid parameters.

Visualization.

Time-propagation with a laser.

Optical spectrum from time-propagation.

Optical spectrum from a Casida calculation.

4http://www.tddft.org/programs/octopus/wiki/index.php/TutorialD. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 25 / 26

Page 112: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The tutorial4

Ground-state calculation.

Optimizing grid parameters.

Visualization.

Time-propagation with a laser.

Optical spectrum from time-propagation.

Optical spectrum from a Casida calculation.

4http://www.tddft.org/programs/octopus/wiki/index.php/TutorialD. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 25 / 26

Page 113: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The tutorial4

Ground-state calculation.

Optimizing grid parameters.

Visualization.

Time-propagation with a laser.

Optical spectrum from time-propagation.

Optical spectrum from a Casida calculation.

4http://www.tddft.org/programs/octopus/wiki/index.php/TutorialD. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 25 / 26

Page 114: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The tutorial4

Ground-state calculation.

Optimizing grid parameters.

Visualization.

Time-propagation with a laser.

Optical spectrum from time-propagation.

Optical spectrum from a Casida calculation.

4http://www.tddft.org/programs/octopus/wiki/index.php/TutorialD. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 25 / 26

Page 115: Introduction to Octopus: a real-space (TD)DFT codebenasque.org/2012tddft/talks_contr/0410_pres.pdf · Introduction to Octopus: a real-space (TD)DFT code David A. Strubbe1 and the

The tutorial

Have fun!

D. A. Strubbe (UC Berkeley/LBNL) Introduction to Octopus TDDFT 2012, Benasque 26 / 26