Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-alugrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ag-ohlberger
dune-community
dune-alugrid
Commits
f1a4b0a8
Commit
f1a4b0a8
authored
7 years ago
by
Robert K
Browse files
Options
Downloads
Patches
Plain Diff
small change
parent
028b8d77
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/dgf/tetmsh.dgf
+2
-2
2 additions, 2 deletions
examples/dgf/tetmsh.dgf
examples/quality/main.cc
+2
-1
2 additions, 1 deletion
examples/quality/main.cc
with
4 additions
and
3 deletions
examples/dgf/tetmsh.dgf
+
2
−
2
View file @
f1a4b0a8
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
#
...
...
This diff is collapsed.
Click to expand it.
examples/quality/main.cc
+
2
−
1
View file @
f1a4b0a8
...
...
@@ -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"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment