8#ifndef buildDofsBase_hh
9#define buildDofsBase_hh
67 inline std::map<uint, concepts::VertexData>::const_iterator
70 inline std::map<uint, concepts::VertexData>::const_iterator
73 inline std::map<uint, concepts::EdgeData>::const_iterator
76 inline std::map<uint, concepts::EdgeData>::const_iterator
79 inline std::map<uint, concepts::FaceData>::const_iterator
82 inline std::map<uint, concepts::FaceData>::const_iterator
98 ushort Pmax[3])
const;
102 ushort Pmax[3])
const;
109 return spc_->ctrl0_[idx];
114 return spc_->ctrl1_->operator[](idx);
119 return spc_->ctrl2_->operator[](idx);
124 return spc_->ctrl3_[idx];
127 std::map<uint, concepts::VertexData>::const_iterator
130 return spc_->vertexList_.find(idx);
133 std::map<uint, concepts::VertexData>::const_iterator
136 return spc_->vertexList_.end();
139 std::map<uint, concepts::EdgeData>::const_iterator
142 return spc_->edgeList_.find(idx);
145 std::map<uint, concepts::EdgeData>::const_iterator
148 return spc_->edgeList_.end();
151 std::map<uint, concepts::FaceData>::const_iterator
154 return spc_->faceList_.find(idx);
157 std::map<uint, concepts::FaceData>::const_iterator
160 return spc_->faceList_.end();
165 spc_->deactivate_(vtx);
170 spc_->deactivate_(edg);
175 spc_->deactivate_(face);
179 ushort Pmax[3])
const {
181 spc_->computePmax_(cntr, Pmax);
185 ushort Pmax[3])
const {
187 spc_->getPmax_(cntr, Pmax);
concepts::AdaptiveControlP< 2 > & ctrl2_(uint idx)
Returns face tag of face with key idx.
Space * spc_
Space to build the vertex degrees of freedom from.
BuildDofsBase()
Default constructor.
Space * space()
Returns the space.
concepts::AdaptiveControlP< 1 > & ctrl1_(uint idx)
Returns edge tag of edge with key idx.
std::map< uint, concepts::VertexData >::const_iterator vertexListEnd() const
Returns the end of the list with vertex data.
virtual void operator()(concepts::Hexahedron &cntr, concepts::TColumn< Real > *&T1)=0
concepts::AdaptiveControlP< 3 > & ctrl3_(uint idx)
Returns cell tag of cell with key idx.
std::map< uint, concepts::EdgeData >::const_iterator edgeListEnd() const
Returns the end of the list with edge data.
BuildDofsBase(Space &spc)
void computePmax_(const concepts::Hexahedron &cntr, ushort Pmax[3]) const
std::map< uint, concepts::FaceData >::const_iterator faceListEnd() const
Returns the end of the list with face data.
uint & dim_()
Returns a reference to the dimension of the space.
std::map< uint, concepts::VertexData >::const_iterator vertexListFind(uint idx) const
Returns the iterator to the vertex data of the vertex with key idx.
void deactivate_(const concepts::Connector0 &vtx)
Deactivates the children of the vertex vtx.
std::map< uint, concepts::FaceData >::const_iterator faceListFind(uint idx) const
Returns the iterator to the face data of the face with key idx.
std::map< uint, concepts::EdgeData >::const_iterator edgeListFind(uint idx) const
Returns the iterator to the edge data of the edge with key idx.
void getPmax_(const concepts::Hexahedron &cntr, ushort Pmax[3]) const
virtual BuildDofsBase * clone(Space *spc=0) const =0
concepts::AdaptiveControl & ctrl0_(uint idx)
Returns vertex tag of vertex with key idx.
#define conceptsAssert(cond, exc)