mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-28 08:23:19 +00:00
No compile fix after merge
This commit is contained in:
1 parent
98b10f587e
commit
a6ac2abb64
1 file changed
+8
@@ -20,12 +20,20 @@ public:
|
|||||||
sqrtscale = sqrtscale * adj(sqrtscale);// force real pos def
|
sqrtscale = sqrtscale * adj(sqrtscale);// force real pos def
|
||||||
scale = sqrtscale * sqrtscale;
|
scale = sqrtscale * sqrtscale;
|
||||||
}
|
}
|
||||||
|
// Support for coarsening to a multigrid
|
||||||
|
void OpDiag (const Field &in, Field &out) {};
|
||||||
|
void OpDir (const Field &in, Field &out,int dir,int disp){};
|
||||||
|
|
||||||
void Op (const Field &in, Field &out){
|
void Op (const Field &in, Field &out){
|
||||||
out = scale * in;
|
out = scale * in;
|
||||||
}
|
}
|
||||||
void AdjOp (const Field &in, Field &out){
|
void AdjOp (const Field &in, Field &out){
|
||||||
out = scale * in;
|
out = scale * in;
|
||||||
}
|
}
|
||||||
|
void HermOp(const Field &in, Field &out){
|
||||||
|
double n1, n2;
|
||||||
|
HermOpAndNorm(in,out,n1,n2);
|
||||||
|
}
|
||||||
void HermOpAndNorm(const Field &in, Field &out,double &n1,double &n2){
|
void HermOpAndNorm(const Field &in, Field &out,double &n1,double &n2){
|
||||||
ComplexD dot;
|
ComplexD dot;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user