#include <tools.h>
Public Member Functions | |
Tools () | |
Static Public Member Functions | |
static void | interpolate_boundary_values (const DoFHandler< dim > &dof, const unsigned char boundary_component, std::map< unsigned int, double > &boundary_values, const MyFunction< dim > &boundary_function, bool normal_derivative=false, const std::vector< bool > &component_mask_=std::vector< bool >()) |
static void | make_boundary_list (const MGDoFHandler< dim > &dof, const unsigned char boundary_component, std::vector< std::set< unsigned int > > &boundary_values, bool normal_derivative=false, const std::vector< bool > &component_mask_=std::vector< bool >()) |
template<class DOFHANDLER, class ITERATOR> | |
static void | compute_cell_terms (const DOFHANDLER &dof, ITERATOR &cell, FullMatrix< double > &cell_matrix, Vector< double > &cell_rhs) |
template<class DOFHANDLER, class ITERATOR> | |
static void | compute_inner_jumps (const DOFHANDLER &dof, ITERATOR &cell, unsigned int face_nr, FullMatrix< double > &int_int, FullMatrix< double > &int_ext, FullMatrix< double > &ext_int, FullMatrix< double > &ext_ext) |
template<class DOFHANDLER, class ITERATOR> | |
static void | compute_jumps_on_boundary (const DOFHANDLER &dof, ITERATOR &cell, unsigned int face_nr, FullMatrix< double > &int_int) |
void Tools< dim >::interpolate_boundary_values | ( | const DoFHandler< dim > & | dof, | |
const unsigned char | boundary_component, | |||
std::map< unsigned int, double > & | boundary_values, | |||
const MyFunction< dim > & | boundary_function, | |||
bool | normal_derivative = false , |
|||
const std::vector< bool > & | component_mask_ = std::vector<bool>() | |||
) | [inline, static] |
The function does the almost the same as the interpolate_boundary_values() of VectorTools. It offers the opportunity to set the normal derivative to zero since this is a degree of freedom in the FE_Adini and FE_C1.
void Tools< dim >::make_boundary_list | ( | const MGDoFHandler< dim > & | dof, | |
const unsigned char | boundary_component, | |||
std::vector< std::set< unsigned int > > & | boundary_values, | |||
bool | normal_derivative = false , |
|||
const std::vector< bool > & | component_mask_ = std::vector<bool>() | |||
) | [inline, static] |
The function does the almost the same as the make_boundary_list() of MGTools. It offers the opportunity to set the normal derivative to a list of those degrees of freedom at the boundary which should be eleminated from the matrix. This is possible since this is a degree of freedom in the FE_Adini and FE_C1.
void Tools< dim >::compute_cell_terms | ( | const DOFHANDLER & | dof, | |
ITERATOR & | cell, | |||
FullMatrix< double > & | cell_matrix, | |||
Vector< double > & | cell_rhs | |||
) | [inline, static] |
void Tools< dim >::compute_inner_jumps | ( | const DOFHANDLER & | dof, | |
ITERATOR & | cell, | |||
unsigned int | face_nr, | |||
FullMatrix< double > & | int_int, | |||
FullMatrix< double > & | int_ext, | |||
FullMatrix< double > & | ext_int, | |||
FullMatrix< double > & | ext_ext | |||
) | [inline, static] |
void Tools< dim >::compute_jumps_on_boundary | ( | const DOFHANDLER & | dof, | |
ITERATOR & | cell, | |||
unsigned int | face_nr, | |||
FullMatrix< double > & | int_int | |||
) | [inline, static] |