Discontinuous Galerkin Library
#include "dg/algorithm.h"
Collaboration diagram for Useful Typedefs:

Namespaces

namespace  dg::x
 

Typedefs

template<class T >
using dg::HVec_t = thrust::host_vector< T >
 Host Vector. More...
 
using dg::HVec = thrust::host_vector< double >
 Host Vector. More...
 
using dg::iHVec = thrust::host_vector< int >
 integer Host Vector More...
 
using dg::fHVec = thrust::host_vector< float >
 Host Vector. More...
 
using dg::DVec = thrust::device_vector< double >
 Device Vector. The device can be an OpenMP parallelized cpu or a gpu. This depends on the value of the macro THRUST_DEVICE_SYSTEM, which can be either THRUST_DEVICE_SYSTEM_OMP for openMP or THRUST_DEVICE_SYSTEM_CUDA for a gpu or THRUST_DEVICE_SYSTEM_CPP for a cpu. More...
 
using dg::iDVec = thrust::device_vector< int >
 integer Device Vector More...
 
using dg::fDVec = thrust::device_vector< float >
 Device Vector. The device can be an OpenMP parallelized cpu or a gpu. This depends on the value of the macro THRUST_DEVICE_SYSTEM, which can be either THRUST_DEVICE_SYSTEM_OMP for openMP or THRUST_DEVICE_SYSTEM_CUDA for a gpu or THRUST_DEVICE_SYSTEM_CPP for a cpu. More...
 
template<class T >
using dg::HMatrix_t = EllSparseBlockMat< T >
 
using dg::HMatrix = EllSparseBlockMat< double >
 Host Matrix for derivatives. More...
 
using dg::fHMatrix = EllSparseBlockMat< float >
 Host Matrix for derivatives. More...
 
using dg::DMatrix = EllSparseBlockMatDevice< double >
 Device Matrix for derivatives. More...
 
using dg::fDMatrix = EllSparseBlockMatDevice< float >
 Device Matrix for derivatives. More...
 
template<class real_type >
using dg::IHMatrix_t = cusp::csr_matrix< int, real_type, cusp::host_memory >
 
template<class real_type >
using dg::IDMatrix_t = cusp::csr_matrix< int, real_type, cusp::device_memory >
 
using dg::IHMatrix = IHMatrix_t< double >
 
using dg::IDMatrix = IDMatrix_t< double >
 
template<class T >
using dg::MHVec_t = dg::MPI_Vector< dg::HVec_t< T > >
 MPI Host Vector s.a. dg::HVec_t. More...
 
using dg::MHVec = dg::MPI_Vector< dg::HVec >
 MPI Host Vector s.a. dg::HVec. More...
 
using dg::fMHVec = dg::MPI_Vector< dg::fHVec >
 MPI Host Vector s.a. dg::fHVec. More...
 
using dg::MDVec = dg::MPI_Vector< dg::DVec >
 MPI Device Vector s.a. dg::DVec. More...
 
using dg::fMDVec = dg::MPI_Vector< dg::fDVec >
 MPI Device Vector s.a. dg::fDVec. More...
 
template<class T >
using dg::NNCH = dg::NearestNeighborComm< dg::iHVec, thrust::host_vector< const T * >, thrust::host_vector< T > >
 host Communicator for the use in an mpi matrix for derivatives More...
 
template<class T >
using dg::NNCD = dg::NearestNeighborComm< dg::iDVec, thrust::device_vector< const T * >, thrust::device_vector< T > >
 host Communicator for the use in an mpi matrix for derivatives More...
 
using dg::dNNCH = dg::NNCH< double >
 host Communicator for the use in an mpi matrix for derivatives More...
 
using dg::fNNCH = dg::NNCH< float >
 host Communicator for the use in an mpi matrix for derivatives More...
 
using dg::dNNCD = dg::NNCD< double >
 device Communicator for the use in an mpi matrix for derivatives More...
 
using dg::fNNCD = dg::NNCD< float >
 device Communicator for the use in an mpi matrix for derivatives More...
 
