| 40 | 
  | 
 */ | 
| 41 | 
  | 
#define __C | 
| 42 | 
  | 
#include "io/ForceFieldOptions.hpp" | 
| 43 | 
< | 
#include "UseTheForce/fForceOptions.h" | 
| 44 | 
< | 
#include "UseTheForce/DarkSide/fForceOptions_interface.h" | 
| 43 | 
> | 
 | 
| 44 | 
  | 
namespace oopse { | 
| 45 | 
  | 
 | 
| 46 | 
  | 
    ForceFieldOptions::ForceFieldOptions() { | 
| 59 | 
  | 
    } | 
| 60 | 
  | 
 | 
| 61 | 
  | 
 | 
| 62 | 
< | 
  void ForceFieldOptions::tellFortranOptions(){ | 
| 64 | 
< | 
    ForceOptions fortranForceOptions; | 
| 62 | 
> | 
  void ForceFieldOptions::makeFortranOptions(ForceOptions& fortranForceOptions){ | 
| 63 | 
  | 
     | 
| 64 | 
  | 
    fortranForceOptions.vdw14scale = this->getvdw14scale(); | 
| 65 | 
< | 
    fortranForceOptions.vdw14scale = this->getvdw14scale(); | 
| 68 | 
< | 
     | 
| 65 | 
> | 
    fortranForceOptions.electrostatic14scale = this->getelectrostatic14scale(); | 
| 66 | 
  | 
 | 
| 67 | 
+ | 
    std::string DistanceMix = this->getDistanceMixingRule(); | 
| 68 | 
+ | 
    toUpper(DistanceMix); | 
| 69 | 
+ | 
    if(DistanceMix == "ARITHMETIC"){ | 
| 70 | 
+ | 
      fortranForceOptions.DistanceMixingRule = ARITHMETIC_MIXING_RULE; | 
| 71 | 
+ | 
    }else if(DistanceMix == "GEOMETRIC"){ | 
| 72 | 
+ | 
      fortranForceOptions.DistanceMixingRule = GEOMETRIC_MIXING_RULE; | 
| 73 | 
+ | 
    }else{ | 
| 74 | 
+ | 
      fortranForceOptions.DistanceMixingRule = ARITHMETIC_MIXING_RULE; | 
| 75 | 
+ | 
    } | 
| 76 | 
+ | 
    std::string EnergyMix = this->getEnergyMixingRule();   | 
| 77 | 
+ | 
    toUpper(EnergyMix); | 
| 78 | 
+ | 
    if(EnergyMix == "ARITHMETIC"){ | 
| 79 | 
+ | 
      fortranForceOptions.EnergyMixingRule = ARITHMETIC_MIXING_RULE; | 
| 80 | 
+ | 
    }else if(EnergyMix == "GEOMETRIC"){ | 
| 81 | 
+ | 
      fortranForceOptions.EnergyMixingRule = GEOMETRIC_MIXING_RULE; | 
| 82 | 
+ | 
    }else{ | 
| 83 | 
+ | 
      fortranForceOptions.EnergyMixingRule = GEOMETRIC_MIXING_RULE; | 
| 84 | 
+ | 
    } | 
| 85 | 
+ | 
 | 
| 86 | 
+ | 
 | 
| 87 | 
  | 
  } | 
| 88 | 
  | 
 | 
| 89 | 
  | 
} |