NumTns< F > Class Template Reference

#include <numtns.hpp>

List of all members.


Detailed Description

template<class F>
class NumTns< F >

NumTns is a three-dimensional tensor made up of a size and data. The data can be made up of any type (ints, double, bools, etc.). Like NumMat but has extra size.

NumTns is a way to organize 3D cartesian structure. This is seen mainly in fmm3d.cpp and fmm3d_mpi.cpp for use with the Upward Equivalent to Upward Check structure (UpwEqu2UpwChk). Here, the different matrices are from different child to the parent box. Different children are organized as a 2*2*2 tensor. See fmm3d_mpi.cpp for more information.

Definition at line 33 of file numtns.hpp.

Public Member Functions

 NumTns (int m=0, int n=0, int p=0)
 NumTns (int m, int n, int p, bool owndata, F *data)
 NumTns (const NumTns &C)
 ~NumTns ()
NumTnsoperator= (const NumTns &C)
void resize (int m, int n, int p)
const F & operator() (int i, int j, int k) const
F & operator() (int i, int j, int k)
F * data () const
int m () const
int n () const
int p () const

Public Attributes

int _m
int _n
int _p
bool _owndata
F * _data


The documentation for this class was generated from the following file:
Generated on Sun Dec 4 18:13:13 2005 for common by  doxygen 1.4.5