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
a342e4a2
Commit
a342e4a2
authored
14 years ago
by
Boris Sedji
Browse files
Options
Downloads
Patches
Plain Diff
"_orig" doesn't exist when a cut model is read from a .msh file
parent
c621240e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Geo/MElementCut.h
+3
-3
3 additions, 3 deletions
Geo/MElementCut.h
with
3 additions
and
3 deletions
Geo/MElementCut.h
+
3
−
3
View file @
a342e4a2
...
@@ -237,15 +237,15 @@ class MPolygon : public MElement {
...
@@ -237,15 +237,15 @@ class MPolygon : public MElement {
}
}
virtual
const
polynomialBasis
*
getFunctionSpace
(
int
order
=-
1
)
const
virtual
const
polynomialBasis
*
getFunctionSpace
(
int
order
=-
1
)
const
{
{
return
_orig
->
getFunctionSpace
(
order
);
if
(
_orig
)
return
_orig
->
getFunctionSpace
(
order
);
}
}
virtual
void
getShapeFunctions
(
double
u
,
double
v
,
double
w
,
double
s
[],
int
o
)
virtual
void
getShapeFunctions
(
double
u
,
double
v
,
double
w
,
double
s
[],
int
o
)
{
{
_orig
->
getShapeFunctions
(
u
,
v
,
w
,
s
,
o
);
if
(
_orig
)
_orig
->
getShapeFunctions
(
u
,
v
,
w
,
s
,
o
);
}
}
virtual
void
getGradShapeFunctions
(
double
u
,
double
v
,
double
w
,
double
s
[][
3
],
int
o
)
virtual
void
getGradShapeFunctions
(
double
u
,
double
v
,
double
w
,
double
s
[][
3
],
int
o
)
{
{
_orig
->
getGradShapeFunctions
(
u
,
v
,
w
,
s
,
o
);
if
(
_orig
)
_orig
->
getGradShapeFunctions
(
u
,
v
,
w
,
s
,
o
);
}
}
// the parametric coordinates of the polygon are
// the parametric coordinates of the polygon are
// the coordinates in the local parent element.
// the coordinates in the local parent element.
...
...
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