22 #include <smart_ptr.h> 23 #include <global_macros.h> 25 #ifndef _libint2_src_bin_libint_traits_h_ 26 #define _libint2_src_bin_libint_traits_h_ 32 typedef SafePtr<T> StorageType;
33 enum { StoredAsPtr =
true };
34 static const T& const_ref(
const StorageType& s) {
return *s; };
41 enum { StoredAsPtr =
false };
48 enum { StoredAsPtr =
false };
52 template <CartesianAxis Axis>
55 enum { StoredAsPtr =
false };
59 template <CartesianAxis Axis>
62 enum { StoredAsPtr =
false };
70 template <
typename Ref,
typename Base>
72 typedef const Base& result;
74 template <
typename Ref,
typename Base>
76 typedef SafePtr<Base> result;
StorageTraits< T >::StorageType StorageType
By default, use SafePtr to manage these objects.
Definition: traits.h:84
Cartesian components of 3D CGF = 1D CGF.
Definition: bfset.h:438
3D Cartesian Gaussian Shell
Definition: bfset.h:243
Converts Base to a type of the same signature as Ref. For example, if Ref is SafePtr<T> then Base is ...
Definition: traits.h:71
Defaults definitions for various parameters assumed by Libint.
Definition: algebra.cc:24
a "shell" of 1D CGFs with quantum number L is a set of 1D CGFs with quantum numbers 0 .
Definition: bfset.h:627
static const T & const_ref(const StorageType &s)
Convert an object of StorageType to const T&.
Definition: traits.h:88
3D Cartesian Gaussian Function
Definition: bfset.h:332