Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NVec< DIM, T > Class Template Reference

#include <NVec.h>

Inheritance diagram for NVec< DIM, T >:
Collaboration diagram for NVec< DIM, T >:

Public Member Functions

 NVec ()
 
 NVec (T *v)
 
 NVec (T t1,...)
 
 NVec (T t1, T t2, T t3, T t4)
 
 NVec (T t1, T t2, T t3)
 
 NVec (T t1, T t2)
 
virtual ~NVec ()
 
NVec< DIM, T > & operator() (T t1,...)
 
NVec< DIM, T > & operator= (T s)
 
 NVec ()
 
 NVec (T *v)
 
 NVec (T t1,...)
 
 NVec (T t1, T t2, T t3, T t4)
 
 NVec (T t1, T t2, T t3)
 
 NVec (T t1, T t2)
 
virtual ~NVec ()
 
NVec< DIM, T > & operator() (T t1,...)
 
NVec< DIM, T > & operator= (T s)
 

Additional Inherited Members

- Public Attributes inherited from vector< T >
elements
 STL member. More...
 

Detailed Description

template<int DIM, typename T>
class nvc::NVec< DIM, T >

Definition at line 17 of file Rocon/include/NVec.h.

Constructor & Destructor Documentation

NVec ( )
inline

Definition at line 20 of file Rocon/include/NVec.h.

20 :vector<T>(DIM){};//this->resize(DIM);}
NVec ( T *  v)
inline

Definition at line 22 of file Rocon/include/NVec.h.

22  :vector<double>(DIM)
23  {
24  for(int i =0;i<DIM;i++)
25  this->push_back(v[i]);
26  }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
blockLoc i
Definition: read.cpp:79
NVec ( t1,
  ... 
)
inline

Definition at line 28 of file Rocon/include/NVec.h.

28  : vector<T>(DIM)
29  {
30  va_list marker;
31  this->push_back(t1);
32  va_start( marker, t1);
33  for(int i =1;i<DIM;i++)
34  this->push_back((T) va_arg( marker, T));
35  va_end( marker );
36  }
blockLoc i
Definition: read.cpp:79
NVec ( t1,
t2,
t3,
t4 
)
inline

Definition at line 40 of file Rocon/include/NVec.h.

40  :vector<T>(DIM)
41  {
42  (*this)[0] = t1;(*this)[1] = t2;
43  (*this)[2] = t3;(*this)[3] = t4;
44  }
NVec ( t1,
t2,
t3 
)
inline

Definition at line 45 of file Rocon/include/NVec.h.

45  :vector<T>(DIM)
46  {
47  (*this)[0] = t1;(*this)[1] = t2;(*this)[2] = t3;
48  }
NVec ( t1,
t2 
)
inline

Definition at line 49 of file Rocon/include/NVec.h.

49  :vector<T>(DIM)
50  {
51  (*this)[0] = t1;(*this)[1] = t2;
52  }
virtual ~NVec ( )
inlinevirtual

Definition at line 55 of file Rocon/include/NVec.h.

55 {};
NVec ( )
inline

Definition at line 20 of file Rocprop/include/NVec.h.

20 :vector<T>(DIM){};//this->resize(DIM);}
NVec ( T *  v)
inline

Definition at line 22 of file Rocprop/include/NVec.h.

22  :vector<double>(DIM)
23  {
24  for(int i =0;i<DIM;i++)
25  this->push_back(v[i]);
26  }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
blockLoc i
Definition: read.cpp:79
NVec ( t1,
  ... 
)
inline

Definition at line 28 of file Rocprop/include/NVec.h.

28  : vector<T>(DIM)
29  {
30  va_list marker;
31  this->push_back(t1);
32  va_start( marker, t1);
33  for(int i =1;i<DIM;i++)
34  this->push_back((T) va_arg( marker, T));
35  va_end( marker );
36  }
blockLoc i
Definition: read.cpp:79
NVec ( t1,
t2,
t3,
t4 
)
inline

Definition at line 40 of file Rocprop/include/NVec.h.

40  :vector<T>(DIM)
41  {
42  (*this)[0] = t1;(*this)[1] = t2;
43  (*this)[2] = t3;(*this)[3] = t4;
44  }
NVec ( t1,
t2,
t3 
)
inline

Definition at line 45 of file Rocprop/include/NVec.h.

45  :vector<T>(DIM)
46  {
47  (*this)[0] = t1;(*this)[1] = t2;(*this)[2] = t3;
48  }
NVec ( t1,
t2 
)
inline

Definition at line 49 of file Rocprop/include/NVec.h.

49  :vector<T>(DIM)
50  {
51  (*this)[0] = t1;(*this)[1] = t2;
52  }
virtual ~NVec ( )
inlinevirtual

Definition at line 55 of file Rocprop/include/NVec.h.

55 {};

Member Function Documentation

NVec<DIM,T>& operator() ( t1,
  ... 
)
inline

Definition at line 57 of file Rocon/include/NVec.h.

58  {
59  va_list marker;
60  this->push_back(t1);
61  va_start( marker, t1);
62  for(int i =1;i<DIM;i++)
63  this->push_back((T) va_arg( marker, T));
64  va_end( marker );
65  }
blockLoc i
Definition: read.cpp:79
NVec<DIM,T>& operator() ( t1,
  ... 
)
inline

Definition at line 57 of file Rocprop/include/NVec.h.

58  {
59  va_list marker;
60  this->push_back(t1);
61  va_start( marker, t1);
62  for(int i =1;i<DIM;i++)
63  this->push_back((T) va_arg( marker, T));
64  va_end( marker );
65  }
blockLoc i
Definition: read.cpp:79
NVec<DIM,T>& operator= ( s)
inline

Definition at line 67 of file Rocprop/include/NVec.h.

68  {
69  for(int i=0;i<DIM;i++)
70  (*this)[i]=s;
71  return *this;
72  }
double s
Definition: blastest.C:80
blockLoc i
Definition: read.cpp:79
NVec<DIM,T>& operator= ( s)
inline

Definition at line 67 of file Rocon/include/NVec.h.

68  {
69  for(int i=0;i<DIM;i++)
70  (*this)[i]=s;
71  return *this;
72  }
double s
Definition: blastest.C:80
blockLoc i
Definition: read.cpp:79

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