Dune Core Modules (2.11.0)

foamgridnulliteratorfactory.hh
Go to the documentation of this file.
1// -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set ts=8 sw=4 et sts=4:
3#ifndef DUNE_FOAMGRID_NULLITERATORFACTORY_HH
4#define DUNE_FOAMGRID_NULLITERATORFACTORY_HH
5
10#include <dune/foamgrid/foamgrid/foamgridvertex.hh>
11
12namespace Dune {
13
14template <int dimgrid, int dimworld, class ctype>
15class FoamGridNullIteratorFactory
16{
17 public:
18 static typename std::vector<const FoamGridEntityImp<dimgrid, dimgrid, dimworld, ctype>*>::const_iterator null()
19 { return emptyVector_.end(); }
20 private:
21 static typename std::vector<const FoamGridEntityImp<dimgrid, dimgrid, dimworld, ctype>*> emptyVector_;
22};
23
24template <int dimgrid, int dimworld, class ctype>
25typename std::vector<const FoamGridEntityImp<dimgrid, dimgrid, dimworld, ctype>*>
26FoamGridNullIteratorFactory<dimgrid, dimworld, ctype>::emptyVector_;
27}
28
29#endif
Dune namespace
Definition: alignedallocator.hh:13
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Feb 14, 23:39, 2026)