From 444a626ff0c70d4271f47f5a30f50e0c4495f99d Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 30 Nov 2020 14:08:27 +0100 Subject: [PATCH] Simplied test. Still not working --- ...sionEquation_2DEF_StructuredTriangles_Neumann.cxx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/CoreFlows/examples/C/StationaryDiffusionEquation_2DEF_StructuredTriangles_Neumann.cxx b/CoreFlows/examples/C/StationaryDiffusionEquation_2DEF_StructuredTriangles_Neumann.cxx index 6d828ae..06bf0f9 100755 --- a/CoreFlows/examples/C/StationaryDiffusionEquation_2DEF_StructuredTriangles_Neumann.cxx +++ b/CoreFlows/examples/C/StationaryDiffusionEquation_2DEF_StructuredTriangles_Neumann.cxx @@ -15,8 +15,8 @@ int main(int argc, char** argv) double xsup=1.0; double yinf=0.0; double ysup=1.0; - int nx=20; - int ny=20; + int nx=3; + int ny=3; /* Mesh construction */ Mesh M(xinf,xsup,nx,yinf,ysup,ny,0); //Regular triangular mesh @@ -28,12 +28,6 @@ int main(int argc, char** argv) M.setGroupAtPlan(ysup,1,eps,"Bord3"); M.setGroupAtPlan(yinf,1,eps,"Bord4"); - /* set the boundary values for each boundary */ - double T1=0; - double T2=0; - double T3=0; - double T4=0; - cout<< "Built a regular triangular 2D mesh from a square mesh with "<< nx<<"x" <