This file defines all includes for HILA.
More...
#include <cstdint>
#include <iostream>
#include <array>
#include <vector>
#include <sstream>
#include <type_traits>
#include <cmath>
#include <iomanip>
#include <mpi.h>
#include "params.h"
#include <assert.h>
#include "plumbing/memalloc.h"
#include "plumbing/timing.h"
#include "plumbing/logger.h"
#include "plumbing/backend_cpu/defs.h"
#include "plumbing/random.h"
#include "plumbing/type_tools.h"
#include "plumbing/has_unary_minus.h"
#include "plumbing/real_var_ops.h"
Go to the source code of this file.
|
namespace | hila |
| Implement hila::swap for gauge fields.
|
|
|
void | hila::initialize (int argc, char **argv) |
| Read in command line arguments. Initialise default stream and MPI communication.
|
|
void | hila::finishrun () |
| Normal, controlled exit - all nodes must call this. Prints timing information and information about communications.
|
|
void | hila::terminate (int status) |
|
void | hila::error (const char *msg) |
| Print message and force quit.
|
|
int | hila::myrank () |
| rank of this node
|
|
int | hila::number_of_nodes () |
| how many nodes there are
|
|
void | hila::synchronize () |
| synchronize mpi
|
|
template<typename T > |
constexpr T | sqr (const T &arg) |
| Define convenience function sqr(), returning square of argument.
|
|
|
std::ostream | hila::out |
| this is our default output file stream
|
|
std::ostream | hila::out0 |
| This writes output only from main process (node 0)
|
|
std::ofstream | hila::output_file |
| this is just a hook to store output file, if it is in use
|
|
logger_class | hila::log |
| Now declare the logger.
|
|
This file defines all includes for HILA.
Definition in file defs.h.
◆ RESTRICT
#define RESTRICT __restrict__ |
Define restrict? It is non-standard but supported by most (all?) compilers. ADD HERE GUARD FOR THOSE WHICH DO not HAVE IT
Definition at line 51 of file defs.h.