LifeV
VectorElemental Class Reference

#include <VectorElemental.hpp>

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

Public Types

typedef KN< Real > super
 
typedef KN_< Real > vector_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)
 
VectorElemental & operator= (super const &__v)
 
super & vec ()
 
const super & vec () 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 KN & operator= (Real a)
 
const KN & operator= (const KN_< Real > &a)
 
const KN & operator= (const KN< 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 > &A)
 
const KN & operator= (const MatriceCreuseDivKN_< Real > &A)
 
const KN & operator-= (Real a)
 
const KN & operator-= (const KN_< 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+= (Real a)
 
const KN & operator+= (const KN_< 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/= (Real a)
 
const KN & operator/= (const KN_< Real > &a)
 
const KN & operator*= (Real a)
 
const KN & operator*= (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
 
Real & operator() (int i) const
 
Real & operator[] (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 >
Real * v
 

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: