Loading...
Searching...
No Matches
q3::addons Namespace Reference

Functions

void register_all ()
 No add-on is compiled in, so there is nothing to register.
 

Detailed Description

q3::addons::register_all() — register every build-time add-on this build compiled in.

Every entry point calls it once, as its first statement, so that the registries (input formats, pseudopotential formats, PAW one-centre conventions, volumetric formats) are complete before anything parses an argument or reads an input. It runs before MPI is initialised and before the logger exists, so registration makes no MPI calls and logs nothing.

The definition is generated by cmake/Q3Addons.cmake into q3_addon_registration.hpp. Only entry points include this header, so the add-on headers that generated file pulls in never enter a core translation unit. Without the generated header (a tool compiling a header on its own, outside the build) no add-on is registered.

Function Documentation

◆ register_all()

void q3::addons::register_all ( )
inline

No add-on is compiled in, so there is nothing to register.

Definition at line 26 of file addon_registration.hpp.

Referenced by main(), NB_MODULE(), and q3::cli::run_gpu_entry_point().