VarForm Class Reference
#include <varform.h>
List of all members.
Detailed Description
This is the class that contains the logic related to the variational formulation So this class changes from on PDE to other. To fully understand the purpose of the methods, I recommend to take look at the AssemblyOrthoMeshSystem methods, specially the buildGlobalSystem and buildGlobalRHS. This class is responsible to construct the local system given a finite element and a quadrature
Definition at line 25 of file varform.h.
Constructor & Destructor Documentation
VarForm::~VarForm |
( |
|
) |
[inline] |
Member Function Documentation
void VarForm::assembly_local_rhs |
( |
VecDouble & |
BL |
) |
[inline] |
Definition at line 53 of file varform.h.
00054 {
00055 throw new Exception("VarFom::assembly_local_rhs not overriden by child");
00056 }
void VarForm::assembly_local_system |
( |
Matrix & |
ML |
) |
[inline] |
This is the main function Given the matrix ML and vector BL, construct the local system Setting the coefficients of ML and BL.
The implementations should not concern to reinit the finite element. This is already done in the assemblysystem procedure Also the local matrix and vector are already allocated with the right size. The size is based on the finite element method FiniteElementInterface::n_local_dofs()
Definition at line 47 of file varform.h.
00048 {
00049 throw new Exception("VarFom::assembly_local_system not overriden by child");
00050 }
const VecIndex& VarForm::get_global_map |
( |
|
) |
[inline] |
The default behaviour of get_global_map is to pass this requisition to the finite element.
- Returns:
Definition at line 87 of file varform.h.
00088 {
00089 throw new Exception("VarForm::get_global_map() not overriden by child class");
00090 }
virtual const Matrix& VarForm::get_local_sparsity |
( |
|
) |
[inline, virtual] |
It returns a full matrix describing the sparsity of the local system. If a position in this Full Matrix is 0 it means that the local system will always have that position as 0 for all local system of all cells. If it is different of zero it means that that coefficient position can be different of zero. This indicates the sparsity pattern of the local system. Such matrix should never change trhough all the cells of the mesh.
Definition at line 67 of file varform.h.
00068 {
00069 throw new Exception("VarForm::get_local_sparsity() not overriden by child class");
00070 }
void VarForm::reinit |
( |
OrthoMesh & |
mesh |
) |
[inline] |
Definition at line 77 of file varform.h.
00078 {
00079 throw new Exception("VarForm::reinit(OrthoMesh &mesh) not overriden by child class");
00080 }
Definition at line 72 of file varform.h.
00073 {
00074 throw new Exception("VarForm::reinit(OrthoMesh::Cell_It &cell) not overriden by child class");
00075 }
Member Data Documentation
The documentation for this class was generated from the following file: