Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
coolstuff.cpp File Reference
#include "gmxpre.h"
#include "gromacs/utility/coolstuff.h"
#include "config.h"
#include <ctime>
#include <random>
#include <string>
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/stringutil.h"
+ Include dependency graph for coolstuff.cpp:

Description

Functionality for printing cool strings.

Functions

bool gmx::anonymous_namespace{coolstuff.cpp}::beCool ()
 Whether printing of cool quotes is enabled.
 
template<typename T >
const T & gmx::anonymous_namespace{coolstuff.cpp}::getPseudoRandomElement (gmx::ArrayRef< const T > arrayRef)
 Return a valid random index into arrayRef.
 
std::string gmx::bromacs ()
 Return a cool definition for the acronym GROMACS.
 
std::string gmx::getCoolQuote ()
 Return a string with a cool quote.