From: michael Date: Mon, 30 Nov 2020 13:08:27 +0000 (+0100) Subject: Simplied test. Still not working X-Git-Tag: V9_7_0~116 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=444a626ff0c70d4271f47f5a30f50e0c4495f99d;p=tools%2Fsolverlab.git Simplied test. Still not working --- 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" <