*** empty log message ***

This commit is contained in:
jiri 2008-06-02 16:15:55 +00:00
parent b1f415fe04
commit 09334ed9f9

View File

@ -772,6 +772,12 @@ if (!NRMat<T>::v) laerror("access to unallocated fourindex_dense");
#endif #endif
return (*this).NRMat<T>::operator() ((j-1)*noca+i-1,(b-1)*nvra+a-1); return (*this).NRMat<T>::operator() ((j-1)*noca+i-1,(b-1)*nvra+a-1);
} }
void print(ostream &out) const
{
unsigned int i,j,a,b;
for(i=1; i<=noca; ++i) for(j=1; j<=nocb; ++j) for(a=1; a<=nvra; ++a) for(b=1; b<=nvrb; ++b) out << i<<" "<<j<<" "<<a<<" "<<b<<" "<<(*this)(i,j,a,b)<<endl;
}
}; };
@ -825,6 +831,12 @@ if(a<b) {minus++; unsigned int t=a; a=b; b=t;}
} }
void print(ostream &out) const
{
unsigned int i,j,a,b;
for(i=1; i<=nocc; ++i) for(j=1; j<i; ++j) for(a=1; a<=nvrt; ++a) for(b=1; b<a; ++b) out << i<<" "<<j<<" "<<a<<" "<<b<<" "<<(*this)(i,j,a,b)<<endl;
}
}; };