![]() |
QMCPACK
|
SoA adaptor class for ParticleAttrib<TinyVector<T,3> > More...
Collaboration diagram for TensorSoaContainer< T, 3 >:Classes | |
| struct | Accessor |
| helper class for operator ()(int i) to assign a value More... | |
Public Types | |
| using | Element_t = T |
Public Member Functions | |
| TensorSoaContainer () | |
| default constructor More... | |
| TensorSoaContainer (const TensorSoaContainer &in)=default | |
| default copy constructor More... | |
| TensorSoaContainer & | operator= (const TensorSoaContainer &in)=default |
| default copy operator More... | |
| TensorSoaContainer (int n) | |
| constructor with size n without initialization More... | |
| template<typename T1 > | |
| TensorSoaContainer & | operator= (T1 in) |
| need A=0.0; More... | |
| ~TensorSoaContainer ()=default | |
| void | resize (int n) |
| Tensor< T, 3 > | operator[] (int i) const |
| return TinyVector<T,3> More... | |
| Accessor | operator() (int i) |
| access operator for assignment of the i-th value More... | |
| T * | data () |
| return the base More... | |
| const T * | data () const |
| return the base More... | |
| T *restrict | data (int i, int j) |
| return the base of XX components More... | |
| const T *restrict | data (int i, int j) const |
| return the base of XX components More... | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
| serialization function More... | |
Public Attributes | |
| int | nLocal |
| number of elements More... | |
| int | nGhosts |
| number of elements + padded More... | |
| aligned_vector< T > | m_data |
| container More... | |
SoA adaptor class for ParticleAttrib<TinyVector<T,3> >
| T | data type, float, double, complex<float>, complex<double> |
Definition at line 30 of file TensorSoaContainer.h.
| using Element_t = T |
Definition at line 32 of file TensorSoaContainer.h.
|
inline |
default constructor
Definition at line 42 of file TensorSoaContainer.h.
|
default |
default copy constructor
|
inlineexplicit |
constructor with size n without initialization
Definition at line 49 of file TensorSoaContainer.h.
References qmcplusplus::n.
|
default |
|
inline |
return the base
Definition at line 125 of file TensorSoaContainer.h.
|
inline |
return the base
Definition at line 127 of file TensorSoaContainer.h.
|
inline |
return the base of XX components
Definition at line 129 of file TensorSoaContainer.h.
References qmcplusplus::n.
|
inline |
return the base of XX components
Definition at line 135 of file TensorSoaContainer.h.
References qmcplusplus::n.
|
inline |
access operator for assignment of the i-th value
Use for (*this)[i]=Tensor<T,3>;
Definition at line 122 of file TensorSoaContainer.h.
|
default |
default copy operator
|
inline |
need A=0.0;
Definition at line 54 of file TensorSoaContainer.h.
|
inline |
return TinyVector<T,3>
Definition at line 71 of file TensorSoaContainer.h.
|
inline |
Definition at line 62 of file TensorSoaContainer.h.
References qmcplusplus::n.
|
inline |
serialization function
Definition at line 143 of file TensorSoaContainer.h.
| aligned_vector<T> m_data |
container
Definition at line 39 of file TensorSoaContainer.h.
| int nGhosts |
number of elements + padded
Definition at line 37 of file TensorSoaContainer.h.
| int nLocal |
number of elements
Definition at line 35 of file TensorSoaContainer.h.