Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/parser.hpp

    • Property mode changed from 100644 to 100755
    rf98e5a r848729  
    1919
    2020#define EnergySuffix ".energy.all"
    21 #define EnergyFragmentSuffix ".energyfragment.all"
     21#define HcorrectionSuffix ".Hcorrection.all"
    2222#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"
    2923#define ShieldingSuffix ".sigma_all.csv"
    3024#define ShieldingPASSuffix ".sigma_all_PAS.csv"
     
    3226#define ShieldingPASFragmentSuffix ".sigma_all_PAS_fragment.all"
    3327#define TimeSuffix ".speed"
     28#define EnergyFragmentSuffix ".energyfragment.all"
     29#define HcorrectionFragmentSuffix ".Hcorrectionfragment.all"
     30#define ForceFragmentSuffix ".forcefragment.all"
     31#define OrderSuffix ".Order"
    3432
    3533// ======================================= FUNCTIONS ==========================================
     
    4543    double ***Matrix;
    4644    int **Indices;
    47     char **Header;
     45    char *Header;
    4846    int MatrixCounter;
    4947    int *RowCounter;
    50     int *ColumnCounter;
     48    int ColumnCounter;
    5149 
    5250  MatrixContainer();
    5351  ~MatrixContainer();
    5452 
    55   bool InitialiseIndices(class MatrixContainer *Matrix = NULL);
    5653  bool ParseMatrix(const char *name, int skiplines, int skipcolumns, int MatrixNr);
    5754  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);
    5956  bool ResetMatrix();
    6057  double FindMinValue();
     
    7370class EnergyMatrix : public MatrixContainer {
    7471  public:
     72    bool ParseIndices();
    7573    bool SumSubEnergy(class EnergyMatrix &Fragments, class EnergyMatrix *CorrectionFragments, class KeySetsContainer &KeySet, int Order, double sign);
    7674    bool ParseFragmentMatrix(char *name, char *prefix, string suffix, int skiplines, int skipcolumns);
     
    8482    bool SumSubForces(class ForceMatrix &Fragments, class KeySetsContainer &KeySet, int Order, double sign);
    8583    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;
    10084};
    10185
Note: See TracChangeset for help on using the changeset viewer.