template<class T >
using dg::CooMat_t = dg::CooSparseBlockMat< T >
 
using dg::CooMat = dg::CooSparseBlockMat< double >
 
using dg::fCooMat = dg::CooSparseBlockMat< float >
 
using dg::DCooMat = dg::CooSparseBlockMatDevice< double >
 
using dg::fDCooMat = dg::CooSparseBlockMatDevice< float >
 
template<class T >
using dg::MHMatrix_t = dg::RowColDistMat< dg::HMatrix_t< T >, dg::CooMat_t< T >, dg::NNCH< T > >
 MPI Host Matrix for derivatives. More...
 
using dg::MHMatrix = dg::RowColDistMat< dg::HMatrix, dg::CooMat, dg::dNNCH >
 MPI Host Matrix for derivatives. More...
 
using dg::fMHMatrix = dg::RowColDistMat< dg::fHMatrix, dg::fCooMat, dg::fNNCH >
 MPI Host Matrix for derivatives. More...
 
using dg::MDMatrix = dg::RowColDistMat< dg::DMatrix, dg::DCooMat, dg::dNNCD >
 MPI Device Matrix for derivatives. More...
 
using dg::fMDMatrix = dg::RowColDistMat< dg::fDMatrix, dg::fDCooMat, dg::fNNCD >
 MPI Device Matrix for derivatives. More...
 
template<class real_type >
using dg::MIHMatrix_t = MPIDistMat< IHMatrix_t< real_type >, GeneralComm< dg::iHVec, thrust::host_vector< real_type > > >
 
template<class real_type >
using dg::MIDMatrix_t = MPIDistMat< IDMatrix_t< real_type >, GeneralComm< dg::iDVec, thrust::device_vector< real_type > > >
 
using dg::MIHMatrix = MIHMatrix_t< double >
 
using dg::MIDMatrix = MIDMatrix_t< double >
 

Detailed Description

Typedef Documentation

◆ CooMat

using dg::CooMat = typedef dg::CooSparseBlockMat<double>

◆ CooMat_t

template<class T >
using dg::CooMat_t = typedef dg::CooSparseBlockMat<T>

◆ DCooMat

using dg::DCooMat = typedef dg::CooSparseBlockMatDevice<double>

◆ DMatrix

using dg::DMatrix = typedef EllSparseBlockMatDevice<double>

Device Matrix for derivatives.

◆ dNNCD

using dg::dNNCD = typedef dg::NNCD<double>

device Communicator for the use in an mpi matrix for derivatives

◆ dNNCH

using dg::dNNCH = typedef dg::NNCH<double>

host Communicator for the use in an mpi matrix for derivatives

◆ DVec

using dg::DVec = typedef thrust::device_vector<double>

Device Vector. The device can be an OpenMP parallelized cpu or a gpu. This depends on the value of the macro THRUST_DEVICE_SYSTEM, which can be either THRUST_DEVICE_SYSTEM_OMP for openMP or THRUST_DEVICE_SYSTEM_CUDA for a gpu or THRUST_DEVICE_SYSTEM_CPP for a cpu.

◆ fCooMat

using dg::fCooMat = typedef dg::CooSparseBlockMat<float>

◆ fDCooMat

using dg::fDCooMat = typedef dg::CooSparseBlockMatDevice<float>

◆ fDMatrix

using dg::fDMatrix = typedef EllSparseBlockMatDevice<float>

Device Matrix for derivatives.

◆ fDVec

using dg::fDVec = typedef thrust::device_vector<float>

Device Vector. The device can be an OpenMP parallelized cpu or a gpu. This depends on the value of the macro THRUST_DEVICE_SYSTEM, which can be either THRUST_DEVICE_SYSTEM_OMP for openMP or THRUST_DEVICE_SYSTEM_CUDA for a gpu or THRUST_DEVICE_SYSTEM_CPP for a cpu.

◆ fHMatrix

using dg::fHMatrix = typedef EllSparseBlockMat<float>

Host Matrix for derivatives.

