MPQC  3.0.0-alpha
src/lib/chemistry/qc/ccr12/ccsdpr12_c.h
00001 //
00002 // ccsdpr12_c.h --- computes the GT2 residual vector of CCSD(R12)
00003 //
00004 // Copyright (C) 2009 Toru Shiozaki
00005 //
00006 // Author: Toru Shiozaki <shiozaki.toru@gmail.com>
00007 // Maintainer: TS
00008 //
00009 // This file is part of the SC Toolkit.
00010 //
00011 // The SC Toolkit is free software; you can redistribute it and/or modify
00012 // it under the terms of the GNU Library General Public License as published by
00013 // the Free Software Foundation; either version 2, or (at your option)
00014 // any later version.
00015 //
00016 // The SC Toolkit is distributed in the hope that it will be useful,
00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019 // GNU Library General Public License for more details.
00020 //
00021 // You should have received a copy of the GNU Library General Public License
00022 // along with the SC Toolkit; see the file COPYING.LIB.  If not, write to
00023 // the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
00024 //
00025 // The U.S. Government is granted a limited license as per AL 91-7.
00026 //
00027 
00028 #ifndef _chemistry_qc_ccr12_ccsdpr12_c_h
00029 #define _chemistry_qc_ccr12_ccsdpr12_c_h
00030 
00031 #include <chemistry/qc/ccr12/ccr12_info.h>
00032 
00033 namespace sc {
00034 
00035 class CCSDPR12_C {
00036 
00037   protected:
00038    CCR12_Info* z;
00039    std::vector<Tensor*> in;
00040 
00041    void offset_smith_0_1();
00042    void smith_0_1_0(); //z->vd2()=>in.at(1)
00043    void offset_smith_1_1();
00044    void smith_1_1_0(); //z->f1()=>in.at(2)
00045    void smith_2_12(); //z->t1(),z->v2()=>in.at(2)
00046    void smith_1_1(); //z->fy(),in.at(2)=>in.at(1)
00047    void offset_smith_1_14();
00048    void smith_2_14(); //z->t1(),z->fy()=>in.at(2)
00049    void smith_1_14(); //z->v2(),in.at(2)=>in.at(1)
00050    void smith_0_1(Ref<Tensor>&); //z->t2(),in.at(1)=>Ref<Tensor>&
00051    void offset_smith_0_2();
00052    void smith_1_2(); //z->c2(),z->f1()=>in.at(1)
00053    void smith_0_2(Ref<Tensor>&); //z->xs2(),in.at(1)=>Ref<Tensor>&
00054    void smith_0_3(Ref<Tensor>&); //z->c2(),z->bs2()=>Ref<Tensor>&
00055    void smith_0_4(Ref<Tensor>&); //z->vd2()=>Ref<Tensor>&
00056    void offset_smith_0_5();
00057    void smith_1_5(); //z->t1(),z->fy()=>in.at(1)
00058    void smith_0_5(Ref<Tensor>&); //z->v2(),in.at(1)=>Ref<Tensor>&
00059    void offset_smith_0_6();
00060    void smith_0_6_0(); //z->vd2()=>in.at(1)
00061    void offset_smith_1_7();
00062    void smith_2_7(); //z->t1(),z->fy()=>in.at(2)
00063    void smith_1_7(); //z->v2(),in.at(2)=>in.at(1)
00064    void smith_1_8(); //z->t1(),z->vd2()=>in.at(1)
00065    void smith_0_6(Ref<Tensor>&); //z->t1(),in.at(1)=>Ref<Tensor>&
00066    void offset_smith_0_9();
00067    void offset_smith_1_9();
00068    void smith_1_9_0(); //z->v2()=>in.at(2)
00069    void smith_2_13(); //z->t1(),z->v2()=>in.at(2)
00070    void smith_1_9(); //z->t2(),in.at(2)=>in.at(1)
00071    void offset_smith_1_11();
00072    void offset_smith_2_11();
00073    void smith_3_11(); //z->t1(),z->v2()=>in.at(3)
00074    void smith_2_11(); //z->t1(),in.at(3)=>in.at(2)
00075    void smith_1_11(); //z->t1(),in.at(2)=>in.at(1)
00076    void smith_0_9(Ref<Tensor>&); //z->fy(),in.at(1)=>Ref<Tensor>&
00077 
00078   public:
00079    CCSDPR12_C(CCR12_Info* info);
00080    ~CCSDPR12_C();
00081     
00082    void compute_amp(Ref<Tensor>& out);
00083 
00084 };
00085 
00086 
00087 
00088 }
00089 
00090 #endif
00091 
00092 

Generated at Sat Jul 7 2012 11:52:44 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.0.