Tools< dim > Class Template Reference

#include <tools.h>

List of all members.

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)


Detailed Description

template<int dim>
class Tools< dim >

This class extends the interpolate_boundary_values() of VectorTools to the FE_Adini and FE_C1.

Author:
Bärbel Janssen, 2007

Constructor & Destructor Documentation

template<int dim>
Tools< dim >::Tools (  )  [inline]


Member Function Documentation

template<int dim>
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.

template<int dim>
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.

template<int dim>
template<class DOFHANDLER, class ITERATOR>
void Tools< dim >::compute_cell_terms ( const DOFHANDLER &  dof,
ITERATOR &  cell,
FullMatrix< double > &  cell_matrix,
Vector< double > &  cell_rhs 
) [inline, static]

template<int dim>
template<class DOFHANDLER, class ITERATOR>
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]

template<int dim>
template<class DOFHANDLER, class ITERATOR>
void Tools< dim >::compute_jumps_on_boundary ( const DOFHANDLER &  dof,
ITERATOR &  cell,
unsigned int  face_nr,
FullMatrix< double > &  int_int 
) [inline, static]


The documentation for this class was generated from the following files:
Generated on Thu Oct 9 14:52:46 2008 for Additional Finite Elements for deal.II by  doxygen 1.5.3