OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Integration of boundary face matrices. More...
Functions | |
template<int dim> | |
void | advection (FullMatrix< double > &M, const FEFaceValuesBase< dim > &fe, const std::vector< Point< dim > > &velocity, double factor=1.) |
Upwind flux at the boundary. | |
template<int dim> | |
void | advection (FullMatrix< double > &M, const FEFaceValuesBase< dim > &fe, const VectorSlice< const std::vector< std::vector< double > > > &velocity, double factor=1.) |
Upwind flux at the boundary. | |
template<int dim> | |
void | u_dot_n (std::vector< MatrixBlock< FullMatrix< double > > > &M, const std::vector< unsigned int > &indices, const FEFaceValuesBase< dim > &fe, const FEFaceValuesBase< dim > &fetest, double factor=1.) |
Scalar product of trial function and normal vector on the boundary. | |
template<int dim> | |
void | u_dot_n_scaled (std::vector< MatrixBlock< FullMatrix< double > > > &M, const std::vector< unsigned int > &indices, const FEFaceValuesBase< dim > &fe, const FEFaceValuesBase< dim > &fetest, const std::vector< double > &factor, bool divide=false) |
Scalar product of trial function and normal vector on the boundary. | |
template<int dim> | |
void | u_ni (FullMatrix< double > &M, const FEFaceValuesBase< dim > &fe, const FEFaceValuesBase< dim > &fetest, unsigned int i) |
u times a single component of the normal vector. | |
template<int dim> | |
void | jump (FullMatrix< double > &M, const FEFaceValuesBase< dim > &fe, const double a=1.) |
The boundary form discretizing. | |
template<int dim> | |
void | jump_scaled (FullMatrix< double > &M, const FEFaceValuesBase< dim > &fe, const std::vector< double > &factor, const double factor2=1., bool divide=false) |
Boundary mass matrix. | |
template<int dim> | |
void | nitsche (FullMatrix< double > &M, const FEFaceValuesBase< dim > &fe, double penalty, double factor=1.) |
Weak boundary condition of Nitsche. | |
template<int dim> | |
void | nitsche_scaled (FullMatrix< double > &M, const FEFaceValuesBase< dim > &fe, const std::vector< double > &factor, double penalty) |
Weak boundary condition of Nitsche. | |
template<int dim> | |
void | nitsche_div (FullMatrix< double > &M, const FEFaceValuesBase< dim > &fe, double penalty) |
Elasticity. | |
Integration of boundary face matrices.
void AppShop::Matrix::Boundary::advection | ( | FullMatrix< double > & | M, |
const FEFaceValuesBase< dim > & | fe, | ||
const std::vector< Point< dim > > & | velocity, | ||
double | factor = 1. |
||
) |
Upwind flux at the boundary.
void AppShop::Matrix::Boundary::advection | ( | FullMatrix< double > & | M, |
const FEFaceValuesBase< dim > & | fe, | ||
const VectorSlice< const std::vector< std::vector< double > > > & | velocity, | ||
double | factor = 1. |
||
) |
Upwind flux at the boundary.
void AppShop::Matrix::Boundary::jump | ( | FullMatrix< double > & | M, |
const FEFaceValuesBase< dim > & | fe, | ||
const double | a = 1. |
||
) |
The boundary form discretizing.
\[ \left<a u,v\right> \]
void AppShop::Matrix::Boundary::jump_scaled | ( | FullMatrix< double > & | M, |
const FEFaceValuesBase< dim > & | fe, | ||
const std::vector< double > & | factor, | ||
const double | factor2 = 1. , |
||
bool | divide = false |
||
) |
Boundary mass matrix.
void AppShop::Matrix::Boundary::nitsche | ( | FullMatrix< double > & | M, |
const FEFaceValuesBase< dim > & | fe, | ||
double | penalty, | ||
double | factor = 1. |
||
) |
Weak boundary condition of Nitsche.
void AppShop::Matrix::Boundary::nitsche_div | ( | FullMatrix< double > & | M, |
const FEFaceValuesBase< dim > & | fe, | ||
double | penalty | ||
) |
Elasticity.
void AppShop::Matrix::Boundary::nitsche_scaled | ( | FullMatrix< double > & | M, |
const FEFaceValuesBase< dim > & | fe, | ||
const std::vector< double > & | factor, | ||
double | penalty | ||
) |
Weak boundary condition of Nitsche.
void AppShop::Matrix::Boundary::u_dot_n | ( | std::vector< MatrixBlock< FullMatrix< double > > > & | M, |
const std::vector< unsigned int > & | indices, | ||
const FEFaceValuesBase< dim > & | fe, | ||
const FEFaceValuesBase< dim > & | fetest, | ||
double | factor = 1. |
||
) |
Scalar product of trial function and normal vector on the boundary.
void AppShop::Matrix::Boundary::u_dot_n_scaled | ( | std::vector< MatrixBlock< FullMatrix< double > > > & | M, |
const std::vector< unsigned int > & | indices, | ||
const FEFaceValuesBase< dim > & | fe, | ||
const FEFaceValuesBase< dim > & | fetest, | ||
const std::vector< double > & | factor, | ||
bool | divide = false |
||
) |
Scalar product of trial function and normal vector on the boundary.
void AppShop::Matrix::Boundary::u_ni | ( | FullMatrix< double > & | M, |
const FEFaceValuesBase< dim > & | fe, | ||
const FEFaceValuesBase< dim > & | fetest, | ||
unsigned int | i | ||
) |
u times a single component of the normal vector.