Skip to content

Commit ae334ca

Browse files
committed
docs: add doxygen info Halo, ModelMPI and ModelMetadata
1 parent c683062 commit ae334ca

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

core/src/include/Halo.hpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
/*!
22
* @author Tom Meltzer <tdm39@cam.ac.uk>
3+
* @brief Halo exchange class
4+
* @details
5+
*
6+
* Halo exchange class
7+
*
8+
* All functionality for halo exchange between MPI ranks is contained in this class.
9+
*
10+
* Halo supports the main data structures of NextSim e.g., ModelArray and DGVector.
11+
*
12+
* The halos are exchange via one-sided MPI communication using RMA.
313
*/
414

515
#ifndef HALO_HPP

core/src/include/ModelMPI.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
/*!
22
* @author Tom Meltzer <tdm39@cam.ac.uk>
3+
* @brief Model MPI singleton
4+
* @details
5+
*
6+
* Model MPI singleton
7+
*
8+
* MPI metadata is stored in the singleton.
39
*/
410

511
#ifndef MODELMPI_HPP

core/src/include/ModelMetadata.hpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
/*!
22
* @author Tim Spain <timothy.spain@nersc.no>
3+
* @author Tom Meltzer <tdm39@cam.ac.uk>
4+
* @brief Model metadata as a singleton class
5+
* @details
6+
*
7+
* Model metadata as a singleton class
8+
*
9+
* This class holds the metadata pertaining to the model as a whole, as well as the MPI metadata
10+
* which is used for halo exchange.
11+
*
12+
* The first time getInstance() is called, the class is initialized. If compiled with MPI then a
13+
* partition file must be supplied.
314
*/
415

516
#ifndef MODELMETADATA_HPP

0 commit comments

Comments
 (0)