Loading [MathJax]/extensions/tex2jax.js
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
PlumedMain.cpp File Reference
#include "PlumedMain.h"
#include "ActionAtomistic.h"
#include "ActionPilot.h"
#include "ActionForInterface.h"
#include "ActionRegister.h"
#include "ActionSet.h"
#include "ActionWithValue.h"
#include "ActionWithVirtualAtom.h"
#include "ActionToGetData.h"
#include "ActionToPutData.h"
#include "CLToolMain.h"
#include "ExchangePatterns.h"
#include "GREX.h"
#include "DomainDecomposition.h"
#include "config/Config.h"
#include "tools/Citations.h"
#include "tools/Communicator.h"
#include "tools/DLLoader.h"
#include "tools/Exception.h"
#include "tools/IFile.h"
#include "tools/Log.h"
#include "tools/OpenMP.h"
#include "tools/Tools.h"
#include "tools/Stopwatch.h"
#include "tools/TypesafePtr.h"
#include "lepton/Exception.h"
#include "DataPassingTools.h"
#include "small_vector/small_vector.h"
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <set>
#include <exception>
#include <stdexcept>
#include <ios>
#include <new>
#include <typeinfo>
#include <iostream>
#include <algorithm>
#include <system_error>
#include <future>
#include <memory>
#include <functional>
#include <regex>
#include <any>
#include <optional>
#include <variant>
#include <filesystem>
#include "PlumedMainEnum.inc"
#include "PlumedMainMap.inc"

Namespaces

namespace  PLMD
 

Macros

#define __PLUMED_THROW_FUTURE(name)
 
#define __PLUMED_THROW_MSG(type)
 
#define __PLUMED_THROW_NOMSG(type)
 
#define __PLUMED_THROW_REGEX(name)
 
#define CHECK_INIT(ini, word)
 
#define CHECK_NOTINIT(ini, word)
 
#define CHECK_NOTNULL(val, word)
 

Functions

static void PLMD::testThrow (const char *what)
 Small utility just used in this file to throw arbitrary exceptions.
 

Macro Definition Documentation

◆ __PLUMED_THROW_FUTURE

#define __PLUMED_THROW_FUTURE ( name)
Value:
if(words[1]=="std::future_errc::" #name) throw std::future_error(::std::future_errc::name)

◆ __PLUMED_THROW_MSG

#define __PLUMED_THROW_MSG ( type)
Value:
if(words[0]==#type) throw type(what)

◆ __PLUMED_THROW_NOMSG

#define __PLUMED_THROW_NOMSG ( type)
Value:
if(words[0]==#type) throw type()

◆ __PLUMED_THROW_REGEX

#define __PLUMED_THROW_REGEX ( name)
Value:
if(words[1]=="std::regex_constants::error_" #name) throw std::regex_error(std::regex_constants::error_ ##name)

◆ CHECK_INIT

#define CHECK_INIT ( ini,
word )
Value:
plumed_assert(ini)<<"cmd(\"" << word << "\") should be only used after plumed initialization"

◆ CHECK_NOTINIT

#define CHECK_NOTINIT ( ini,
word )
Value:
plumed_assert(!(ini))<<"cmd(\"" << word << "\") should be only used before plumed initialization"

◆ CHECK_NOTNULL

#define CHECK_NOTNULL ( val,
word )
Value:
plumed_assert(val)<<"NULL pointer received in cmd(\"" << word << "\")"