Ignore:
Timestamp:
Jul 23, 2009, 11:31:00 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
307290
Parents:
3b470f (diff), d40e32 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'test'

Conflicts:

molecuilder/src/analyzer.cpp
molecuilder/src/datacreator.cpp
molecuilder/src/joiner.cpp

all Chi.. matrices were EnergyMatrix instead of ForceMatrix, despite in all branches (test, master, Thermostat) always some ParseIndices was called for them, which is only implemented in the ForceMatrix. I change hence to ForceMatrix and removed the comments from ParseIndices(). But this is untested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/joiner.cpp

    r3b470f r59a745  
    3434  ForceMatrix ShieldingFragments;
    3535  ForceMatrix ShieldingPASFragments;
    36   EnergyMatrix Chi;
    37   EnergyMatrix ChiPAS;
    38   EnergyMatrix ChiFragments;
    39   EnergyMatrix ChiPASFragments;
     36  ForceMatrix Chi;
     37  ForceMatrix ChiPAS;
     38  ForceMatrix ChiFragments;
     39  ForceMatrix ChiPASFragments;
    4040  KeySetsContainer KeySet; 
    4141  stringstream prefix;
     
    104104    if(!Shielding.ParseIndices(argv[1])) return 1;
    105105    if(!ShieldingPAS.ParseIndices(argv[1])) return 1;
    106     //if(!Chi.ParseIndices()) return 1;
    107     //if(!ChiPAS.ParseIndices()) return 1;
     106    if(!Chi.ParseIndices(argv[1])) return 1;
     107    if(!ChiPAS.ParseIndices(argv[1])) return 1;
    108108  }
    109109
     
    167167      if (!ShieldingPAS.SumSubForces(ShieldingPASFragments, KeySet, BondOrder, 1.)) return 1;
    168168      if (!ChiFragments.SumSubManyBodyTerms(Chi, KeySet, BondOrder)) return 1;
    169       if (!Chi.SumSubEnergy(ChiFragments, NULL, KeySet, BondOrder, 1.)) return 1;
     169      if (!Chi.SumSubForces(ChiFragments, KeySet, BondOrder, 1.)) return 1;
    170170      if (!ChiPASFragments.SumSubManyBodyTerms(ChiPAS, KeySet, BondOrder)) return 1;
    171       if (!ChiPAS.SumSubEnergy(ChiPASFragments, NULL,KeySet, BondOrder, 1.)) return 1;
     171      if (!ChiPAS.SumSubForces(ChiPASFragments, KeySet, BondOrder, 1.)) return 1;
    172172    }
    173173
Note: See TracChangeset for help on using the changeset viewer.