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
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Romin Tomasetti
gmsh
Commits
6e40cab6
Commit
6e40cab6
authored
12 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
pp
parent
162284b2
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Post/PViewDataGModel.h
+2
-2
2 additions, 2 deletions
Post/PViewDataGModel.h
Post/PViewDataList.cpp
+3
-2
3 additions, 2 deletions
Post/PViewDataList.cpp
Post/PViewDataRemote.h
+6
-6
6 additions, 6 deletions
Post/PViewDataRemote.h
with
11 additions
and
10 deletions
Post/PViewDataGModel.h
+
2
−
2
View file @
6e40cab6
...
@@ -241,8 +241,8 @@ class PViewDataGModel : public PViewData {
...
@@ -241,8 +241,8 @@ class PViewDataGModel : public PViewData {
int
fileIndex
,
FILE
*
fp
,
bool
binary
,
bool
swap
,
int
step
,
int
fileIndex
,
FILE
*
fp
,
bool
binary
,
bool
swap
,
int
step
,
double
time
,
int
partition
,
int
numComp
,
int
numNodes
,
double
time
,
int
partition
,
int
numComp
,
int
numNodes
,
const
std
::
string
&
interpolationScheme
);
const
std
::
string
&
interpolationScheme
);
virtual
bool
writeMSH
(
const
std
::
string
&
fileName
,
double
version
=
2.2
,
bool
binary
=
false
,
bool
savemesh
=
true
,
virtual
bool
writeMSH
(
const
std
::
string
&
fileName
,
double
version
=
2.2
,
bool
binary
=
false
,
bool
multipleView
=
false
);
bool
savemesh
=
true
,
bool
multipleView
=
false
);
bool
readMED
(
const
std
::
string
&
fileName
,
int
fileIndex
);
bool
readMED
(
const
std
::
string
&
fileName
,
int
fileIndex
);
bool
writeMED
(
const
std
::
string
&
fileName
);
bool
writeMED
(
const
std
::
string
&
fileName
);
};
};
...
...
This diff is collapsed.
Click to expand it.
Post/PViewDataList.cpp
+
3
−
2
View file @
6e40cab6
...
@@ -830,7 +830,7 @@ int PViewDataList::_getRawData(int idxtype, std::vector<double> **l, int **ne,
...
@@ -830,7 +830,7 @@ int PViewDataList::_getRawData(int idxtype, std::vector<double> **l, int **ne,
int
type
=
0
;
int
type
=
0
;
// No constant nn for polygons!
// No constant nn for polygons!
if
(
idxtype
>
23
&&
idxtype
<
30
)
if
(
idxtype
>
23
&&
idxtype
<
30
)
Msg
::
Warning
(
"No constant number of nodes for polygons and polyhedra
.
"
);
Msg
::
Warning
(
"No constant number of nodes for polygons and polyhedra"
);
switch
(
idxtype
){
switch
(
idxtype
){
case
0
:
*
l
=
&
SP
;
*
ne
=
&
NbSP
;
*
nc
=
1
;
*
nn
=
1
;
type
=
TYPE_PNT
;
break
;
case
0
:
*
l
=
&
SP
;
*
ne
=
&
NbSP
;
*
nc
=
1
;
*
nn
=
1
;
type
=
TYPE_PNT
;
break
;
case
1
:
*
l
=
&
VP
;
*
ne
=
&
NbVP
;
*
nc
=
3
;
*
nn
=
1
;
type
=
TYPE_PNT
;
break
;
case
1
:
*
l
=
&
VP
;
*
ne
=
&
NbVP
;
*
nc
=
3
;
*
nn
=
1
;
type
=
TYPE_PNT
;
break
;
...
@@ -887,7 +887,8 @@ void PViewDataList::setOrder2(int type)
...
@@ -887,7 +887,8 @@ void PViewDataList::setOrder2(int type)
}
}
const
polynomialBasis
*
fs
=
(
polynomialBasis
*
)
BasisFactory
::
create
(
typeMSH
);
const
polynomialBasis
*
fs
=
(
polynomialBasis
*
)
BasisFactory
::
create
(
typeMSH
);
if
(
!
fs
){
if
(
!
fs
){
Msg
::
Error
(
"Could not find polynomial function space for element type %d"
,
typeMSH
);
Msg
::
Error
(
"Could not find polynomial function space for element type %d"
,
typeMSH
);
return
;
return
;
}
}
setInterpolationMatrices
(
type
,
fs
->
coefficients
,
fs
->
monomials
,
setInterpolationMatrices
(
type
,
fs
->
coefficients
,
fs
->
monomials
,
...
...
This diff is collapsed.
Click to expand it.
Post/PViewDataRemote.h
+
6
−
6
View file @
6e40cab6
...
@@ -24,8 +24,8 @@ class PViewDataRemote : public PViewData {
...
@@ -24,8 +24,8 @@ class PViewDataRemote : public PViewData {
double
_time
;
double
_time
;
SBoundingBox3d
_bbox
;
SBoundingBox3d
_bbox
;
public:
public:
PViewDataRemote
(
onelab
::
localNetworkClient
*
remote
,
double
min
,
double
max
,
int
numsteps
,
PViewDataRemote
(
onelab
::
localNetworkClient
*
remote
,
double
min
,
double
max
,
double
time
,
SBoundingBox3d
&
bbox
)
int
numsteps
,
double
time
,
SBoundingBox3d
&
bbox
)
:
_remote
(
remote
),
_min
(
min
),
_max
(
max
),
_numTimeSteps
(
numsteps
),
:
_remote
(
remote
),
_min
(
min
),
_max
(
max
),
_numTimeSteps
(
numsteps
),
_time
(
time
),
_bbox
(
bbox
)
{}
_time
(
time
),
_bbox
(
bbox
)
{}
~
PViewDataRemote
(){}
~
PViewDataRemote
(){}
...
...
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