Commit 1a2d274f authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fix for gcc 4.1

parent 6febba8b
...@@ -40,14 +40,14 @@ namespace AMDiS { ...@@ -40,14 +40,14 @@ namespace AMDiS {
int size) int size)
: name(name_), : name(name_),
feSpace(feSpace_), feSpace(feSpace_),
vectors(size, NULL) vectors(size)
{} {}
/// Copy Constructor. /// Copy Constructor.
SystemVector(const SystemVector& rhs) SystemVector(const SystemVector& rhs)
: name(rhs.getName()), : name(rhs.getName()),
feSpace(rhs.getFeSpaces()), feSpace(rhs.getFeSpaces()),
vectors(rhs.getNumVectors(), NULL) vectors(rhs.getNumVectors())
{ {
for (unsigned int i = 0; i < vectors.size(); i++) for (unsigned int i = 0; i < vectors.size(); i++)
vectors[i] = new DOFVector<double>(*rhs.getDOFVector(i)); vectors[i] = new DOFVector<double>(*rhs.getDOFVector(i));
......
...@@ -788,12 +788,18 @@ namespace AMDiS { ...@@ -788,12 +788,18 @@ namespace AMDiS {
fetiDataInterface.mat_interior_interface = fetiDataInterface.mat_interior_interface =
getMatInteriorCoarseByComponent(2); getMatInteriorCoarseByComponent(2);
MSG("TEST A1\n");
fetiDataInterface.mat_interface_interior = fetiDataInterface.mat_interface_interior =
getMatCoarseInteriorByComponent(2); getMatCoarseInteriorByComponent(2);
MSG("TEST A2\n");
fetiDataInterface.mat_primal_interface = getMatCoarse(0, 1); fetiDataInterface.mat_primal_interface = getMatCoarse(0, 1);
fetiDataInterface.mat_interface_primal = getMatCoarse(1, 0); fetiDataInterface.mat_interface_primal = getMatCoarse(1, 0);
MSG("TEST A1\n"); MSG("TEST A3\n");
MatCreateShell(mpiCommGlobal, MatCreateShell(mpiCommGlobal,
interfaceDofMap.getRankDofs() + lagrangeMap.getRankDofs(), interfaceDofMap.getRankDofs() + lagrangeMap.getRankDofs(),
......
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