MFEM  v3.3
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mfem::TVector< S, data_t, align > Struct Template Reference

#include <ttensor.hpp>

Inherited by mfem::TMatrix< DOF, NIP, real_t, true >, mfem::TMatrix< NIP, DOF, real_t, true >, mfem::TMatrix< qpts, 1, complex_type >, mfem::TMatrix< qpts, 1, typename IR::real_type >, mfem::TTensor3< DOF, NIP, DIM, real_t >, mfem::TTensor3< dofs, sdim, 1, real_t >, mfem::TTensor3< dofs, sdim, NE, real_t >, mfem::TTensor3< dofs, vdim, NE, complex_t, true >, mfem::TTensor3< NIP, DIM, DOF, real_t, true >, mfem::TTensor3< qpts, sdim, NE, real_t, true >, mfem::TTensor3< qpts, vdim, NE, complex_t >, mfem::TTensor3< qpts, vdim, NE, complex_t, true >, mfem::TTensor4< qpts, dim, sdim, NE, real_t, true >, and mfem::TTensor4< qpts, dim, vdim, NE, complex_t >.

Collaboration diagram for mfem::TVector< S, data_t, align >:
[legend]

Public Types

typedef data_t data_type
 
typedef StridedLayout1D< S, 1 > layout_type
 

Public Member Functions

data_t & operator[] (int i)
 
const data_t & operator[] (int i) const
 
template<AssignOp::Type Op>
void Assign (const data_t d)
 
template<AssignOp::Type Op, typename src_data_t >
void Assign (const src_data_t &src)
 
template<AssignOp::Type Op, typename dest_data_t >
void AssignTo (dest_data_t &dest)
 
void Set (const data_t d)
 
template<typename src_data_t >
void Set (const src_data_t &src)
 
template<typename dest_data_t >
void Assemble (dest_data_t &dest) const
 
void Scale (const data_t scale)
 

Public Attributes

data_t data [aligned_size >0?aligned_size:1]
 

Static Public Attributes

static const int size = S
 
static const int aligned_size = align ? MFEM_ALIGN_SIZE(S,data_t) : size
 
static const layout_type layout = layout_type()
 

Detailed Description

template<int S, typename data_t = double, bool align = false>
struct mfem::TVector< S, data_t, align >

Definition at line 243 of file ttensor.hpp.

Member Typedef Documentation

template<int S, typename data_t = double, bool align = false>
typedef data_t mfem::TVector< S, data_t, align >::data_type

Definition at line 248 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
typedef StridedLayout1D<S,1> mfem::TVector< S, data_t, align >::layout_type

Definition at line 251 of file ttensor.hpp.

Member Function Documentation

template<int S, typename data_t = double, bool align = false>
template<typename dest_data_t >
void mfem::TVector< S, data_t, align >::Assemble ( dest_data_t &  dest) const
inline

Definition at line 287 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
template<AssignOp::Type Op>
void mfem::TVector< S, data_t, align >::Assign ( const data_t  d)
inline

Definition at line 258 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
template<AssignOp::Type Op, typename src_data_t >
void mfem::TVector< S, data_t, align >::Assign ( const src_data_t &  src)
inline

Definition at line 264 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
template<AssignOp::Type Op, typename dest_data_t >
void mfem::TVector< S, data_t, align >::AssignTo ( dest_data_t &  dest)
inline

Definition at line 270 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
data_t& mfem::TVector< S, data_t, align >::operator[] ( int  i)
inline

Definition at line 254 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
const data_t& mfem::TVector< S, data_t, align >::operator[] ( int  i) const
inline

Definition at line 255 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
void mfem::TVector< S, data_t, align >::Scale ( const data_t  scale)
inline

Definition at line 292 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
void mfem::TVector< S, data_t, align >::Set ( const data_t  d)
inline

Definition at line 275 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
template<typename src_data_t >
void mfem::TVector< S, data_t, align >::Set ( const src_data_t &  src)
inline

Definition at line 281 of file ttensor.hpp.

Member Data Documentation

template<int S, typename data_t = double, bool align = false>
const int mfem::TVector< S, data_t, align >::aligned_size = align ? MFEM_ALIGN_SIZE(S,data_t) : size
static

Definition at line 247 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
data_t mfem::TVector< S, data_t, align >::data[aligned_size >0?aligned_size:1]

Definition at line 249 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
const TVector< S, data_t, align >::layout_type mfem::TVector< S, data_t, align >::layout = layout_type()
static

Definition at line 252 of file ttensor.hpp.

template<int S, typename data_t = double, bool align = false>
const int mfem::TVector< S, data_t, align >::size = S
static

Definition at line 246 of file ttensor.hpp.


The documentation for this struct was generated from the following file: