Changes in molecuilder/src/parser.hpp [f98e5a:848729]
- File:
-
- 1 edited
-
molecuilder/src/parser.hpp (modified) (5 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/parser.hpp
-
Property mode
changed from
100644to100755
rf98e5a r848729 19 19 20 20 #define EnergySuffix ".energy.all" 21 #define EnergyFragmentSuffix ".energyfragment.all"21 #define HcorrectionSuffix ".Hcorrection.all" 22 22 #define ForcesSuffix ".forces.all" 23 #define ForceFragmentSuffix ".forcefragment.all"24 #define HcorrectionSuffix ".Hcorrection.all"25 #define HcorrectionFragmentSuffix ".Hcorrectionfragment.all"26 #define HessianSuffix ".hessian_xx.all"27 #define HessianFragmentSuffix ".hessianfragment_xx.all"28 #define OrderSuffix ".Order"29 23 #define ShieldingSuffix ".sigma_all.csv" 30 24 #define ShieldingPASSuffix ".sigma_all_PAS.csv" … … 32 26 #define ShieldingPASFragmentSuffix ".sigma_all_PAS_fragment.all" 33 27 #define TimeSuffix ".speed" 28 #define EnergyFragmentSuffix ".energyfragment.all" 29 #define HcorrectionFragmentSuffix ".Hcorrectionfragment.all" 30 #define ForceFragmentSuffix ".forcefragment.all" 31 #define OrderSuffix ".Order" 34 32 35 33 // ======================================= FUNCTIONS ========================================== … … 45 43 double ***Matrix; 46 44 int **Indices; 47 char * *Header;45 char *Header; 48 46 int MatrixCounter; 49 47 int *RowCounter; 50 int *ColumnCounter;48 int ColumnCounter; 51 49 52 50 MatrixContainer(); 53 51 ~MatrixContainer(); 54 52 55 bool InitialiseIndices(class MatrixContainer *Matrix = NULL);56 53 bool ParseMatrix(const char *name, int skiplines, int skipcolumns, int MatrixNr); 57 54 virtual bool ParseFragmentMatrix(char *name, char *prefix, string suffix, int skiplines, int skipcolumns); 58 bool AllocateMatrix(char * *GivenHeader, int MCounter, int *RCounter, int *CCounter);55 bool AllocateMatrix(char *GivenHeader, int MCounter, int *RCounter, int CCounter); 59 56 bool ResetMatrix(); 60 57 double FindMinValue(); … … 73 70 class EnergyMatrix : public MatrixContainer { 74 71 public: 72 bool ParseIndices(); 75 73 bool SumSubEnergy(class EnergyMatrix &Fragments, class EnergyMatrix *CorrectionFragments, class KeySetsContainer &KeySet, int Order, double sign); 76 74 bool ParseFragmentMatrix(char *name, char *prefix, string suffix, int skiplines, int skipcolumns); … … 84 82 bool SumSubForces(class ForceMatrix &Fragments, class KeySetsContainer &KeySet, int Order, double sign); 85 83 bool ParseFragmentMatrix(char *name, char *prefix, string suffix, int skiplines, int skipcolumns); 86 };87 88 // ======================================= CLASS HessianMatrix =============================89 90 class HessianMatrix : public MatrixContainer {91 public:92 HessianMatrix();93 //~HessianMatrix();94 bool ParseIndices(char *name);95 bool SumSubManyBodyTerms(class MatrixContainer &MatrixValues, class KeySetsContainer &KeySet, int Order);96 bool SumSubHessians(class HessianMatrix &Fragments, class KeySetsContainer &KeySet, int Order, double sign);97 bool ParseFragmentMatrix(char *name, char *prefix, string suffix, int skiplines, int skipcolumns);98 private:99 bool IsSymmetric;100 84 }; 101 85 -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
