46 #ifndef _PEXSI_SUPERLUGRID_IMPL_HPP_
47 #define _PEXSI_SUPERLUGRID_IMPL_HPP_
51 inline SuperLUGrid<Real>::SuperLUGrid ( MPI_Comm comm, Int nprow, Int npcol )
54 PushCallStack(
"SuperLUGrid::SuperLUGrid");
58 throw std::runtime_error(
"SuperLUGrid cannot be allocated." );
60 ptrData->GridInit(comm, nprow, npcol);
69 inline SuperLUGrid<Real>::~SuperLUGrid ( )
72 PushCallStack(
"SuperLUGrid::~SuperLUGrid");
88 inline SuperLUGrid<Complex>::SuperLUGrid ( MPI_Comm comm, Int nprow, Int npcol )
91 PushCallStack(
"SuperLUGrid::SuperLUGrid");
95 throw std::runtime_error(
"SuperLUGrid cannot be allocated." );
97 ptrData->GridInit(comm, nprow, npcol);
107 inline SuperLUGrid<Complex>::~SuperLUGrid ( )
110 PushCallStack(
"SuperLUGrid::~SuperLUGrid");
129 #endif //_PEXSI_SUPERLUGRID_IMPL_HPP_
void * ptrData
SuperLUMatrix can have access to the grid information.
Definition: SuperLUGrid.hpp:95