occ
Loading...
Searching...
No Matches
occ::mults::InteractionTensor< MaxL > Struct Template Reference

Cartesian interaction tensor T_{tuv} = d^{t+u+v}/dx^t dy^u dz^v (1/R) More...

#include <interaction_tensor.h>

Public Member Functions

double & operator() (int t, int u, int v)
 
double operator() (int t, int u, int v) const
 

Public Attributes

double data [size]
 

Static Public Attributes

static constexpr int size = nhermsum(MaxL)
 

Detailed Description

template<int MaxL>
struct occ::mults::InteractionTensor< MaxL >

Cartesian interaction tensor T_{tuv} = d^{t+u+v}/dx^t dy^u dz^v (1/R)

Uses the same index layout as RInts (hermite_index) with point-charge base cases instead of Boys functions.

Template Parameters
MaxLMaximum total rank (t+u+v). For hex-hex interactions, MaxL=8.

Member Function Documentation

◆ operator()() [1/2]

template<int MaxL>
double & occ::mults::InteractionTensor< MaxL >::operator() ( int  t,
int  u,
int  v 
)
inline

◆ operator()() [2/2]

template<int MaxL>
double occ::mults::InteractionTensor< MaxL >::operator() ( int  t,
int  u,
int  v 
) const
inline

Member Data Documentation

◆ data

template<int MaxL>
double occ::mults::InteractionTensor< MaxL >::data[size]

◆ size

template<int MaxL>
constexpr int occ::mults::InteractionTensor< MaxL >::size = nhermsum(MaxL)
staticconstexpr

The documentation for this struct was generated from the following file: