Psi4
Classes | Namespaces | Macros | Typedefs
tensors.h File Reference
#include "psi4/libpsio/psio.h"

Go to the source code of this file.

Classes

class  psi::dfoccwave::Tensor1d
 
class  psi::dfoccwave::Tensor2d
 
class  psi::dfoccwave::Tensor3d
 
class  psi::dfoccwave::Tensor1i
 
class  psi::dfoccwave::Tensor2i
 
class  psi::dfoccwave::Tensor3i
 

Namespaces

 psi
 This is all defined in python.cc initialize.
 
 psi::dfoccwave
 

Macros

#define index2(i, j)   ((i>j) ? ((i*(i+1)/2)+j) : ((j*(j+1)/2)+i))
 
#define index4(i, j, k, l)   index2(index2(i,j),index2(k,l))
 
#define MIN0(a, b)   (((a)<(b)) ? (a) : (b))
 
#define MAX0(a, b)   (((a)>(b)) ? (a) : (b))
 
#define idx_asym(i, j)   ((i>j) ? ((i*(i-1)/2)+j) : ((j*(j-1)/2)+i))
 

Typedefs

using psi::ULI = unsigned long int
 
typedef std::shared_ptr< Tensor1d > psi::dfoccwave::SharedTensor1d
 
typedef std::shared_ptr< Tensor2d > psi::dfoccwave::SharedTensor2d
 
typedef std::shared_ptr< Tensor3d > psi::dfoccwave::SharedTensor3d
 
typedef std::shared_ptr< Tensor1i > psi::dfoccwave::SharedTensor1i
 
typedef std::shared_ptr< Tensor2i > psi::dfoccwave::SharedTensor2i
 
typedef std::shared_ptr< Tensor3i > psi::dfoccwave::SharedTensor3i
 

Macro Definition Documentation

#define idx_asym (   i,
 
)    ((i>j) ? ((i*(i-1)/2)+j) : ((j*(j-1)/2)+i))
#define index2 (   i,
 
)    ((i>j) ? ((i*(i+1)/2)+j) : ((j*(j+1)/2)+i))
#define index4 (   i,
  j,
  k,
 
)    index2(index2(i,j),index2(k,l))
#define MAX0 (   a,
 
)    (((a)>(b)) ? (a) : (b))
#define MIN0 (   a,
 
)    (((a)<(b)) ? (a) : (b))