-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid seg fault for 3D extrusion without a MODEL block (#59)
* ensure modelDict exists to avoid seg fault * add two more extrusion tests without a MODEL * remove BoxRotated test due to floating point error comparison issues * Check modelDict if used If a sweep curve is requested in the control block, it needs the curve it's swept on in a model block. Throw a fatal exception if there is no model block in this case. * remove unused variables * unify naming for the BoxRotated extruded mesh * fix incorrect label name on figure in docs --------- Co-authored-by: David Kopriva <kopriva@math.fsu.edu>
- Loading branch information
1 parent
fd9043d
commit f559ac6
Showing
9 changed files
with
6,996 additions
and
6,937 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
2 | ||
50 108 | ||
1.00000E+00 | ||
1.00000E+00 | ||
1.00000E+00 | ||
1.00000E+00 | ||
0.00000E+00 | ||
1.00000E+00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
% | ||
% This control file uses no model and so generates a structured mesh | ||
% in a box. The mesh size and position is given by the BackgroundGrid | ||
% block. The background grid size is ignored when a BackgroundGrid block | ||
% is present. | ||
% | ||
\begin{CONTROL_INPUT} | ||
|
||
\begin{RUN_PARAMETERS} | ||
mesh file name = Benchmarks/MeshFiles/Tests/Box3D.mesh | ||
plot file name = Benchmarks/PlotFiles/Tests/Box3D.tec | ||
stats file name = Benchmarks/StatsFiles/Tests/Box3D.txt | ||
test file name = Benchmarks/BenchmarkData/Box3D.txt | ||
mesh file format = ISM | ||
polynomial order = 4 | ||
plot file format = skeleton | ||
\end{RUN_PARAMETERS} | ||
|
||
\begin{SIMPLE_EXTRUSION} | ||
direction = 3 | ||
height = 2.0 | ||
subdivisions = 2 | ||
start surface name = bottom | ||
end surface name = top | ||
\end{SIMPLE_EXTRUSION} | ||
|
||
\begin{BACKGROUND_GRID} | ||
x0 = [0.0, 0.0, 0.0] | ||
dx = [1.0, 1.0, 1.0] | ||
N = [5,5,5] | ||
\end{BACKGROUND_GRID} | ||
|
||
\begin{SPRING_SMOOTHER} | ||
smoothing = ON | ||
smoothing type = LinearAndCrossBarSpring | ||
spring constant = 1.0 | ||
mass = 1.0 | ||
rest length = 0.0 | ||
damping coefficient = 5.0 | ||
number of iterations = 5 | ||
time step = 0.1 | ||
\end{SPRING_SMOOTHER} | ||
|
||
\end{CONTROL_INPUT} | ||
|
||
\end{FILE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
6,262 changes: 3,131 additions & 3,131 deletions
6,262
Examples/3D/BoxRotated/Box3D.tec → Examples/3D/BoxRotated/Box3DRot.tec
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters