OFELI's Logo

An Object Oriented Finite Element Library

General Purpose Equations

Gathers equation related classes. More...

Classes

class  Equa
 Mother abstract class to describe equation. More...
 
class  Equation< NEN_, NEE_, NSN_, NSE_ >
 Abstract class for all equation classes. More...
 
class  Estimator
 To calculate an a posteriori estimator of the solution. More...
 

Functions

template<class T_ , size_t N_, class E_ >
void element_assembly (const E_ &e, const LocalVect< T_, N_ > &be, Vect< T_ > &b)
 Assemble local vector into global vector. More...
 
template<class T_ , size_t N_, class E_ >
void element_assembly (const E_ &e, const LocalMatrix< T_, N_, N_ > &ae, Vect< T_ > &b)
 Assemble diagonal local vector into global vector. More...
 
template<class T_ , size_t N_, class E_ >
void element_assembly (const E_ &e, const LocalMatrix< T_, N_, N_ > &ae, Matrix< T_ > *A)
 Assemble local matrix into global matrix. More...
 
template<class T_ , size_t N_, class E_ >
void element_assembly (const E_ &e, const LocalMatrix< T_, N_, N_ > &ae, SkMatrix< T_ > &A)
 Assemble local matrix into global skyline matrix. More...
 
template<class T_ , size_t N_, class E_ >
void element_assembly (const E_ &e, const LocalMatrix< T_, N_, N_ > &ae, SkSMatrix< T_ > &A)
 Assemble local matrix into global symmetric skyline matrix. More...
 
template<class T_ , size_t N_, class E_ >
void element_assembly (const E_ &e, const LocalMatrix< T_, N_, N_ > &ae, SpMatrix< T_ > &A)
 Assemble local matrix into global sparse matrix. More...
 
template<class T_ , size_t N_>
void side_assembly (const Element &e, const LocalMatrix< T_, N_, N_ > &ae, SpMatrix< T_ > &A)
 Side assembly of local matrix into global matrix (as instance of class SpMatrix). More...
 
template<class T_ , size_t N_>
void side_assembly (const Element &e, const LocalMatrix< T_, N_, N_ > &ae, SkSMatrix< T_ > &A)
 Side assembly of local matrix into global matrix (as instance of class SkSMatrix). More...
 
template<class T_ , size_t N_>
void side_assembly (const Element &e, const LocalMatrix< T_, N_, N_ > &ae, SkMatrix< T_ > &A)
 Side assembly of local matrix into global matrix (as instance of class SkMatrix). More...
 
template<class T_ , size_t N_>
void side_assembly (const Element &e, const LocalVect< T_, N_ > &be, Vect< T_ > &b)
 Side assembly of local vector into global vector. More...
 
ostream & operator<< (ostream &s, const Estimator &r)
 Output estimator vector in output stream.
 

Detailed Description

Gathers equation related classes.

Function Documentation

◆ element_assembly() [1/6]

void element_assembly ( const E_ &  e,
const LocalMatrix< T_, N_, N_ > &  ae,
Matrix< T_ > *  A 
)

Assemble local matrix into global matrix.

This function is to be called with an abstract pointer to matrix (class Matrix)

Parameters
[in]eReference to local entity (Element or Side)
[in]aeLocal matrix
[in,out]APointer to global matrix
Author
Rachid Touzani

◆ element_assembly() [2/6]

void element_assembly ( const E_ &  e,
const LocalMatrix< T_, N_, N_ > &  ae,
SkMatrix< T_ > &  A 
)

Assemble local matrix into global skyline matrix.

Parameters
[in]eReference to local entity (Element or Side)
[in]aeLocal matrix
[in,out]AGlobal matrix
Author
Rachid Touzani

◆ element_assembly() [3/6]

void element_assembly ( const E_ &  e,
const LocalMatrix< T_, N_, N_ > &  ae,
SkSMatrix< T_ > &  A 
)

Assemble local matrix into global symmetric skyline matrix.

Parameters
[in]eReference to local entity (Element or Side)
[in]aeLocal matrix
[in,out]AGlobal matrix
Author
Rachid Touzani

◆ element_assembly() [4/6]

void element_assembly ( const E_ &  e,
const LocalMatrix< T_, N_, N_ > &  ae,
SpMatrix< T_ > &  A 
)

Assemble local matrix into global sparse matrix.

Parameters
[in]eReference to local entity (Element or Side)
[in]aeLocal matrix
[in,out]AGlobal matrix
Author
Rachid Touzani

◆ element_assembly() [5/6]

void element_assembly ( const E_ &  e,
const LocalMatrix< T_, N_, N_ > &  ae,
Vect< T_ > &  b 
)

Assemble diagonal local vector into global vector.

Parameters
[in]eReference to local entity (Element or Side)
[in]aeLocal matrix
[in,out]bGlobal vector
Author
Rachid Touzani

◆ element_assembly() [6/6]

void element_assembly ( const E_ &  e,
const LocalVect< T_, N_ > &  be,
Vect< T_ > &  b 
)

Assemble local vector into global vector.

Parameters
[in]eReference to local entity (Element or Side)
[in]beLocal vector
[in,out]bGlobal vector
Author
Rachid Touzani

◆ side_assembly() [1/4]

void side_assembly ( const Element e,
const LocalMatrix< T_, N_, N_ > &  ae,
SkMatrix< T_ > &  A 
)

Side assembly of local matrix into global matrix (as instance of class SkMatrix).

Parameters
[in]eReference to local Element
[in]aeLocal matrix
[in,out]AGlobal matrix
Author
Rachid Touzani

◆ side_assembly() [2/4]

void side_assembly ( const Element e,
const LocalMatrix< T_, N_, N_ > &  ae,
SkSMatrix< T_ > &  A 
)

Side assembly of local matrix into global matrix (as instance of class SkSMatrix).

Parameters
[in]eReference to local Element
[in]aeLocal matrix
[in,out]AGlobal matrix
Author
Rachid Touzani

◆ side_assembly() [3/4]

void side_assembly ( const Element e,
const LocalMatrix< T_, N_, N_ > &  ae,
SpMatrix< T_ > &  A 
)

Side assembly of local matrix into global matrix (as instance of class SpMatrix).

Parameters
[in]eReference to local Element
[in]aeLocal matrix
[in,out]AGlobal matrix
Author
Rachid Touzani

◆ side_assembly() [4/4]

void side_assembly ( const Element e,
const LocalVect< T_, N_ > &  be,
Vect< T_ > &  b 
)

Side assembly of local vector into global vector.

Parameters
[in]eReference to local Element
[in]beLocal vector
[in,out]bGlobal vector
Author
Rachid Touzani





Copyright © 1998-2022 Rachid Touzani