Class documentation of Concepts

Loading...
Searching...
No Matches
mumpsoverlap.hh
Go to the documentation of this file.
1
8#ifndef mumpsoverlap_hh_
9#define mumpsoverlap_hh_
10
11#include "compositions.hh"
12#include "basics/typedefs.hh"
13#ifdef HAS_MPI
14#include <mpi.h>
15#endif
16
17#include "mumps_flags.hh"
18
19// Define MUMPS internal constants and functions
20#define JOB_INIT -1
21#define JOB_END -2
22#define ICNTL(I) icntl[(I)-1]
23
24
25namespace concepts {
26
27 // **************************************************************** MUMPS **
28
72 template<class F>
73 class MumpsOverlap : public VecOperator<F> {
74 public:
84 MumpsOverlap(const int NGlob, const Operator<F>& A, const int* LocToGLob, const int rank, const int comm=-987654, const bool CConvention = true);
85
94 MumpsOverlap(const Operator<F>& A, const int rank, const int comm=-987654, const bool CConvention = true);
95
98 virtual ~MumpsOverlap();
99
102 virtual void show_messages();
103
106 virtual void hide_messages();
107
110 virtual void apply_(const Vector<F>& fncY, Vector<F>& fncX);
111
114 virtual void apply_();
115 protected:
116 virtual std::ostream & info(std::ostream &) const;
117 private:
119 void* A_loc_;
121 int* irn_loc_;
123 int* jcn_loc_;
125 uint n_;
127 uint nz_loc_;
129 int rank_;
131 int comm_;
133 void* id_mumps;
134 };
135
136}
137
138#endif // mumpsoverlap_hh
139
virtual void apply_()
virtual std::ostream & info(std::ostream &) const
Returns information in an output stream.
virtual void show_messages()
virtual void hide_messages()
MumpsOverlap(const int NGlob, const Operator< F > &A, const int *LocToGLob, const int rank, const int comm=-987654, const bool CConvention=true)
MumpsOverlap(const Operator< F > &A, const int rank, const int comm=-987654, const bool CConvention=true)
virtual void apply_(const Vector< F > &fncY, Vector< F > &fncX)
Set< F > makeSet(uint n, const F &first,...)
Definition set.hh:320