FEDealWrapperQ1 Class Reference

#include <fedealwrapperq1.h>

Inheritance diagram for FEDealWrapperQ1:
Inheritance graph
[legend]
Collaboration diagram for FEDealWrapperQ1:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FEDealWrapperQ1 ()
virtual ~FEDealWrapperQ1 ()
virtual void reinit (OrthoMesh &mesh)
virtual const VecIndexget_global_map (OrthoMesh::Cell_It &cell)

Private Attributes

FE_Q< 3 > m_fe
VecIndex m_global_map

Detailed Description

Definition at line 13 of file fedealwrapperq1.h.


Constructor & Destructor Documentation

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.

00016 {
00017 
00018 }


Member Function Documentation

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]

Implements FEOrthoMeshInterface.

Definition at line 23 of file fedealwrapperq1.h.

00023 {}


Member Data Documentation

FE_Q<3> FEDealWrapperQ1::m_fe [private]

Definition at line 16 of file fedealwrapperq1.h.

Definition at line 17 of file fedealwrapperq1.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Sun Apr 8 23:13:05 2012 for CO2INJECTION by  doxygen 1.6.3