◆ fHVec

using dg::fHVec = typedef thrust::host_vector<float>

Host Vector.

◆ fMDMatrix

MPI Device Matrix for derivatives.

◆ fMDVec

using dg::fMDVec = typedef dg::MPI_Vector<dg::fDVec >

MPI Device Vector s.a. dg::fDVec.

◆ fMHMatrix

MPI Host Matrix for derivatives.

◆ fMHVec

using dg::fMHVec = typedef dg::MPI_Vector<dg::fHVec >

MPI Host Vector s.a. dg::fHVec.

◆ fNNCD

using dg::fNNCD = typedef dg::NNCD<float>

device Communicator for the use in an mpi matrix for derivatives

◆ fNNCH

using dg::fNNCH = typedef dg::NNCH<float>

host Communicator for the use in an mpi matrix for derivatives

◆ HMatrix

using dg::HMatrix = typedef EllSparseBlockMat<double>

Host Matrix for derivatives.

◆ HMatrix_t

template<class T >
using dg::HMatrix_t = typedef EllSparseBlockMat<T>

◆ HVec

using dg::HVec = typedef thrust::host_vector<double>

Host Vector.

◆ HVec_t

template<class T >
using dg::HVec_t = typedef thrust::host_vector<T>

Host Vector.

◆ IDMatrix

using dg::IDMatrix = typedef IDMatrix_t<double>

◆ IDMatrix_t

template<class real_type >
using dg::IDMatrix_t = typedef cusp::csr_matrix<int, real_type, cusp::device_memory>

◆ iDVec

using dg::iDVec = typedef thrust::device_vector<int>

integer Device Vector

◆ IHMatrix

using dg::IHMatrix = typedef IHMatrix_t<double>

◆ IHMatrix_t

template<class real_type >
using dg::IHMatrix_t = typedef cusp::csr_matrix<int, real_type, cusp::host_memory>

◆ iHVec

using dg::iHVec = typedef thrust::host_vector<int>

integer Host Vector

◆ MDMatrix

MPI Device Matrix for derivatives.

◆ MDVec

using dg::MDVec = typedef dg::MPI_Vector<dg::DVec >

MPI Device Vector s.a. dg::DVec.

◆ MHMatrix

MPI Host Matrix for derivatives.

◆ MHMatrix_t

template<class T >
using dg::MHMatrix_t = typedef dg::RowColDistMat<dg::HMatrix_t<T>, dg::CooMat_t<T>, dg::NNCH<T> >

MPI Host Matrix for derivatives.

◆ MHVec

using dg::MHVec = typedef dg::MPI_Vector<dg::HVec >

MPI Host Vector s.a. dg::HVec.

◆ MHVec_t

template<class T >
using dg::MHVec_t = typedef dg::MPI_Vector<dg::HVec_t<T> >

MPI Host Vector s.a. dg::HVec_t.

◆ MIDMatrix

using dg::MIDMatrix = typedef MIDMatrix_t<double>

◆ MIDMatrix_t

template<class real_type >
using dg::MIDMatrix_t = typedef MPIDistMat< IDMatrix_t<real_type>, GeneralComm< dg::iDVec, thrust::device_vector<real_type> > >

◆ MIHMatrix

using dg::MIHMatrix = typedef MIHMatrix_t<double>

◆ MIHMatrix_t

template<class real_type >
using dg::MIHMatrix_t = typedef MPIDistMat< IHMatrix_t<real_type>, GeneralComm< dg::iHVec, thrust::host_vector<real_type> > >

◆ NNCD

template<class T >
using dg::NNCD = typedef dg::NearestNeighborComm<dg::iDVec, thrust::device_vector<const T*>, thrust::device_vector<T> >

host Communicator for the use in an mpi matrix for derivatives

◆ NNCH

template<class T >
using dg::NNCH = typedef dg::NearestNeighborComm<dg::iHVec, thrust::host_vector<const T*>, thrust::host_vector<T> >

host Communicator for the use in an mpi matrix for derivatives