19 #ifndef itkFEMPArray_h
20 #define itkFEMPArray_h
79 return &( *this->operator[](i) );
88 return &( *this->operator[](i) );
103 template <
typename T>
104 typename FEMPArray<T>::ClassTypePointer
107 typedef typename Superclass::iterator Iterator;
109 Iterator it = this->begin();
110 Iterator iend = this->end();
113 if( ( *it )->GetGlobalNumber() == gn )
120 if( it == this->end() )
131 return &( *( *it ) );
137 template <
typename T>
141 typedef typename Superclass::const_iterator ConstIterator;
143 ConstIterator it = this->begin();
144 ConstIterator iend = this->end();
147 if( ( *it )->GetGlobalNumber() == gn )
154 if( it == this->end() )
165 return &( *( *it ) );
168 template <
typename T>
171 typename Superclass::iterator i;
173 for( i = this->begin(); i != this->end(); i++ )
175 ( *i )->SetGlobalNumber(j);
185 #endif // #ifndef itkFEMPArray_h
ClassTypePointer Find(int gn)
const Self * ConstPointer
ClassTypePointer operator()(int i)
Declaration of several exception classes that are used within the FEM code.
std::vector< FEMP< T > > Superclass
ClassTypeConstPointer operator()(int i) const
ClassType::Pointer ClassTypePointer
ClassType::ConstPointer ClassTypeConstPointer
Object not found exception.