Functions | |
template<int dim> | |
void | cell_matrix (FullMatrix< double > &M, const FEValuesBase< dim > &fe, double factor=1.) |
template<int dim, typename number> | |
void | cell_residual (Vector< number > &result, const FEValuesBase< dim > &fetest, const ArrayView< const std::vector< Tensor< 1, dim > > > &input, const double factor=1.) |
template<int dim> | |
void | nitsche_matrix (FullMatrix< double > &M, const FEValuesBase< dim > &fe, double penalty, double factor=1.) |
template<int dim> | |
void | nitsche_residual (Vector< double > &result, const FEValuesBase< dim > &fe, const ArrayView< const std::vector< double > > &input, const ArrayView< const std::vector< Tensor< 1, dim > > > &Dinput, const ArrayView< const std::vector< double > > &data, double penalty, double factor=1.) |
template<int dim> | |
void | ip_matrix (FullMatrix< double > &M11, FullMatrix< double > &M12, FullMatrix< double > &M21, FullMatrix< double > &M22, const FEValuesBase< dim > &fe1, const FEValuesBase< dim > &fe2, double penalty, double factor1=1., double factor2=-1.) |
template<int dim> | |
void | ip_residual (Vector< double > &result1, Vector< double > &result2, const FEValuesBase< dim > &fe1, const FEValuesBase< dim > &fe2, const ArrayView< const std::vector< double > > &input1, const ArrayView< const std::vector< Tensor< 1, dim > > > &Dinput1, const ArrayView< const std::vector< double > > &input2, const ArrayView< const std::vector< Tensor< 1, dim > > > &Dinput2, double pen, double int_factor=1., double ext_factor=-1.) |
Local integrators related to the grad-div operator and its boundary traces
void LocalIntegrators::GradDiv::cell_matrix | ( | FullMatrix< double > & | M, |
const FEValuesBase< dim > & | fe, | ||
double | factor = 1. ) |
The weak form of the grad-div operator penalizing volume changes
Definition at line 51 of file grad_div.h.
void LocalIntegrators::GradDiv::cell_residual | ( | Vector< number > & | result, |
const FEValuesBase< dim > & | fetest, | ||
const ArrayView< const std::vector< Tensor< 1, dim > > > & | input, | ||
const double | factor = 1. ) |
|
inline |
The matrix for the weak boundary condition of Nitsche type for linear elasticity:
Definition at line 121 of file grad_div.h.
void LocalIntegrators::GradDiv::nitsche_residual | ( | Vector< double > & | result, |
const FEValuesBase< dim > & | fe, | ||
const ArrayView< const std::vector< double > > & | input, | ||
const ArrayView< const std::vector< Tensor< 1, dim > > > & | Dinput, | ||
const ArrayView< const std::vector< double > > & | data, | ||
double | penalty, | ||
double | factor = 1. ) |
Weak boundary condition for the Laplace operator by Nitsche, vector valued version, namely on the face F the vector
Here, u is the finite element function whose values and gradient are given in the arguments input
and Dinput
, respectively. g is the inhomogeneous boundary value in the argument data
.
Definition at line 173 of file grad_div.h.
void LocalIntegrators::GradDiv::ip_matrix | ( | FullMatrix< double > & | M11, |
FullMatrix< double > & | M12, | ||
FullMatrix< double > & | M21, | ||
FullMatrix< double > & | M22, | ||
const FEValuesBase< dim > & | fe1, | ||
const FEValuesBase< dim > & | fe2, | ||
double | penalty, | ||
double | factor1 = 1., | ||
double | factor2 = -1. ) |
The interior penalty flux for the grad-div operator. See ip_residual() for details.
Definition at line 220 of file grad_div.h.
void LocalIntegrators::GradDiv::ip_residual | ( | Vector< double > & | result1, |
Vector< double > & | result2, | ||
const FEValuesBase< dim > & | fe1, | ||
const FEValuesBase< dim > & | fe2, | ||
const ArrayView< const std::vector< double > > & | input1, | ||
const ArrayView< const std::vector< Tensor< 1, dim > > > & | Dinput1, | ||
const ArrayView< const std::vector< double > > & | input2, | ||
const ArrayView< const std::vector< Tensor< 1, dim > > > & | Dinput2, | ||
double | pen, | ||
double | int_factor = 1., | ||
double | ext_factor = -1. ) |
Grad-div residual term for the symmetric interior penalty method:
See for instance Hansbo and Larson, 2002
Definition at line 300 of file grad_div.h.