00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifdef __GNUG__
00029 #pragma interface
00030 #endif
00031
00032 #ifndef _mpqc_src_lib_chemistry_qc_mbptr12_transformfactorytimpl_h
00033 #define _mpqc_src_lib_chemistry_qc_mbptr12_transformfactorytimpl_h
00034
00035 #include <chemistry/qc/mbptr12/transform_factory.h>
00036 #include <chemistry/qc/mbptr12/transform_tbint.h>
00037
00038 namespace sc {
00039
00040 template <typename TransformType> Ref<TwoBodyMOIntsTransform>
00041 MOIntsTransformFactory::twobody_transform(const std::string& name,
00042 const Ref<TwoBodyIntDescr>& descrarg)
00043 {
00044 Ref<TwoBodyMOIntsTransform> result;
00045 const Ref<TwoBodyIntDescr> descr = (descrarg.null() ? tbintdescr() : descrarg);
00046 result = new TransformType(name,this,descr,space1_,space2_,space3_,space4_);
00047
00048 if (top_mole_.nonnull())
00049 result->set_top_mole(top_mole_);
00050 result->set_debug(debug());
00051 reserve_memory(result->memory());
00052
00053 return result;
00054 }
00055
00056
00057
00058 }
00059
00060 #endif // end of header guard
00061
00062
00063
00064
00065
00066