LifeV
VectorElemental Class Reference

#include <VectorElemental.hpp>

+ Inheritance diagram for VectorElemental:
+ Collaboration diagram for VectorElemental:

Public Types

typedef KN< Realsuper
 
typedef KN_< Realvector_view
 

Public Member Functions

 VectorElemental (int nNode1, int nbr1)
 
 VectorElemental (int nNode1, int nbr1, int nNode2, int nbr2)
 
 VectorElemental (int nNode1, int nbr1, int nNode2, int nbr2, int nNode3, int nbr3)
 
VectorElementaloperator= (super const &__v)
 
supervec ()
 
const supervec () const
 
int nBlockRow () const
 
vector_view block (int i)
 
void zero ()
 
void showMe (std::ostream &c=std::cout)
 
- Public Member Functions inherited from KN< Real >
 KN (const int nn)
 
 KN (const int nn, Real(*f)(int i))
 
 KN (const int nn, const Real &a)
 
 KN (const int nn, int s, const Real a)
 
 KN (const KN_< S > &s)
 
 KN (const KN_< S > &s, Real(*f)(S))
 
 KN (const KN< Real > &u)
 
 KN (const KN_< Real > &u)
 
 ~KN ()
 
const KNoperator= (Real a)
 
const KNoperator= (const KN_< Real > &a)
 
const KNoperator= (const KN< Real > &a)
 
const KNoperator= (const Add_KN_< Real > &u)
 
const KNoperator= (const Sub_KN_< Real > &u)
 
const KNoperator= (const Mulc_KN_< Real > &u)
 
const KNoperator= (const Add_Mulc_KN_< Real > &u)
 
const KNoperator= (const Mul_KNM_KN_< Real > &u)
 
const KNoperator= (const MatriceCreuseMulKN_< Real > &A)
 
const KNoperator= (const MatriceCreuseDivKN_< Real > &A)
 
const KNoperator-= (Real a)
 
const KNoperator-= (const KN_< Real > &a)
 
const KNoperator-= (const Add_KN_< Real > &u)
 
const KNoperator-= (const Sub_KN_< Real > &u)
 
const KNoperator-= (const Mulc_KN_< Real > &u)
 
const KNoperator-= (const Add_Mulc_KN_< Real > &u)
 
const KNoperator-= (const Mul_KNM_KN_< Real > &u)
 
const KNoperator+= (Real a)
 
const KNoperator+= (const KN_< Real > &a)
 
const KNoperator+= (const Add_KN_< Real > &u)
 
const KNoperator+= (const Sub_KN_< Real > &u)
 
const KNoperator+= (const Mulc_KN_< Real > &u)
 
const KNoperator+= (const Add_Mulc_KN_< Real > &u)
 
const KNoperator+= (const Mul_KNM_KN_< Real > &u)
 
const KNoperator/= (Real a)
 
const KNoperator/= (const KN_< Real > &a)
 
const KNoperator*= (Real a)
 
const KNoperator*= (const KN_< Real > &a)
 
- Public Member Functions inherited from KN_< Real >
int N () const
 
int size () const
 
 operator Real * () const
 
 KN_ (const KN_< Real > &u)
 
 KN_ (const KN_< Real > &U, const SubArray &sa)
 
KN_ operator() (const SubArray &sa) const
 
Realoperator() (int i) const
 
Realoperator[] (int i) const
 
Real operator, (const KN_< Real > &v) const
 
const KN_operator= (const KN_< Real > &u)
 
const KN_operator= (Real a)
 
const KN_operator= (const Add_KN_< Real > &u)
 
const KN_operator= (const Sub_KN_< Real > &u)
 
const KN_operator= (const Mulc_KN_< Real > &u)
 
const KN_operator= (const Add_Mulc_KN_< Real > &u)
 
const KN_operator= (const Mul_KNM_KN_< Real > &u)
 
const KN_operator= (const MatriceCreuseMulKN_< Real > &)
 
const KN_operator= (const MatriceCreuseDivKN_< Real > &)
 
const KN_operator+= (const KN_< Real > &u)
 
const KN_operator+= (Real a)
 
const KN_operator+= (const Add_KN_< Real > &u)
 
const KN_operator+= (const Sub_KN_< Real > &u)
 
const KN_operator+= (const Mulc_KN_< Real > &u)
 
