valSPH
 All Classes Files Functions Variables
FourTensor Class Reference

#include <FourTensor.h>

Collaboration diagram for FourTensor:
Collaboration graph

Public Member Functions

 FourTensor ()
 It creates a new empty FourTensor.
 
ThreeTensor at (int pos)
 It consults the position supplied.
 
void push_back (ThreeTensor threeTensor)
 It adds the value supplied at the end.
 
 ~FourTensor ()
 It destroys the FourTensor object.
 

Constructor & Destructor Documentation

FourTensor::FourTensor ( )

It creates a new empty FourTensor.

FourTensor::~FourTensor ( )

It destroys the FourTensor object.

Member Function Documentation

ThreeTensor FourTensor::at ( int  pos)

It consults the position supplied.

Parameters
positionwe need
Returns
contents of the position pos
void FourTensor::push_back ( ThreeTensor  threeTensor)

It adds the value supplied at the end.

Parameters
valuethat we need to store

The documentation for this class was generated from the following files: