⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 regtests.edp

📁 FreeFem++可以生成高质量的有限元网格。可以用于流体力学
💻 EDP
字号:
// Regression tests// ----------------// $Id: regtests.edp,v 1.20 2009/02/03 14:03:02 morice Exp $// Regression tests// ----------------// The tests are checked against reference values by "make check" in// each examples subdirectory// "ref.edp" contains all reference values and may be rebuilt with// "make Ref"// $Id: regtests.edp,v 1.20 2009/02/03 14:03:02 morice Exp $// The values tested here may not have a physical or mathematical// meaning. Their main property is to gather numerical values from the// whole domain, to be checked for consistency with previous runs.NoUseOfWait=true;int verbosityy=verbosity;include "ref.edp";// The values tested here may not have a physical or mathematical// meaning. Their main property is to gather numerical values from the// whole domain, to be checked for consistency with previous runs.cout << "--------- file : load.edp -----------------" << endl;verbosity=verbosityy;{				include "load.edp";	real TESTload=uh[].max;		cout<<"load reference value = "<<REFload				<<" test value ="<<TESTload<<endl;			assert(TESTload<REFload*(1+0.0001));				assert(TESTload>REFload*(1-0.0001));};cout << "--------- file : testFE.edp -----------------" << endl;verbosity=verbosityy;{				include "testFE.edp";	};cout << "--------- file : testFEMorley.edp -----------------" << endl;verbosity=verbosityy;{				include "testFEMorley.edp";	};cout << "--------- file : funcTemplate.edp -----------------" << endl;verbosity=verbosityy;{				include "funcTemplate.edp";	};cout << "--------- file : LapDG3.edp -----------------" << endl;verbosity=verbosityy;{				include "LapDG3.edp";	};cout << "--------- file : LapDG4.edp -----------------" << endl;verbosity=verbosityy;{				include "LapDG4.edp";	};cout << "--------- file : LaplaceP3.edp -----------------" << endl;verbosity=verbosityy;{				include "LaplaceP3.edp";	};cout << "--------- file : LaplaceP4.edp -----------------" << endl;verbosity=verbosityy;{				include "LaplaceP4.edp";	};cout << "--------- file : bilapMorley.edp -----------------" << endl;verbosity=verbosityy;{				include "bilapMorley.edp";	};cout << "--------- file : plot-fb-P3.edp -----------------" << endl;verbosity=verbosityy;{				include "plot-fb-P3.edp";	};cout << "--------- file : plot-fb-P3dc.edp -----------------" << endl;verbosity=verbosityy;{				include "plot-fb-P3dc.edp";	};cout << "--------- file : plot-fb-P4.edp -----------------" << endl;verbosity=verbosityy;{				include "plot-fb-P4.edp";	};cout << "--------- file : plot-fb-P4dc.edp -----------------" << endl;verbosity=verbosityy;{				include "plot-fb-P4dc.edp";	};cout << "--------- file : splitmesh3.edp -----------------" << endl;verbosity=verbosityy;{				include "splitmesh3.edp";	};cout << "--------- file : splitmesh6.edp -----------------" << endl;verbosity=verbosityy;{				include "splitmesh6.edp";	};cout << "--------- file : testFE-PkEdge.edp -----------------" << endl;verbosity=verbosityy;{				include "testFE-PkEdge.edp";	};cout << "--------- file : testFE.edp -----------------" << endl;verbosity=verbosityy;{				include "testFE.edp";	};cout << "--------- file : testFEMorley.edp -----------------" << endl;verbosity=verbosityy;{				include "testFEMorley.edp";	};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -