// shape functions. first loop:
// unit cell, second loop:
// one vertex moved
- for (unsigned int loop=0; loop<2; ++loop)
+ for (unsigned int loop=0; loop<=2; ++loop)
{
deallog << "Test loop: " << loop << endl;
// move one vertex of the only cell
if (loop==1)
- tria.begin_active()->vertex(2)(0) = 2;
+ {
+ tria.begin_active()->vertex(1)(0) = 2;
+ tria.begin_active()->vertex(2)(0) = 2;
+ }
+ if (loop==2)
+ {
+ tria.begin_active()->vertex(2)(0) = 3;
+ tria.begin_active()->vertex(2)(1) = 3;
+ }
+
+
fevalues.reinit (dof.begin_active());
for (unsigned int vertex=0; vertex<4; ++vertex)
DEAL::Test loop: 1
DEAL::Vertex 0:
-DEAL::0.00 2.00
-DEAL::2.00 0.00
DEAL::0.00 0.500
DEAL::0.500 0.00
-DEAL::0.00 2.00
-DEAL::2.00 -4.00
DEAL::0.00 0.500
-DEAL::0.500 -1.00
+DEAL::0.500 0.00
+DEAL::0.00 0.500
+DEAL::0.500 0.00
+DEAL::0.00 0.500
+DEAL::0.500 0.00
DEAL::Vertex 1:
-DEAL::0.00 -2.00
-DEAL::-2.00 0.00
DEAL::0.00 -0.500
DEAL::-0.500 0.00
-DEAL::0.00 -2.00
-DEAL::-2.00 4.00
DEAL::0.00 -0.500
-DEAL::-0.500 1.00
+DEAL::-0.500 0.00
+DEAL::0.00 -0.500
+DEAL::-0.500 0.00
+DEAL::0.00 -0.500
+DEAL::-0.500 0.00
DEAL::Vertex 2:
-DEAL::0.00 1.00
-DEAL::1.00 0.00
-DEAL::0.00 0.250
-DEAL::0.250 0.00
-DEAL::0.00 1.00
-DEAL::1.00 -2.00
-DEAL::0.00 0.250
-DEAL::0.250 -0.500
+DEAL::0.00 0.500
+DEAL::0.500 0.00
+DEAL::0.00 0.500
+DEAL::0.500 0.00
+DEAL::0.00 0.500
+DEAL::0.500 0.00
+DEAL::0.00 0.500
+DEAL::0.500 0.00
DEAL::Vertex 3:
-DEAL::0.00 -1.00
-DEAL::-1.00 0.00
-DEAL::0.00 -0.250
-DEAL::-0.250 0.00
-DEAL::0.00 -1.00
-DEAL::-1.00 2.00
-DEAL::0.00 -0.250
-DEAL::-0.250 0.500
+DEAL::0.00 -0.500
+DEAL::-0.500 0.00
+DEAL::0.00 -0.500
+DEAL::-0.500 0.00
+DEAL::0.00 -0.500
+DEAL::-0.500 0.00
+DEAL::0.00 -0.500
+DEAL::-0.500 0.00
+
+DEAL::Test loop: 2
+DEAL::Vertex 0:
+DEAL::0.00 1.75
+DEAL::1.75 0.00
+DEAL::-1.04 0.778
+DEAL::0.778 0.00
+DEAL::0.00 0.194
+DEAL::0.194 -0.130
+DEAL::-0.245 0.224
+DEAL::0.224 -0.122
+
+DEAL::Vertex 1:
+DEAL::0.00 -0.750
+DEAL::-0.750 0.00
+DEAL::0.444 -0.333
+DEAL::-0.333 0.00
+DEAL::0.00 -0.0833
+DEAL::-0.0833 0.0556
+DEAL::0.105 -0.0962
+DEAL::-0.0962 0.0525
+
+DEAL::Vertex 2:
+DEAL::0.00 0.500
+DEAL::0.500 0.00
+DEAL::-0.296 0.222
+DEAL::0.222 0.00
+DEAL::0.00 0.0556
+DEAL::0.0556 -0.0370
+DEAL::-0.0700 0.0641
+DEAL::0.0641 -0.0350
+
+DEAL::Vertex 3:
+DEAL::0.00 -1.50
+DEAL::-1.50 0.00
+DEAL::0.889 -0.667
+DEAL::-0.667 0.00
+DEAL::0.00 -0.167
+DEAL::-0.167 0.111
+DEAL::0.210 -0.192
+DEAL::-0.192 0.105
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams