valSPH
 All Classes Files Functions Variables
TwoTensor Class Reference

#include <TwoTensor.h>

Collaboration diagram for TwoTensor:
Collaboration graph

Public Member Functions

 TwoTensor ()
 It creates a new empty TwoTensor.
 
OneTensor at (int pos)
 It consults the position supplied.
 
void push_back (OneTensor oneTensor)
 It adds the value supplied at the end.
 
 ~TwoTensor ()
 It destroys the TwoTensor object.
 

Constructor & Destructor Documentation

TwoTensor::TwoTensor ( )

It creates a new empty TwoTensor.

TwoTensor::~TwoTensor ( )

It destroys the TwoTensor object.

Member Function Documentation

OneTensor TwoTensor::at ( int  pos)

It consults the position supplied.

Parameters
positionwe need
Returns
contents of the position pos
void TwoTensor::push_back ( OneTensor  oneTensor)

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: