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
6bfe2e60
Commit
6bfe2e60
authored
12 years ago
by
Nicolas Marsic
Browse files
Options
Downloads
Patches
Plain Diff
Writer
parent
f2dedb9e
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
FunctionSpace/BasisTest.cpp
+7
-3
7 additions, 3 deletions
FunctionSpace/BasisTest.cpp
FunctionSpace/CMakeLists.txt
+1
-1
1 addition, 1 deletion
FunctionSpace/CMakeLists.txt
with
8 additions
and
4 deletions
FunctionSpace/BasisTest.cpp
+
7
−
3
View file @
6bfe2e60
...
@@ -13,21 +13,25 @@
...
@@ -13,21 +13,25 @@
#include
"HexEdgeBasis.h"
#include
"HexEdgeBasis.h"
#include
"PlotBasis.h"
#include
"PlotBasis.h"
#include
"WriterMsh.h"
using
namespace
std
;
using
namespace
std
;
int
basisTest
(
int
argc
,
char
**
argv
){
int
main
(
int
argc
,
char
**
argv
){
// Init Gmsh //
// Init Gmsh //
GmshInitialize
(
argc
,
argv
);
GmshInitialize
(
argc
,
argv
);
// Get Mesh //
// Get Mesh //
Mesh
msh
(
argv
[
1
]);
Mesh
msh
(
argv
[
1
]);
// Writer for .msh
WriterMsh
writer
(
msh
.
getGroup
(
2
).
getAll
());
// Plot Basis //
// Plot Basis //
TriEdgeBasis
b
(
5
);
TriEdgeBasis
b
(
5
);
PlotBasis
plot
(
msh
.
getGroup
(
2
),
b
);
PlotBasis
plot
(
msh
.
getGroup
(
2
),
b
,
writer
);
plot
.
write
(
"basis"
);
plot
.
plot
(
"basis"
);
// Stop Gmsh //
// Stop Gmsh //
GmshFinalize
();
GmshFinalize
();
...
...
This diff is collapsed.
Click to expand it.
FunctionSpace/CMakeLists.txt
+
1
−
1
View file @
6bfe2e60
...
@@ -10,8 +10,8 @@ set(SRC
...
@@ -10,8 +10,8 @@ set(SRC
Basis.cpp
Basis.cpp
BasisScalar.cpp
BasisScalar.cpp
BasisVector.cpp
BasisVector.cpp
BasisTest.cpp
BasisGenerator.cpp
BasisGenerator.cpp
BasisTest.cpp
QuadNodeBasis.cpp
QuadNodeBasis.cpp
QuadEdgeBasis.cpp
QuadEdgeBasis.cpp
...
...
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