[0b990d] | 1 | //
|
---|
| 2 | // File: MPQC_IntegralEvaluator3_Impl.cc
|
---|
| 3 | // Symbol: MPQC.IntegralEvaluator3-v0.2
|
---|
| 4 | // Symbol Type: class
|
---|
| 5 | // Babel Version: 0.10.2
|
---|
| 6 | // Description: Server-side implementation for MPQC.IntegralEvaluator3
|
---|
| 7 | //
|
---|
| 8 | // WARNING: Automatically generated; only changes within splicers preserved
|
---|
| 9 | //
|
---|
| 10 | // babel-version = 0.10.2
|
---|
| 11 | //
|
---|
| 12 | #include "MPQC_IntegralEvaluator3_Impl.hh"
|
---|
| 13 |
|
---|
| 14 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3._includes)
|
---|
| 15 | // Put additional includes or other arbitrary code here...
|
---|
| 16 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3._includes)
|
---|
| 17 |
|
---|
| 18 | // user-defined constructor.
|
---|
| 19 | void MPQC::IntegralEvaluator3_impl::_ctor() {
|
---|
| 20 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3._ctor)
|
---|
| 21 | // add construction details here
|
---|
| 22 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3._ctor)
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | // user-defined destructor.
|
---|
| 26 | void MPQC::IntegralEvaluator3_impl::_dtor() {
|
---|
| 27 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3._dtor)
|
---|
| 28 | // add destruction details here
|
---|
| 29 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3._dtor)
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | // static class initializer.
|
---|
| 33 | void MPQC::IntegralEvaluator3_impl::_load() {
|
---|
| 34 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3._load)
|
---|
| 35 | // guaranteed to be called at most once before any other method in this class
|
---|
| 36 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3._load)
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | // user-defined static methods: (none)
|
---|
| 40 |
|
---|
| 41 | // user-defined non-static methods:
|
---|
| 42 | /**
|
---|
| 43 | * Method: set_integral_package[]
|
---|
| 44 | */
|
---|
| 45 | void
|
---|
| 46 | MPQC::IntegralEvaluator3_impl::set_integral_package (
|
---|
| 47 | /* in */ const ::std::string& label )
|
---|
| 48 | throw ()
|
---|
| 49 | {
|
---|
| 50 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3.set_integral_package)
|
---|
| 51 | // insert implementation here
|
---|
| 52 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3.set_integral_package)
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | /**
|
---|
| 56 | * Initialize the evaluator.
|
---|
| 57 | * @param bs1 Molecular basis on center 1.
|
---|
| 58 | * @param bs2 Molecular basis on center 2.
|
---|
| 59 | * @param bs3 Molecular basis on center 3.
|
---|
| 60 | * @param label String specifying integral type.
|
---|
| 61 | * @param max_deriv Max derivative to compute.
|
---|
| 62 | */
|
---|
| 63 | void
|
---|
| 64 | MPQC::IntegralEvaluator3_impl::initialize (
|
---|
| 65 | /* in */ ::Chemistry::QC::GaussianBasis::Molecular bs1,
|
---|
| 66 | /* in */ ::Chemistry::QC::GaussianBasis::Molecular bs2,
|
---|
| 67 | /* in */ ::Chemistry::QC::GaussianBasis::Molecular bs3,
|
---|
| 68 | /* in */ const ::std::string& label,
|
---|
| 69 | /* in */ int64_t max_deriv )
|
---|
| 70 | throw ()
|
---|
| 71 | {
|
---|
| 72 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3.initialize)
|
---|
| 73 | // insert implementation here
|
---|
| 74 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3.initialize)
|
---|
| 75 | }
|
---|
| 76 |
|
---|
| 77 | /**
|
---|
| 78 | * Get the buffer pointer
|
---|
| 79 | * @return Buffer pointer
|
---|
| 80 | */
|
---|
| 81 | void*
|
---|
| 82 | MPQC::IntegralEvaluator3_impl::get_buffer ()
|
---|
| 83 | throw ()
|
---|
| 84 |
|
---|
| 85 | {
|
---|
| 86 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3.get_buffer)
|
---|
| 87 | // insert implementation here
|
---|
| 88 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3.get_buffer)
|
---|
| 89 | }
|
---|
| 90 |
|
---|
| 91 | /**
|
---|
| 92 | * Compute a shell triplet of integrals.
|
---|
| 93 | * @param shellnum1 Gaussian shell number 1.
|
---|
| 94 | * @param shellnum2 Gaussian shell number 2.
|
---|
| 95 | * @param shellnum3 Gaussian shell number 3.
|
---|
| 96 | * @param deriv_level Derivative level.
|
---|
| 97 | * @param deriv_ctr Derivative center descriptor.
|
---|
| 98 | */
|
---|
| 99 | void
|
---|
| 100 | MPQC::IntegralEvaluator3_impl::compute (
|
---|
| 101 | /* in */ int64_t shellnum1,
|
---|
| 102 | /* in */ int64_t shellnum2,
|
---|
| 103 | /* in */ int64_t shellnum3,
|
---|
| 104 | /* in */ int64_t deriv_level,
|
---|
| 105 | /* in */ ::Chemistry::QC::GaussianBasis::DerivCenters deriv_ctr )
|
---|
| 106 | throw ()
|
---|
| 107 | {
|
---|
| 108 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3.compute)
|
---|
| 109 | // insert implementation here
|
---|
| 110 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3.compute)
|
---|
| 111 | }
|
---|
| 112 |
|
---|
| 113 | /**
|
---|
| 114 | * Compute a shell triplet of integrals and return as a borrowed
|
---|
| 115 | * sidl array.
|
---|
| 116 | * @param shellnum1 Gaussian shell number 1.
|
---|
| 117 | * @param shellnum2 Gaussian shell number 2.
|
---|
| 118 | * @param shellnum3 Gaussian shell number 3.
|
---|
| 119 | * @param deriv_level Derivative level.
|
---|
| 120 | * @param deriv_ctr Derivative center desctiptor.
|
---|
| 121 | * @return Borrowed sidl array buffer.
|
---|
| 122 | */
|
---|
| 123 | ::sidl::array<double>
|
---|
| 124 | MPQC::IntegralEvaluator3_impl::compute_array (
|
---|
| 125 | /* in */ int64_t shellnum1,
|
---|
| 126 | /* in */ int64_t shellnum2,
|
---|
| 127 | /* in */ int64_t shellnum3,
|
---|
| 128 | /* in */ int64_t deriv_level,
|
---|
| 129 | /* in */ ::Chemistry::QC::GaussianBasis::DerivCenters deriv_ctr )
|
---|
| 130 | throw ()
|
---|
| 131 | {
|
---|
| 132 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3.compute_array)
|
---|
| 133 | // insert implementation here
|
---|
| 134 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3.compute_array)
|
---|
| 135 | }
|
---|
| 136 |
|
---|
| 137 |
|
---|
| 138 | // DO-NOT-DELETE splicer.begin(MPQC.IntegralEvaluator3._misc)
|
---|
| 139 | // Put miscellaneous code here
|
---|
| 140 | // DO-NOT-DELETE splicer.end(MPQC.IntegralEvaluator3._misc)
|
---|
| 141 |
|
---|