Skip to content

Commit

Permalink
creates a new collar test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Jun 23, 2021
1 parent f6f627b commit 72bcd5f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
24 changes: 24 additions & 0 deletions acceptance/inflate/collar/inflate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env bash

set -x # echo commands
set -e # exit on first error
set -u # Treat unset variables as error

if [ $# -gt 0 ] ; then
src=$1/src
else
src=${HOME}/refine/egads/src
fi

serveCSM -batch poly.csm

${src}/ref bootstrap poly.egads

${src}/ref collar \
poly-vol.meshb \
10 \
0.1 \
2.0 \
1.68

exit
13 changes: 13 additions & 0 deletions acceptance/inflate/collar/poly.csm
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

set n 1

box 0 -1 -1 4 2 2
patbeg i n
set angle 90/(n+1)*i
box 0 -1 -1 4 2 2
rotatex angle 0 0
intersect
patend

dump poly.egads

0 comments on commit 72bcd5f

Please sign in to comment.