const KN_operator+= (const Add_Mulc_KN_< Real > &u)
 
const KN_operator+= (const Mul_KNM_KN_< Real > &u)
 
const KN_operator-= (const KN_< Real > &u)
 
const KN_operator-= (Real a)
 
const KN_operator-= (const Add_KN_< Real > &u)
 
const KN_operator-= (const Sub_KN_< Real > &u)
 
const KN_operator-= (const Mulc_KN_< Real > &u)
 
const KN_operator-= (const Add_Mulc_KN_< Real > &u)
 
const KN_operator-= (const Mul_KNM_KN_< Real > &u)
 
const KN_operator*= (const KN_< Real > &u)
 
const KN_operator*= (Real a)
 
const KN_operator/= (const KN_< Real > &u)
 
const KN_operator/= (Real a)
 
Real KNMmin () const
 
Real KNMmax () const
 
Real sum () const
 
KN_map (Real(*)(Real))
 
- Public Member Functions inherited from ShapeOfArray
 ShapeOfArray (const ShapeOfArray &s, int nn)
 
 ShapeOfArray (int nn)
 
 ShapeOfArray (int nn, int s)
 
 ShapeOfArray (int nn, int s, int nextt)
 
 ShapeOfArray (const ShapeOfArray &old, const SubArray &sub)
 
 ShapeOfArray (const ShapeOfArray &old, int stepo, int start)
 
int end () const
 
int last () const
 
int constant () const
 
int index (int k) const
 
ShapeOfArray operator* (int stepp) const
 
bool SameShape (const ShapeOfArray &a) const
 
int N (const ShapeOfArray &a)
 
int operator[] (int k) const
 

Private Attributes

int _nBlockRow
 
std::vector< int > _nRow
 
std::vector< int > _firstRow
 

Additional Inherited Members

- Data Fields inherited from ShapeOfArray
const int n
 
const int step
 
const int next
 
- Protected Attributes inherited from KN_< Real >
Realv
 

Detailed Description

Definition at line 46 of file VectorElemental.hpp.

Member Typedef Documentation

◆ super

typedef KN<Real> super

Definition at line 53 of file VectorElemental.hpp.

◆ vector_view

typedef KN_<Real> vector_view

Definition at line 54 of file VectorElemental.hpp.

Constructor & Destructor Documentation

◆ VectorElemental() [1/3]

VectorElemental ( int  nNode1,
int  nbr1 
)

Definition at line 41 of file VectorElemental.cpp.

+ Here is the caller graph for this function:

◆ VectorElemental() [2/3]

VectorElemental ( int  nNode1,
int  nbr1,
int  nNode2,
int  nbr2 
)

Definition at line 56 of file VectorElemental.cpp.

+ Here is the caller graph for this function:

◆ VectorElemental() [3/3]

VectorElemental ( int  nNode1,
int  nbr1,
int  nNode2,
int  nbr2,
int  nNode3,
int  nbr3 
)

Definition at line 78 of file VectorElemental.cpp.

+ Here is the caller graph for this function:

Member Function Documentation

◆ operator=()

VectorElemental& operator= ( super const &  __v)
inline

Definition at line 64 of file VectorElemental.hpp.

◆ vec() [1/2]

super& vec ( )
inline

Definition at line 74 of file VectorElemental.hpp.

◆ vec() [2/2]

const super& vec ( ) const
inline

Definition at line 78 of file VectorElemental.hpp.

◆ nBlockRow()

int nBlockRow ( ) const
inline

Definition at line 82 of file VectorElemental.hpp.

◆ block()

vector_view block ( int  i)
inline

Definition at line 87 of file VectorElemental.hpp.

◆ zero()

void zero ( )
inline

Definition at line 93 of file VectorElemental.hpp.

+ Here is the caller graph for this function:

◆ showMe()

void showMe ( std::ostream &  c = std::cout)

Definition at line 108 of file VectorElemental.cpp.

Field Documentation

◆ _nBlockRow

int _nBlockRow
private

Definition at line 101 of file VectorElemental.hpp.

◆ _nRow

std::vector<int> _nRow
private

Definition at line 102 of file VectorElemental.hpp.

◆ _firstRow

std::vector<int> _firstRow
private

Definition at line 103 of file VectorElemental.hpp.


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