NDDEM
Classes | Macros | Enumerations | Functions
Tools.h File Reference
#include <cstdlib>
#include <cmath>
#include <cstdio>
#include <vector>
#include <initializer_list>
#include "Typedefs.h"
#include "Parameters.h"
#include <boost/math/special_functions/factorials.hpp>
#include <boost/random.hpp>

Go to the source code of this file.

Classes

class  TensorInfos
 Limited use: used to transfer data to the VTK writer. More...
 
class  Tools_2D
 Dimension specific mathematics. More...
 
class  Tools< d >
 Static class to handle multi-dimensional mathematics, and more. It gets specialised for speed with template parameter d:dimension. More...
 

Macros

#define MAXDEFDIM   30
 For larger number of dimension, be taken in particular for periodic boundary conditions. More...
 

Enumerations

enum class  TensorType {
  SCALAR , VECTOR , TENSOR , SYMTENSOR ,
  SKEWTENSOR , SCALARMASK , NONE
}
 

Functions

v1d operator* (v1d a, double b)
 
v1f operator* (v1f a, float b)
 
v1d operator* (v1d a, cv1d &b)
 
v1f operator* (v1f a, cv1f &b)
 
v1d operator+ (v1d a, double b)
 
v1d operator+ (v1d a, cv1d &b)
 
v1f operator+ (v1f a, cv1f &b)
 
v1d operator- (v1d a, double b)
 
v1d operator- (v1d a, cv1d &b)
 
v1f operator- (v1f a, cv1f &b)
 
v1d operator- (v1d a, const double *b)
 
v1d operator- (const double *a, v1d b)
 
v1d operator- (v1d a)
 
v1d operator/ (v1d a, double b)
 
v1doperator-= (v1d &a, cv1d &b)
 
v1doperator*= (v1d &a, double b)
 
v1foperator*= (v1f &a, double b)
 
v1doperator+= (v1d &a, cv1d &b)
 
v1foperator+= (v1f &a, cv1f &b)
 
v1foperator/= (v1f &a, cv1f &b)
 
v1doperator/= (v1d &a, double b)
 
v1foperator/= (v1f &a, double b)