X-Git-Url: http://git.treefish.org/~alex/phys/su2clebsch.git/blobdiff_plain/e2c2ab8026276b7ebe343b1ebe86f3248547940a..a02d886eef0f2fb5c434d094ff34064aa62eed2e:/su2clebsch.hpp diff --git a/su2clebsch.hpp b/su2clebsch.hpp index 689c0a1..87e01bf 100644 --- a/su2clebsch.hpp +++ b/su2clebsch.hpp @@ -3,9 +3,22 @@ namespace su2clebsch { + struct prestore { + private: + unsigned int max2j; + double *cgcdata; + public: + prestore(unsigned int _max2j); + + friend double cgc (int factor1_2j, int factor1_2m, int factor2_2j, int factor2_2m, + int irrep_2j, int irrep_2m, const prestore& Prestore); + }; + double cgc (int factor1_2j, int factor1_2m, int factor2_2j, int factor2_2m, int irrep_2j, int irrep_2m); + double cgc (int factor1_2j, int factor1_2m, int factor2_2j, int factor2_2m, + int irrep_2j, int irrep_2m, const prestore& Prestore); }; #endif