regtests.edp
来自「FreeFem++可以生成高质量的有限元网格。可以用于流体力学」· EDP 代码 · 共 204 行
EDP
204 行
// 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 + =
减小字号Ctrl + -
显示快捷键?