MG.hpp File Reference
#include <functional>
#include <Core/Utils/MG-Impl.hpp>

Go to the source code of this file.

Classes

struct  CubbyFlow::MGMatrix< BlasType >
 Multi-grid matrix wrapper. More...
 
struct  CubbyFlow::MGVector< BlasType >
 Multi-grid vector wrapper. More...
 
struct  CubbyFlow::MGParameters< BlasType >
 Multi-grid input parameter set. More...
 
struct  CubbyFlow::MGResult
 Multi-grid result type. More...
 

Namespaces

 CubbyFlow
 

Typedefs

template<typename BlasType >
using CubbyFlow::MGRelaxFunc = std::function< void(const typename BlasType::MatrixType &A, const typename BlasType::VectorType &b, unsigned int numberOfIterations, double maxTolerance, typename BlasType::VectorType *x, typename BlasType::VectorType *buffer)>
 Multi-grid relax function type. More...
 
template<typename BlasType >
using CubbyFlow::MGRestrictFunc = std::function< void(const typename BlasType::VectorType &finer, typename BlasType::VectorType *coarser)>
 Multi-grid restriction function type. More...
 
template<typename BlasType >
using CubbyFlow::MGCorrectFunc = std::function< void(const typename BlasType::VectorType &coarser, typename BlasType::VectorType *finer)>
 Multi-grid correction function type. More...
 

Functions

template<typename BlasType >
MGResult CubbyFlow::MGVCycle (const MGMatrix< BlasType > &A, MGParameters< BlasType > params, MGVector< BlasType > *x, MGVector< BlasType > *b, MGVector< BlasType > *buffer)
 Performs Multi-grid with V-cycle. More...