Descpription of modules system: available modules, operators, and ascociated options.
The modules system is how you interact with ampsci after the wavefunction has been calculated. Any number of modules can be run in the same job to compute matrix elements, polarisabilities, QED corrections, structure radiation, and more.
- See Matrix Elements for a hands-on introduction to using modules.
- The modules system allows the easy calculation of any atomic properties after the wavefunction has been calculated.
- Any number of modules can be run by adding
Module::moduleName{} blocks.
- The code is designed so that you can easily create your own modules – see Writing custom modules.
- You can also write your own operators – see Writing a custom operator.
Getting started with modules
Get a list of available modules: ./ampsci -m
Output will look something like this (example):
Available modules:
* WriteOrbitals
Write orbitals to disk for plotting
* matrixElements
Calculates matrix elements of any operator
* CI_matrixElements
Calculates matrix elements of any
operator for CI wavefunctions
* polarisability
Calculates static polarisabilities
* dynamicPolarisability
Calculates dynamic polarisabilities
* transitionPolarisability
Calculates transition polarisabilities
* structureRad
Calculates Struct. Rad + Normalisation corrections to MEs
* fieldShift
Calculates field-shift constants (isotope shift)
QED corrections to energies/matrix elements
* Breit
Breit corrections to energies
* Kionisation
Calculate atomic ionisation form-factors
* exampleModule
A short description of the module
Functions and classes for Configuration Interaction calculations.
Definition CI_Integrals.cpp:11
Radiative QED corrections (Flambaum-Ginges Radiative Potenti)
Definition RadPot.cpp:11
You can also get most of this information directly from the command-line:
./ampsci -m <ModuleName>
- Prints list of available Modules (same as –modules)
- ModuleName is optional. If given, will list available options for that Module
- Note the output is in the same format as required by the input file - you can copy+paste this into your input file.
./ampsci -m MatrixElements
Module::MatrixElements{
operator;
options{}
rpa;
omega;
printBoth;
use_spectrum;
diagonal;
off-diagonal;
StructureRadiation{}
}
StructureRadiation{
Qk_file;
n_minmax;
}