Alsvinn  0.5.3
The fast FVM simulator with UQ support
Classes | Namespaces | Macros | Typedefs | Functions
types.hpp File Reference
#include <iostream>
#include <iomanip>
#include <complex>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <cfloat>
#include <memory>
#include "alsutils/config.hpp"
#include <cassert>
#include "alsutils/vec.hpp"
#include "alsutils/mat.hpp"

Go to the source code of this file.

Classes

struct  alsutils::Types< nsd >
 
struct  alsutils::Types< 1 >
 
struct  alsutils::Types< 2 >
 
struct  alsutils::Types< 3 >
 
struct  alsutils::Types< 4 >
 
struct  alsutils::Types< 5 >
 

Namespaces

 alsfvm
 Various utility functions to implement the tecno flux.
 
 alsutils
 Various utilities for mpi and cuda.
 

Macros

#define __device__
 
#define __host__
 
#define static_assert(x, y)   assert(x)
 

Typedefs

typedef double alsutils::real
 
typedef vec1< real > alsutils::rvec1
 
typedef vec1< int > alsutils::ivec1
 
typedef vec2< real > alsutils::rvec2
 
typedef vec2< int > alsutils::ivec2
 
typedef vec3< real > alsutils::rvec3
 
typedef vec3< int > alsutils::ivec3
 
typedef vec4< real > alsutils::rvec4
 
typedef vec4< int > alsutils::ivec4
 
typedef vec5< real > alsutils::rvec5
 
typedef vec5< int > alsutils::ivec5
 
typedef vec6< real > alsutils::rvec6
 
typedef vec6< int > alsutils::ivec6
 
typedef matrix< real, 1, 1 > alsutils::matrix1
 
typedef matrix< real, 2, 2 > alsutils::matrix2
 
typedef matrix< real, 3, 3 > alsutils::matrix3
 
typedef matrix< real, 4, 4 > alsutils::matrix4
 
typedef matrix< real, 5, 5 > alsutils::matrix5
 

Functions

__device__ __host__ ivec3 alsutils::make_direction_vector (size_t direction)
 
__device__ __host__ ivec3 alsutils::make_space_filling_vector (int nx, int ny, int nz)
 
__host__ __device__ real alsutils::square (const real &x)
 

Macro Definition Documentation

◆ __device__

#define __device__

◆ __host__

#define __host__

◆ static_assert

#define static_assert (   x,
 
)    assert(x)