valSPH
 All Classes Files Functions Variables
OneTensor Class Reference

#include <OneTensor.h>

Collaboration diagram for OneTensor:
Collaboration graph

Public Member Functions

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

Constructor & Destructor Documentation

OneTensor::OneTensor ( )

It creates a new empty OneTensor.

OneTensor::~OneTensor ( )

It destroys the position object.

Member Function Documentation

double OneTensor::at ( int  pos)

It consults the position supplied.

Parameters
positionwe need
Returns
contents of the position pos
void OneTensor::push_back ( double  compoment)

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: