dev:codestructure
This is an old revision of the document!
CP2K Code Structure
CP2K is a large, complex application which has many features, methods and algorithms implemented. When looking at the code for the first time it can be very challenging to understand how it all works, or even where to start looking! This page is intended for novice developers who have read and understood the literature and wish to locate the relevant algorithms and data structures in the code.
File Names
Source files should have prefix:
qs_*
for Quickstep related source codes (Hamiltonian construction, integration, collocation, energy minimisation and SCF cycle etc)xc_*
for Exchange-Correlation functionals used by Quickstepmd_*
for Molecular Dynamics related source codesmc_*
for Quantum Monte Carlo related source codesfist_*
for FIST classical MD related source codesinput_*
for general input functions of CP2Kqmmm_*
for QM/MM related source codesmesssage_*
for MPI message passing related source codesmachine_*
for architecture dependent codesadmm_*
for auxilliary density matrix (ADMM) method related codes
These prefixes are not exclusive, nor are they always logical. There are exceptions in code naming conventions.
dev/codestructure.1381331165.txt.gz · Last modified: 2020/08/21 10:14 (external edit)