41 namespace MultiRegions
52 const boost::weak_ptr<ExpList> &pExp,
53 const boost::shared_ptr<AssemblyMap>
72 int nLocal =
m_map.num_elements();
void Gathr(int n, const T *x, const int *y, T *z)
Gather vector z[i] = x[y[i]].
boost::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
void LocalToGlobalNoSign(const Array< OneD, const NekDouble > &local, Array< OneD, NekDouble > &global)
static void Solve(Nektar::Array< OneD, NekDouble > pX, struct crs_data *pCrs, Nektar::Array< OneD, NekDouble > pB)
Solve the matrix system for a given input vector b.
void Scatr(int n, const T *x, const int *y, T *z)
Scatter vector z[y[i]] = x[i].
Describe a linear system.
void GlobalToLocalNoSign(const Array< OneD, const NekDouble > &global, Array< OneD, NekDouble > &local)
static void Finalise(crs_data *pCrs)
Deallocates the crs mapping data.
virtual void v_SolveLinearSystem(const int pNumRows, const Array< OneD, const NekDouble > &pInput, Array< OneD, NekDouble > &pOutput, const AssemblyMapSharedPtr &locToGloMap, const int pNumDir=0)
Solve the linear system for given input and output vectors.
struct Xxt::crs_data * m_crsData
GlobalLinSysXxt(const GlobalLinSysKey &pKey, const boost::weak_ptr< ExpList > &pExp, const boost::shared_ptr< AssemblyMap > &pLocToGloMap)
Constructor for full direct matrix solve.
Array< OneD, NekDouble > m_locToGloSignMult
virtual ~GlobalLinSysXxt()