Changeset 51af4a for pcp/src


Ignore:
Timestamp:
Apr 23, 2008, 4:09:56 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
c76393
Parents:
4f9fe2
Message:

CalculateMagneticMoment(): N[] replaced by *N pointing to original values in Lattice structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/perturbed.c

    r4f9fe2 r51af4a  
    33483348  double eta, delta_moment, S, A, iso;
    33493349  const int myPE =  P->Par.me_comm_ST_Psi;
    3350   int N[NDIM];
    3351   N[0] = Lev0->Plan0.plan->N[0];
    3352   N[1] = Lev0->Plan0.plan->N[1];
    3353   N[2] = Lev0->Plan0.plan->N[2];
     3350  int *N = Lev0->Plan0.plan->N;
    33543351  const int N0 = Lev0->Plan0.plan->local_nx;
    33553352  FILE *MomentFile;
Note: See TracChangeset for help on using the changeset viewer.