|
@@ -48,7 +48,7 @@ namespace Lemma {
|
48
|
48
|
// ==================== LIFECYCLE =======================
|
49
|
49
|
|
50
|
50
|
FEM4EllipticPDE::FEM4EllipticPDE(const std::string&name) :
|
51
|
|
- LemmaObject(name), BndryH(1000), BndrySigma(1000),
|
|
51
|
+ LemmaObject(name), BndryH(10), BndrySigma(10),
|
52
|
52
|
vtkSigma(NULL), vtkG(NULL), vtkGrid(NULL), gFcn3(NULL) {
|
53
|
53
|
}
|
54
|
54
|
|
|
@@ -320,6 +320,8 @@ namespace Lemma {
|
320
|
320
|
sigma_bar /= 4.;
|
321
|
321
|
}
|
322
|
322
|
*/
|
|
323
|
+
|
|
324
|
+ // TEST VOID IN SIGMA!! TODO DON"T KEEP THIS
|
323
|
325
|
Real xc = C.col(1).array().mean();
|
324
|
326
|
Real yc = C.col(2).array().mean();
|
325
|
327
|
Real zc = C.col(3).array().mean();
|
|
@@ -329,6 +331,9 @@ namespace Lemma {
|
329
|
331
|
sigma_bar = 1.;
|
330
|
332
|
}
|
331
|
333
|
|
|
334
|
+ auto W = VectorXr::Zero(4);
|
|
335
|
+ auto G = GradPhi.block<3,3>(1,1) * GradPhi.block<3,3>(1,1).transpose()*W;
|
|
336
|
+
|
332
|
337
|
for (int ii=0; ii<4; ++ii) {
|
333
|
338
|
for (int jj=0; jj<4; ++jj) {
|
334
|
339
|
/* homogeneous Dirichlet boundary */
|