| The netgen file is newer and has the correct spelling “mp.second_order”, however I noticed that there are other differences between the netgen file and calculix cgx. --- /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_netgen/netgen/work/netgen-5.3.1/nglib/ng_vol.cpp 2014-08-29 04:54:00.000000000 -0500 +++ /opt/local/var/macports/build/_Users_marbre_ports_math_calculix/calculix-cgx/work/CalculiX/cgx_2.10/netgen/ng_vol.cpp 2015-12-16 14:08:16.000000000 -0600 @@ -1,5 +1,12 @@ +/* + original from Joachim Schoeberl + ..../netgen-4.9.13/nglib/ng_vol.cpp + License: LGPL +*/ #include <iostream> #include <fstream> +// added by wittig 2.dec 2013 +#include <mystdlib.h> using namespace std; @@ -11,7 +18,9 @@ { using namespace nglib; - cout << "Netgen Testing" << endl; + // changed by wittig 2.dec 2013 + //cout << "Netgen Testing" << endl; + cout << "Netgen tet-mesher" << endl; if (argc < 2) { @@ -63,13 +72,17 @@ Ng_Meshing_Parameters mp; mp.maxh = 1e6; mp.fineness = 1; - mp.second_order = 0; + mp.secondorder = 0; + // added by wittig 2.dec 2013 + if (argc == 3) mp.maxh = atof(argv[2]); cout << "start meshing" << endl; Ng_GenerateVolumeMesh (mesh, &mp); cout << "meshing done" << endl; // volume mesh output + // deactivated by wittig 2.dec 2013 + /* np = Ng_GetNP(mesh); cout << "Points: " << np << endl; @@ -87,6 +100,7 @@ cout << i << ": " << tet[0] << " " << tet[1] << " " << tet[2] << " " << tet[3] << endl; } + */ Ng_SaveMesh(mesh,"test.vol"); |
ng_vol.cpp.diff
Description: Binary data
|
_______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
