Public Member Functions | |
| MGMatrixSimple (double threshold=1.e-12) | |
| void | initialize (MGLevelObject< MATRIX > &m) |
| void | initialize (const MGConstrainedDoFs &mg_constrained_dofs) |
| void | initialize_fluxes (MGLevelObject< MATRIX > &flux_up, MGLevelObject< MATRIX > &flux_down) |
| void | initialize_interfaces (MGLevelObject< MATRIX > &interface_in, MGLevelObject< MATRIX > &interface_out) |
| template<class DOFINFO > | |
| void | initialize_info (DOFINFO &info, bool interior_face) const |
| template<class DOFINFO > | |
| void | assemble (const DOFINFO &info) |
| template<class DOFINFO > | |
| void | assemble (const DOFINFO &info1, const DOFINFO &info2) |
Private Member Functions | |
| void | assemble (MATRIX &G, const FullMatrix< double > &M, const std::vector< unsigned int > &i1, const std::vector< unsigned int > &i2) |
| void | assemble (MATRIX &G, const FullMatrix< double > &M, const std::vector< unsigned int > &i1, const std::vector< unsigned int > &i2, const unsigned int level) |
| void | assemble_up (MATRIX &G, const FullMatrix< double > &M, const std::vector< unsigned int > &i1, const std::vector< unsigned int > &i2, const unsigned int level=-1) |
| void | assemble_down (MATRIX &G, const FullMatrix< double > &M, const std::vector< unsigned int > &i1, const std::vector< unsigned int > &i2, const unsigned int level=-1) |
| void | assemble_in (MATRIX &G, const FullMatrix< double > &M, const std::vector< unsigned int > &i1, const std::vector< unsigned int > &i2, const unsigned int level=-1) |
| void | assemble_out (MATRIX &G, const FullMatrix< double > &M, const std::vector< unsigned int > &i1, const std::vector< unsigned int > &i2, const unsigned int level=-1) |
Private Attributes | |
| SmartPointer< MGLevelObject < MATRIX >, MGMatrixSimple < MATRIX > > | matrix |
| SmartPointer< MGLevelObject < MATRIX >, MGMatrixSimple < MATRIX > > | flux_up |
| SmartPointer< MGLevelObject < MATRIX >, MGMatrixSimple < MATRIX > > | flux_down |
| SmartPointer< MGLevelObject < MATRIX >, MGMatrixSimple < MATRIX > > | interface_in |
| SmartPointer< MGLevelObject < MATRIX >, MGMatrixSimple < MATRIX > > | interface_out |
| SmartPointer< const MGConstrainedDoFs, MGMatrixSimple< MATRIX > > | mg_constrained_dofs |
| const double | threshold |
Assemble local matrices into level matrices without using block structure.
| MeshWorker::Assembler::MGMatrixSimple< MATRIX >::MGMatrixSimple | ( | double | threshold = 1.e-12 | ) | [inline] |
Constructor, initializing the threshold, which limits how small numbers may be to be entered into the matrix.
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::initialize | ( | MGLevelObject< MATRIX > & | m | ) | [inline] |
Store the result matrix for later assembling.
References LAPACKSupport::matrix.
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::initialize | ( | const MGConstrainedDoFs & | mg_constrained_dofs | ) | [inline] |
Initialize the multilevel constraints.
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::initialize_fluxes | ( | MGLevelObject< MATRIX > & | flux_up, |
| MGLevelObject< MATRIX > & | flux_down | ||
| ) | [inline] |
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::initialize_interfaces | ( | MGLevelObject< MATRIX > & | interface_in, |
| MGLevelObject< MATRIX > & | interface_out | ||
| ) | [inline] |
Initialize the matrices interface_in and interface_out used for local refinement with continuous Galerkin methods.
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::initialize_info | ( | DOFINFO & | info, |
| bool | interior_face | ||
| ) | const [inline] |
Initialize the local data in the DoFInfo object used later for assembling.
The second parameter is used to distinguish between the data used on cells and boundary faces on the one hand and interior faces on the other. Interior faces may require additional data being initialized.
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::assemble | ( | const DOFINFO & | info | ) | [inline] |
Assemble the matrix DoFInfo::M1[0] into the global matrix.
References internal::assemble(), and LAPACKSupport::matrix.
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::assemble | ( | const DOFINFO & | info1, |
| const DOFINFO & | info2 | ||
| ) | [inline] |
Assemble both local matrices in the info objects into the global matrices.
References internal::assemble(), Assert, StandardExceptions::ExcInternalError(), and LAPACKSupport::matrix.
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::assemble | ( | MATRIX & | G, |
| const FullMatrix< double > & | M, | ||
| const std::vector< unsigned int > & | i1, | ||
| const std::vector< unsigned int > & | i2 | ||
| ) | [inline, private] |
Assemble a single matrix into a global matrix.
References AssertDimension, FullMatrix< number >::m(), and FullMatrix< number >::n().
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::assemble | ( | MATRIX & | G, |
| const FullMatrix< double > & | M, | ||
| const std::vector< unsigned int > & | i1, | ||
| const std::vector< unsigned int > & | i2, | ||
| const unsigned int | level | ||
| ) | [inline, private] |
Assemble a single matrix into a global matrix.
References AssertDimension, FullMatrix< number >::m(), and FullMatrix< number >::n().
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::assemble_up | ( | MATRIX & | G, |
| const FullMatrix< double > & | M, | ||
| const std::vector< unsigned int > & | i1, | ||
| const std::vector< unsigned int > & | i2, | ||
| const unsigned int | level = -1 |
||
| ) | [inline, private] |
Assemble a single matrix into a global matrix.
References AssertDimension, FullMatrix< number >::m(), and FullMatrix< number >::n().
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::assemble_down | ( | MATRIX & | G, |
| const FullMatrix< double > & | M, | ||
| const std::vector< unsigned int > & | i1, | ||
| const std::vector< unsigned int > & | i2, | ||
| const unsigned int | level = -1 |
||
| ) | [inline, private] |
Assemble a single matrix into a global matrix.
References AssertDimension, FullMatrix< number >::m(), and FullMatrix< number >::n().
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::assemble_in | ( | MATRIX & | G, |
| const FullMatrix< double > & | M, | ||
| const std::vector< unsigned int > & | i1, | ||
| const std::vector< unsigned int > & | i2, | ||
| const unsigned int | level = -1 |
||
| ) | [inline, private] |
Assemble a single matrix into a global matrix.
References AssertDimension, FullMatrix< number >::m(), and FullMatrix< number >::n().
| void MeshWorker::Assembler::MGMatrixSimple< MATRIX >::assemble_out | ( | MATRIX & | G, |
| const FullMatrix< double > & | M, | ||
| const std::vector< unsigned int > & | i1, | ||
| const std::vector< unsigned int > & | i2, | ||
| const unsigned int | level = -1 |
||
| ) | [inline, private] |
Assemble a single matrix into a global matrix.
References AssertDimension, FullMatrix< number >::m(), and FullMatrix< number >::n().
SmartPointer<MGLevelObject<MATRIX>,MGMatrixSimple<MATRIX> > MeshWorker::Assembler::MGMatrixSimple< MATRIX >::matrix [private] |
The global matrix being assembled.
SmartPointer<MGLevelObject<MATRIX>,MGMatrixSimple<MATRIX> > MeshWorker::Assembler::MGMatrixSimple< MATRIX >::flux_up [private] |
The matrix used for face flux terms across the refinement edge, coupling coarse to fine.
SmartPointer<MGLevelObject<MATRIX>,MGMatrixSimple<MATRIX> > MeshWorker::Assembler::MGMatrixSimple< MATRIX >::flux_down [private] |
The matrix used for face flux terms across the refinement edge, coupling fine to coarse.
SmartPointer<MGLevelObject<MATRIX>,MGMatrixSimple<MATRIX> > MeshWorker::Assembler::MGMatrixSimple< MATRIX >::interface_in [private] |
The matrix used for face contributions for continuous elements across the refinement edge, coupling coarse to fine.
SmartPointer<MGLevelObject<MATRIX>,MGMatrixSimple<MATRIX> > MeshWorker::Assembler::MGMatrixSimple< MATRIX >::interface_out [private] |
The matrix used for face contributions for continuous elements across the refinement edge, coupling fine to coarse.
SmartPointer<const MGConstrainedDoFs,MGMatrixSimple<MATRIX> > MeshWorker::Assembler::MGMatrixSimple< MATRIX >::mg_constrained_dofs [private] |
A pointer to the object containing constraints.
const double MeshWorker::Assembler::MGMatrixSimple< MATRIX >::threshold [private] |
The smallest positive number that will be entered into the global matrix. All smaller absolute values will be treated as zero and will not be assembled.
documentation generated on Fri Aug 12 2011 15:01:09 by
doxygen
1.7.4