Nektar++
GlobalLinSysXxt.h
Go to the documentation of this file.
1 /*
2  * GlobalLinSysXxt.h
3  *
4  * Created on: 19 Oct 2012
5  * Author: cc
6  */
7 
8 #ifndef NEKTAR_LIB_MULTIREGIONS_GLOBALLINSYSXXT_H
9 #define NEKTAR_LIB_MULTIREGIONS_GLOBALLINSYSXXT_H
14 
15 namespace Xxt
16 {
17 struct crs_data;
18 }
19 
20 namespace Nektar
21 {
22 namespace MultiRegions
23 {
24 // Forward declarations
25 
26 // class AssemblyMapDG;
27 class ExpList;
28 
29 class GlobalLinSysXxt : virtual public GlobalLinSys
30 {
31 public:
32  /// Constructor for full direct matrix solve.
34  const GlobalLinSysKey &pKey, const std::weak_ptr<ExpList> &pExp,
35  const std::shared_ptr<AssemblyMap> &pLocToGloMap);
36 
38 
39 protected:
44 
46 
48 
49  /// Solve the linear system for given input and output vectors.
50  virtual void v_SolveLinearSystem(const int pNumRows,
51  const Array<OneD, const NekDouble> &pInput,
52  Array<OneD, NekDouble> &pOutput,
53  const AssemblyMapSharedPtr &locToGloMap,
54  const int pNumDir = 0);
55 
57  Array<OneD, NekDouble> &local);
58 
60  Array<OneD, NekDouble> &global);
61 };
62 } // namespace MultiRegions
63 } // namespace Nektar
64 #endif /* GLOBALLINSYSXXT_H_ */
#define MULTI_REGIONS_EXPORT
A global linear system.
Definition: GlobalLinSys.h:72
Array< OneD, NekDouble > m_locToGloSignMult
GlobalLinSysXxt(const GlobalLinSysKey &pKey, const std::weak_ptr< ExpList > &pExp, const std::shared_ptr< AssemblyMap > &pLocToGloMap)
Constructor for full direct matrix solve.
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.
void LocalToGlobalNoSign(const Array< OneD, const NekDouble > &local, Array< OneD, NekDouble > &global)
Array< OneD, unsigned int > m_Aj
void GlobalToLocalNoSign(const Array< OneD, const NekDouble > &global, Array< OneD, NekDouble > &local)
Array< OneD, unsigned int > m_Ai
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
Definition: AssemblyMap.h:51
The above copyright notice and this permission notice shall be included.
Definition: CoupledSolver.h:1
Definition: Xxt.hpp:49