mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-04 19:25:56 +01:00
Logging improvement
This commit is contained in:
parent
98de1cbb6a
commit
e6cad3821c
@ -77,9 +77,7 @@ namespace Grid{
|
|||||||
t_P[level]+=ep;
|
t_P[level]+=ep;
|
||||||
update_P(P,U,level,ep);
|
update_P(P,U,level,ep);
|
||||||
|
|
||||||
std::cout<<GridLogIntegrator;
|
std::cout<<GridLogIntegrator<<"["<<level<<"] P " << " dt "<< ep <<" : t_P "<< t_P[level] <<std::endl;
|
||||||
for(int l=0; l<level;++l) std::cout<<" ";
|
|
||||||
std::cout<<"["<<level<<"] P " << " dt "<< ep <<" : t_P "<< t_P[level] <<std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void update_P(GaugeField &Mom,GaugeField&U, int level,double ep){
|
void update_P(GaugeField &Mom,GaugeField&U, int level,double ep){
|
||||||
@ -95,9 +93,7 @@ namespace Grid{
|
|||||||
|
|
||||||
t_U+=ep;
|
t_U+=ep;
|
||||||
int fl = levels-1;
|
int fl = levels-1;
|
||||||
std::cout<<GridLogIntegrator<<" ";
|
std::cout<<GridLogIntegrator<<" "<<"["<<fl<<"] U " << " dt "<< ep <<" : t_U "<< t_U <<std::endl;
|
||||||
for(int l=0; l<fl;++l) std::cout<<" ";
|
|
||||||
std::cout<<"["<<fl<<"] U " << " dt "<< ep <<" : t_U "<< t_U <<std::endl;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
void update_U(GaugeField &Mom, GaugeField&U, double ep){
|
void update_U(GaugeField &Mom, GaugeField&U, double ep){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user