NDDEM
|
#include <cstdlib>
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <fstream>
#include <map>
#include <variant>
#include <experimental/filesystem>
#include "Typedefs.h"
#include "Tools.h"
#include "Xml.h"
#include "Vtk.h"
#include "RigidBody.h"
#include "Mesh.h"
#include "Boundaries.h"
#include "json_parser.h"
#include <boost/random.hpp>
Go to the source code of this file.
Classes | |
class | number_gen< T > |
Small class to handle number generator (ie. first:step:last syntax) More... | |
class | Parameters< d > |
Generic class to handle the simulation set up. More... | |
Macros | |
#define | STR_PROTECT(s) s |
Typedefs | |
using | json = nddem::json |
Enumerations | |
enum class | ExportType { NONE =0 , CSV =1 , VTK =2 , NETCDFF =4 , XML =8 , XMLbase64 =16 , CSVA =32 , CSVCONTACT =64 } |
enum class | ExportData { NONE =0 , POSITION =0x1 , VELOCITY =0x2 , OMEGA =0x4 , OMEGAMAG =0x8 , ORIENTATION =0x10 , COORDINATION =0x20 , RADIUS =0x40 , IDS =0x80 , FN =0x100 , FT =0x200 , TORQUE =0x400 , GHOSTMASK =0x800 , GHOSTDIR =0x1000 , BRANCHVECTOR =0x2000 , FN_EL =0x4000 , FN_VISC =0x8000 , FT_EL =0x10000 , FT_VISC =0x20000 , FT_FRIC =0x40000 , FT_FRICTYPE =0x80000 , CONTACTPOSITION =0x100000 , MASS =0x200000 } |
Functions | |
ExportType & | operator|= (ExportType &a, const ExportType b) |
ExportData & | operator|= (ExportData &a, const ExportData b) |
ExportData | operator| (ExportData a, ExportData b) |
ExportData | operator~ (ExportData a) |
ExportData & | operator&= (ExportData &a, const ExportData b) |
ExportData & | operator>>= (ExportData &w, int u) |
ExportData & | operator<<= (ExportData &w, int u) |
bool | operator& (ExportType &a, ExportType b) |
bool | operator& (ExportData &a, ExportData b) |
template<typename T > | |
std::istream & | operator>> (std::istream &in, number_gen< T > &n) |
double | nan_or_double (istream &in) |
std::istream & | operator>> (std::istream &in, std::variant< int *, double *, bool * > v) |
double nan_or_double | ( | istream & | in | ) |
std::istream& operator>> | ( | std::istream & | in, |
std::variant< int *, double *, bool * > | v | ||
) |