#include <fedealwrapperq1.h>
Public Member Functions | |
FEDealWrapperQ1 () | |
virtual | ~FEDealWrapperQ1 () |
virtual void | reinit (OrthoMesh &mesh) |
virtual const VecIndex & | get_global_map (OrthoMesh::Cell_It &cell) |
Private Attributes | |
FE_Q< 3 > | m_fe |
VecIndex | m_global_map |
Definition at line 13 of file fedealwrapperq1.h.
FEDealWrapperQ1::FEDealWrapperQ1 | ( | ) |
Definition at line 4 of file fedealwrapperq1.cpp.
00005 :m_fe(1) 00006 { 00007 wrap(m_fe); 00008 m_global_map.resize(m_fe.n_dofs_per_cell()); 00009 }
FEDealWrapperQ1::~FEDealWrapperQ1 | ( | ) | [virtual] |
Definition at line 15 of file fedealwrapperq1.cpp.
const VecIndex & FEDealWrapperQ1::get_global_map | ( | OrthoMesh::Cell_It & | cell | ) | [virtual] |
This function returns the mapping between the local degrees of freedom (dof) to global dof.
So the ith position of this vector contains the global numbering of the local dof i. In other words if v is the vector being returned, v[i] is the global numbering of the local dof i.
Implements FEOrthoMeshInterface.
Definition at line 21 of file fedealwrapperq1.cpp.
00022 { 00023 for (unsigned i=0;i<m_global_map.size();i++) 00024 m_global_map[i] = cell->vertex_index(static_cast<VertexDirection3D>(i)); 00025 return m_global_map; 00026 }
virtual void FEDealWrapperQ1::reinit | ( | OrthoMesh & | mesh | ) | [inline, virtual] |
FE_Q<3> FEDealWrapperQ1::m_fe [private] |
Definition at line 16 of file fedealwrapperq1.h.
VecIndex FEDealWrapperQ1::m_global_map [private] |
Definition at line 17 of file fedealwrapperq1.h.