Skip to content
Snippets Groups Projects
Commit f1a4b0a8 authored by Robert K's avatar Robert K
Browse files

small change

parent 028b8d77
No related branches found
No related tags found
No related merge requests found
DGF
Simplexgenerator
min-angle 45 % quality enhancment
%max-area 1e7 % maximum element area restriction
max-area 0.0001 % maximum element area restriction
display 0 % show result using the Tetgen viewer
% to use TetGen from a certain path, uncomment this path line
%path $HOME/bin % path to Tetgen
file dgf/screw mesh
file dgf/Dec1 mesh
dimension 3
#
......
......@@ -156,6 +156,7 @@ try
int variant = 0;
int threshold = 2;
int useAnnouncedEdge = 1 ;
int maxLevel = 1;
if( argc < 3 )
{
......@@ -176,6 +177,7 @@ try
variant = argc >= 3 ? atoi( argv[2] ) : variant;
threshold = argc >= 4 ? atoi( argv[3] ) : threshold;
useAnnouncedEdge = argc >= 5 ? atoi( argv[4] ) : useAnnouncedEdge;
maxLevel = (argc >= 6 ) ? atoi( argv[ 5 ] ) : maxLevel;
}
std::string dgffile( argv[1] );
......@@ -194,7 +196,6 @@ try
/* get level to use for computationa */
const int startLevel = 0;
const int maxLevel = 1; // only one level of refinement needed
std::size_t pos1 = 0;//dgffile.find("/dgf/") + 5;
std::size_t pos2 = dgffile.find(".dgf");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment