Skip to content
Snippets Groups Projects
Commit cf1dcdba authored by Felix's avatar Felix
Browse files

more cells close to cylinder, less far apart from it

parent 2938973d
Branches
No related tags found
No related merge requests found
...@@ -38,23 +38,23 @@ sqrHalf #eval{$r * $sqrTod}; ...@@ -38,23 +38,23 @@ sqrHalf #eval{$r * $sqrTod};
sqr #eval{$sqrHalf * 2}; sqr #eval{$sqrHalf * 2};
rxy #eval{sqrt(0.5)*$r}; // rxy^2 + rxy^2 = r^2, x or y coordinate of point on cylinder in 45° rxy #eval{sqrt(0.5)*$r}; // rxy^2 + rxy^2 = r^2, x or y coordinate of point on cylinder in 45°
chi #eval{$N*2*floor(sqrt($Ltod))}; // cells horizontally in front of cylinder-surrounding square chi #eval{$N*floor(1.5*sqrt($Ltod))}; // cells horizontally in front of cylinder-surrounding square
cho #eval{$N*3*floor(sqrt($Ltod))}; // cells horizontally behind cylinder-surrounding square cho #eval{$N*2*floor(sqrt($Ltod))}; // cells horizontally behind cylinder-surrounding square
cv #eval{$N*2*floor(sqrt($Ltod))}; // cells vertically below or above cylinder-surrounding square cv #eval{$N*floor(1.5*sqrt($Ltod))}; // cells vertically below or above cylinder-surrounding square
cvs #eval{$N*10*floor(sqrt($sqrTod))}; // cells at vertical side of square cvs #eval{$N*8*floor(sqrt($sqrTod))}; // cells at vertical side of square
chs $cvs; // cells at horizontal side of square chs $cvs; // cells at horizontal side of square
// cr #eval{ceil($cvs * (sqrt(2) * $sqrTod - 1) * 2 / 3.14)}; // cr #eval{ceil($cvs * (sqrt(2) * $sqrTod - 1) * 2 / 3.14)};
// cells in radial direction in square // cells in radial direction in square
// gives roughly square cells at cylinder wall -> sounds like a good idea but grading plays into it as well and the // gives roughly square cells at cylinder wall -> sounds like a good idea but grading plays into it as well and the
// grading is again dependent on cr. So all a mess. // grading is again dependent on cr. So all a mess.
cr #eval{$N*5*floor(sqrt($sqrTod))}; cr #eval{$N*20*floor(sqrt($sqrTod))};
ghi 6; // grading horizontally in front of square ghi 9; // grading horizontally in front of square
gho 8; // grading horizontall behind the square gho 11; // grading horizontall behind the square
gv 6; // grading vertically below or above square gv 8; // grading vertically below or above square
// gvs, ghs not done // gvs, ghs not done
gr #eval{pow(1.05,$cr)}; // grading in radial direction in square gr #eval{pow(1.1,$cr)}; // grading in radial direction in square
/* gr 3; */ /* gr 3; */
vertices vertices
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment