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
d8c2e61e
Commit
d8c2e61e
authored
10 years ago
by
Thomas Toulorge
Browse files
Options
Downloads
Patches
Plain Diff
Lowered order of CondNumBasis (now order of mapping at most).
parent
a813efdf
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Numeric/CondNumBasis.cpp
+6
-6
6 additions, 6 deletions
Numeric/CondNumBasis.cpp
with
6 additions
and
6 deletions
Numeric/CondNumBasis.cpp
+
6
−
6
View file @
d8c2e61e
...
@@ -376,12 +376,12 @@ int CondNumBasis::condNumOrder(int parentType, int order)
...
@@ -376,12 +376,12 @@ int CondNumBasis::condNumOrder(int parentType, int order)
switch
(
parentType
)
{
switch
(
parentType
)
{
case
TYPE_PNT
:
return
0
;
case
TYPE_PNT
:
return
0
;
case
TYPE_LIN
:
return
order
-
1
;
case
TYPE_LIN
:
return
order
-
1
;
case
TYPE_TRI
:
return
2
*
order
-
2
;
case
TYPE_TRI
:
return
(
order
==
1
)
?
0
:
order
;
case
TYPE_QUA
:
return
2
*
order
-
1
;
case
TYPE_QUA
:
return
order
;
case
TYPE_TET
:
return
3
*
order
-
3
;
case
TYPE_TET
:
return
(
order
==
1
)
?
0
:
order
;
case
TYPE_PRI
:
return
3
*
order
-
1
;
case
TYPE_PRI
:
return
order
;
case
TYPE_HEX
:
return
3
*
order
-
1
;
case
TYPE_HEX
:
return
order
;
case
TYPE_PYR
:
return
3
*
order
-
3
;
case
TYPE_PYR
:
return
(
order
==
1
)
?
0
:
order
;
default
:
default
:
Msg
::
Error
(
"Unknown element type %d, return order 0"
,
parentType
);
Msg
::
Error
(
"Unknown element type %d, return order 0"
,
parentType
);
return
0
;
return
0
;
...
...
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