#6 Missing assignment operator for DiscFuncArray
Metadata
Property | Value |
---|---|
Reported by | Thimo Neubauer (thimo@macht.org) |
Reported at | Aug 24, 2005 20:36 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Closed by | Robert K (robertk@posteo.org) |
Closed at | Oct 19, 2005 10:48 |
Closed in version | Unknown |
Resolution | Won't implement |
Comment | it's not gonna happen. |
Description
The following little program should compile, but it doesn't because the assignment in the last line is not possible:
include <config.h> include <dune/grid/sgrid.hh> include <dune/fem/lagrangebase.hh> include <dune/fem/discfuncarray.hh>
using namespace Dune; int main (int argc, char **argv) {
typedef SGrid<2,2> GridType;
typedef FunctionSpace < double , double, 2 , 1 > FuncSpace; typedef LagrangeDiscreteFunctionSpace < FuncSpace, GridType, DefaultGridIndex Set < GridType,LevelIndex > , 1 > FuncSpaceType;
GridType grid; DefaultGridIndexSet < GridType,LevelIndex > indexSet(grid); DofManager < GridType > dm ( grid );
FuncSpaceType fS(grid, indexSet, dm, 0);
DiscFuncArray < FuncSpaceType > foo("foo", fS), bar("bar", fS);
foo = bar;
}