Commit 16452b01 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

removed unnecessary typedefs

parent c8a9a19e
......@@ -30,11 +30,6 @@ class ScalarPreBasis;
template<typename GV, class MI>
class ScalarPreBasis
{
static const int dim = GV::dimension;
template<typename, class, class>
friend class ScalarNodeIndexSet;
public:
template<class TP>
......@@ -92,13 +87,13 @@ public:
return IndexSet<TP>{};
}
//! Same as size(prefix) with empty prefix
/// \brief Same as size(prefix) with empty prefix
size_type size() const
{
return 1;
}
//! Return number of possible values for next position in multi index
/// \brief Return number of possible values for next position in multi index
size_type size(const SizePrefix prefix) const
{
assert(prefix.size() == 0 || prefix.size() == 1);
......@@ -173,8 +168,6 @@ protected:
template<typename GV, class MI, class TP>
class ScalarNodeIndexSet
{
static const int dim = GV::dimension;
public:
// required typedefs
using size_type = std::size_t;
......@@ -205,9 +198,8 @@ public:
namespace BasisFactory {
namespace Imp {
class ScalarPreBasisFactory
struct ScalarPreBasisFactory
{
public:
static const std::size_t requiredMultiIndexSize = 1;
template<class MultiIndex, class GridView>
......
......@@ -192,7 +192,6 @@ int main (int argc, char *argv[])
flatLexicographic() ));
using VectorType = BlockVector<FieldVector<double,1> >;
using BitVectorType = BlockVector<FieldVector<char,1> >;
using MatrixType = BCRSMatrix<FieldMatrix<double,1,1> >;
VectorType rhs;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment