Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
373049dd
Commit
373049dd
authored
10 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
fix
parent
f4d9e7b2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Plugin/CurvedBndDist.cpp
+6
-16
6 additions, 16 deletions
Plugin/CurvedBndDist.cpp
Plugin/CurvedBndDist.h
+0
-2
0 additions, 2 deletions
Plugin/CurvedBndDist.h
with
6 additions
and
18 deletions
Plugin/CurvedBndDist.cpp
+
6
−
16
View file @
373049dd
...
...
@@ -15,10 +15,6 @@
#include
"OptHomIntegralBoundaryDist.h"
#endif
StringXNumber
CurvedBndDistOptions_Number
[]
=
{
{
GMSH_FULLRC
,
"Dummy"
,
NULL
,
-
1
}
};
extern
"C"
{
GMSH_Plugin
*
GMSH_RegisterCurvedBndDistPlugin
()
...
...
@@ -26,16 +22,6 @@ extern "C"
return
new
GMSH_CurvedBndDistPlugin
();
}
}
int
GMSH_CurvedBndDistPlugin
::
getNbOptions
()
const
{
return
sizeof
(
CurvedBndDistOptions_Number
)
/
sizeof
(
StringXNumber
);
}
StringXNumber
*
GMSH_CurvedBndDistPlugin
::
getOption
(
int
iopt
)
{
return
&
CurvedBndDistOptions_Number
[
iopt
];
}
std
::
string
GMSH_CurvedBndDistPlugin
::
getHelp
()
const
{
...
...
@@ -51,7 +37,9 @@ static void addLine(PViewDataList *data, const SVector3 &p0, const SVector3 &p1,
data
->
SL
.
push_back
(
v0
);
data
->
SL
.
push_back
(
v1
);
}
/*static void addQua(PViewDataList *data, const SVector3 &p0, const SVector3 &p1, const SVector3 &p2, const SVector3 &p3, double v)
/*
static void addQua(PViewDataList *data, const SVector3 &p0, const SVector3 &p1,
const SVector3 &p2, const SVector3 &p3, double v)
{
data->NbSQ ++;
data->SQ.push_back(p0.x()); data->SQ.push_back(p1.x()); data->SQ.push_back(p2.x()); data->SQ.push_back(p3.x());
...
...
@@ -59,7 +47,6 @@ static void addLine(PViewDataList *data, const SVector3 &p0, const SVector3 &p1,
data->SQ.push_back(p0.z()); data->SQ.push_back(p1.z()); data->SQ.push_back(p2.z()); data->SQ.push_back(p3.z());
data->SQ.push_back(v); data->SQ.push_back(v); data->SQ.push_back(v); data->SQ.push_back(v);
}
*/
static void addPoint(PViewDataList *data, const SVector3 &p0, double v0)
{
...
...
@@ -80,6 +67,7 @@ static void addVP(PViewDataList *data, const SVector3 p0, SVector3 v)
data->VP.push_back(v.y());
data->VP.push_back(v.z());
}
*/
#if defined(HAVE_OPTHOM)
...
...
@@ -106,6 +94,7 @@ static void drawElementDist(PViewDataList *data, GEdge *edge,
}
}
/*
static void drawElement(PViewDataList *data, GEdge *edge,
const std::vector<MVertex *>&vertices, const nodalBasis &basis)
{
...
...
@@ -132,6 +121,7 @@ static void drawElement(PViewDataList *data, GEdge *edge,
addVP(data, p, t * (-gradient[i]));
}
}
*/
#endif
...
...
This diff is collapsed.
Click to expand it.
Plugin/CurvedBndDist.h
+
0
−
2
View file @
373049dd
...
...
@@ -24,8 +24,6 @@ class GMSH_CurvedBndDistPlugin : public GMSH_PostPlugin
}
std
::
string
getHelp
()
const
;
std
::
string
getAuthor
()
const
{
return
"Jonathan Lambrechts"
;
}
int
getNbOptions
()
const
;
StringXNumber
*
getOption
(
int
);
PView
*
execute
(
PView
*
);
};
#endif
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