Skip to content

Commit 3df8386

Browse files
committed
cleanup
1 parent 87996f2 commit 3df8386

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

AutoGeneratedFile.tar.gz

-125 Bytes
Binary file not shown.

examples/plugin/test_GrundmannMoller.edp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cout.precision(20);
1919
cout << "Result 1D:" << integral1D << endl;
2020
cout.precision(20);
2121
cout << "Error 1D:" << abs(integral1D - 1. / (kk + 1)) << endl;
22-
cout << "kk= " << kk << " |intergral 1D=" << integral1D << " |Exact 1D=" << 1. / (kk + 1) << endl;
22+
cout << "kk= " << kk << " |integral 1D=" << integral1D << " |Exact 1D=" << 1. / (kk + 1) << endl;
2323

2424
cout << "--------------------2D--------------------\n";
2525
mesh Th2D = square(10,10);
@@ -31,7 +31,7 @@ cout.precision(20);
3131
cout << "Result 2D: " << Val2Dex << endl;
3232
cout.precision(20);
3333
cout << "Error: 2D: " << abs(Val2Dex - Val2Dapp) << endl;
34-
cout << "kk= " << kk << " |intergral 2D= " << Val2Dapp << " |Exact 2D =" << Val2Dex << endl;
34+
cout << "kk= " << kk << " |integral 2D= " << Val2Dapp << " |Exact 2D =" << Val2Dex << endl;
3535

3636
cout << "--------------------3D--------------------\n";
3737
func f3D = x ^ kk + y ^ kk + z ^ kk;
@@ -42,4 +42,4 @@ cout.precision(20);
4242
cout << "Result 3D: " << Val3Dex << endl;
4343
cout.precision(20);
4444
cout << "Error: 3D: " << abs(Val3Dex - Val3Dapp) << endl;
45-
cout << "kk= " << kk << " |intergral 3D= " << Val3Dapp << " |Exact 3D =" << Val3Dex << endl;
45+
cout << "kk= " << kk << " |integral 3D= " << Val3Dapp << " |Exact 3D =" << Val3Dex << endl;

plugin/seq/Element_PkLagrange.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,8 @@ void TypeOfFE_PKLagrange_3d::FB(const What_d whatd, const Mesh &Th, const Mesh3:
468468
}
469469

470470
if (whatd & (Fop_D1 | Fop_D2)) {
471-
R3 Dld[4], Df[ndof];
471+
R3 Dld[4];
472+
vector<R3> Df(ndof);
472473
K.Gradlambda(Dld);
473474
Dld[0] *= R(kp);
474475
Dld[1] *= R(kp);

0 commit comments

Comments
 (0)