MSpin-JCoupling  2.1
ccchequation.h
1 /***************************************************************************
2  hcchequation.h - description
3  -------------------
4  author : Armando Navarro-Vazquez
5  email : armando.deus@gmail.com
6  ***************************************************************************/
7 
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #ifndef CCCHEQUATION_H
18 #define CCCHEQUATION_H
19 
20 #include "jequation.h"
21 
22 #ifdef WIN32
23 #include <windows.h>
24 #define JEQUATION_EXPORT __declspec(dllexport)
25 #ifdef JEQUATIONDLL
26 #define JEQUATION_API __declspec(dllexport)
27 #else
28 #define JEQUATION_API __declspec(dllimport)
29 #endif
30 #else
31 #define JEQUATION_API
32 #define JEQUATION_EXPORT
33 #endif
34 
38 namespace magnes
39 {
56 class JEQUATION_API CCCHEquation : public JEquation
57 {
58 public:
59  CCCHEquation();
60  ~CCCHEquation();
61 protected:
62  virtual bool SelectFirstAtom(const magnes::Molecule* molecule, size_t i);
63  virtual bool SelectSecondAtom(const magnes::Molecule* molecule, size_t i);
65  virtual int NBonds() const;
66  virtual std::pair < std::string , std::string > CoupledNuclei() const;
67 private:
68  bool IsCSP3H(const magnes::Molecule* molecule, size_t i);
69  bool IsValidCarbon(const magnes::Molecule* molecule, size_t i);
70 
71 };
72 }
73 #endif
the global magnes namespace
Definition: ccchequation.h:38
The base class for the computation of scalar coupling constants.
Definition: jequation.h:53
An specialized class for implementation of 3JCCCH karplus-like equations HCCHEquation implements conv...
Definition: ccchequation.h:56
Definition: molecule.h:44