Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container 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
Yuhao Liu
ogs
Commits
29d5fca5
Commit
29d5fca5
authored
9 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[U/ME] Changed command line switch name.
parent
d60c64f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Applications/Utils/MeshEdit/MapGeometryToMeshSurface.cpp
+5
-4
5 additions, 4 deletions
Applications/Utils/MeshEdit/MapGeometryToMeshSurface.cpp
with
5 additions
and
4 deletions
Applications/Utils/MeshEdit/MapGeometryToMeshSurface.cpp
+
5
−
4
View file @
29d5fca5
...
...
@@ -53,10 +53,11 @@ int main (int argc, char* argv[])
"the name of the file containing the input geometry"
,
true
,
""
,
"file name"
);
cmd
.
add
(
input_geometry_fname
);
TCLAP
::
ValueArg
<
bool
>
advanced_mapping
(
""
,
"advanced-mapping"
,
"if true advanced mapping algorithm will be applied"
,
false
,
TCLAP
::
ValueArg
<
bool
>
additional_insert_mapping
(
"a"
,
"additional-insert-mapping"
,
"if true advanced mapping algorithm will be applied, i.e. a new "
"geometry will be created and possibly new points will be inserted."
,
false
,
true
,
"boolean value"
);
cmd
.
add
(
ad
vanced
_mapping
);
cmd
.
add
(
ad
ditional_insert
_mapping
);
TCLAP
::
ValueArg
<
std
::
string
>
output_geometry_fname
(
"o"
,
"output-geometry"
,
"the name of the file containing the input geometry"
,
true
,
""
,
"file name"
);
...
...
@@ -88,7 +89,7 @@ int main (int argc, char* argv[])
std
::
string
new_geo_name
(
geo_name
);
MeshGeoToolsLib
::
GeoMapper
geo_mapper
(
geometries
,
geo_name
);
if
(
ad
vanced
_mapping
.
getValue
())
{
if
(
ad
ditional_insert
_mapping
.
getValue
())
{
new_geo_name
+=
"-Mapped"
;
geo_mapper
.
advancedMapOnMesh
(
mesh
,
new_geo_name
);
}
else
{
...
...
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