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
2b4678d0
Commit
2b4678d0
authored
13 years ago
by
Matti Pellika
Browse files
Options
Downloads
Patches
Plain Diff
Fix GetDP compile with Gmsh on Debian
parent
6f5abb56
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
Numeric/Numeric.cpp
+7
-7
7 additions, 7 deletions
Numeric/Numeric.cpp
Numeric/Numeric.h
+1
-1
1 addition, 1 deletion
Numeric/Numeric.h
with
8 additions
and
8 deletions
Numeric/Numeric.cpp
+
7
−
7
View file @
2b4678d0
...
...
@@ -257,18 +257,18 @@ double angle_02pi(double A3)
return
A3
;
}
double
angle_plan
(
double
V
[
3
],
double
P
1
[
3
],
double
P
2
[
3
],
double
n
[
3
])
double
angle_plan
(
double
v
[
3
],
double
p
1
[
3
],
double
p
2
[
3
],
double
n
[
3
])
{
double
PA
[
3
],
PB
[
3
],
angplan
;
double
cosc
,
sinc
,
c
[
3
];
PA
[
0
]
=
P
1
[
0
]
-
V
[
0
];
PA
[
1
]
=
P
1
[
1
]
-
V
[
1
];
PA
[
2
]
=
P
1
[
2
]
-
V
[
2
];
PA
[
0
]
=
p
1
[
0
]
-
v
[
0
];
PA
[
1
]
=
p
1
[
1
]
-
v
[
1
];
PA
[
2
]
=
p
1
[
2
]
-
v
[
2
];
PB
[
0
]
=
P
2
[
0
]
-
V
[
0
];
PB
[
1
]
=
P
2
[
1
]
-
V
[
1
];
PB
[
2
]
=
P
2
[
2
]
-
V
[
2
];
PB
[
0
]
=
p
2
[
0
]
-
v
[
0
];
PB
[
1
]
=
p
2
[
1
]
-
v
[
1
];
PB
[
2
]
=
p
2
[
2
]
-
v
[
2
];
norme
(
PA
);
norme
(
PB
);
...
...
This diff is collapsed.
Click to expand it.
Numeric/Numeric.h
+
1
−
1
View file @
2b4678d0
...
...
@@ -83,7 +83,7 @@ double trace2 (double mat[3][3]);
double
inv3x3
(
double
mat
[
3
][
3
],
double
inv
[
3
][
3
]);
double
inv2x2
(
double
mat
[
2
][
2
],
double
inv
[
2
][
2
]);
double
angle_02pi
(
double
A3
);
double
angle_plan
(
double
V
[
3
],
double
P
1
[
3
],
double
P
2
[
3
],
double
n
[
3
]);
double
angle_plan
(
double
v
[
3
],
double
p
1
[
3
],
double
p
2
[
3
],
double
n
[
3
]);
double
triangle_area
(
double
p0
[
3
],
double
p1
[
3
],
double
p2
[
3
]);
double
triangle_area2d
(
double
p0
[
2
],
double
p1
[
2
],
double
p2
[
2
]);
void
circumCenterXY
(
double
*
p1
,
double
*
p2
,
double
*
p3
,
double
*
res
);
...
...
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