Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
fem
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
gmsh
fem
Commits
9a82c29c
Commit
9a82c29c
authored
1 month ago
by
Roland Greffe
Browse files
Options
Downloads
Patches
Plain Diff
testing
parent
5a75df4c
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#12847
failed
1 month ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/post/SaveFunction.cpp
+3
-3
3 additions, 3 deletions
src/post/SaveFunction.cpp
src/post/SaveFunction.h
+9
-0
9 additions, 0 deletions
src/post/SaveFunction.h
with
12 additions
and
3 deletions
src/post/SaveFunction.cpp
+
3
−
3
View file @
9a82c29c
...
@@ -27,7 +27,7 @@ namespace gmshfem::post
...
@@ -27,7 +27,7 @@ namespace gmshfem::post
}
}
template
<
class
T_Scalar
>
template
<
class
T_Scalar
>
static
void
s_addModelData
(
const
int
tag
,
const
int
step
,
const
double
time
,
const
int
partition
,
const
unsigned
int
nbrNodesByElements
,
std
::
vector
<
std
::
size_t
>
&
gmshElementsTags
,
std
::
vector
<
std
::
vector
<
double
>
>
&
gmshData
,
std
::
vector
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree0
>::
Object
,
numa
::
allocator
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree0
>::
Object
>
>
&
values
)
void
s_addModelData
(
const
int
tag
,
const
int
step
,
const
double
time
,
const
int
partition
,
const
unsigned
int
nbrNodesByElements
,
std
::
vector
<
std
::
size_t
>
&
gmshElementsTags
,
std
::
vector
<
std
::
vector
<
double
>
>
&
gmshData
,
std
::
vector
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree0
>::
Object
,
numa
::
allocator
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree0
>::
Object
>
>
&
values
)
{
{
if
(
scalar
::
IsComplex
<
T_Scalar
>::
value
)
{
if
(
scalar
::
IsComplex
<
T_Scalar
>::
value
)
{
// real part
// real part
...
@@ -78,7 +78,7 @@ namespace gmshfem::post
...
@@ -78,7 +78,7 @@ namespace gmshfem::post
}
}
template
<
class
T_Scalar
>
template
<
class
T_Scalar
>
static
void
s_addModelData
(
const
int
tag
,
const
int
step
,
const
double
time
,
const
int
partition
,
const
unsigned
int
nbrNodesByElements
,
std
::
vector
<
std
::
size_t
>
&
gmshElementsTags
,
std
::
vector
<
std
::
vector
<
double
>
>
&
gmshData
,
std
::
vector
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree1
>::
Object
,
numa
::
allocator
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree1
>::
Object
>
>
&
values
)
void
s_addModelData
(
const
int
tag
,
const
int
step
,
const
double
time
,
const
int
partition
,
const
unsigned
int
nbrNodesByElements
,
std
::
vector
<
std
::
size_t
>
&
gmshElementsTags
,
std
::
vector
<
std
::
vector
<
double
>
>
&
gmshData
,
std
::
vector
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree1
>::
Object
,
numa
::
allocator
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree1
>::
Object
>
>
&
values
)
{
{
if
(
scalar
::
IsComplex
<
T_Scalar
>::
value
)
{
if
(
scalar
::
IsComplex
<
T_Scalar
>::
value
)
{
// real part
// real part
...
@@ -138,7 +138,7 @@ namespace gmshfem::post
...
@@ -138,7 +138,7 @@ namespace gmshfem::post
}
}
template
<
class
T_Scalar
>
template
<
class
T_Scalar
>
static
void
s_addModelData
(
const
int
tag
,
const
int
step
,
const
double
time
,
const
int
partition
,
const
unsigned
int
nbrNodesByElements
,
std
::
vector
<
std
::
size_t
>
&
gmshElementsTags
,
std
::
vector
<
std
::
vector
<
double
>
>
&
gmshData
,
std
::
vector
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree2
>::
Object
,
numa
::
allocator
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree2
>::
Object
>
>
&
values
)
void
s_addModelData
(
const
int
tag
,
const
int
step
,
const
double
time
,
const
int
partition
,
const
unsigned
int
nbrNodesByElements
,
std
::
vector
<
std
::
size_t
>
&
gmshElementsTags
,
std
::
vector
<
std
::
vector
<
double
>
>
&
gmshData
,
std
::
vector
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree2
>::
Object
,
numa
::
allocator
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree2
>::
Object
>
>
&
values
)
{
{
if
(
scalar
::
IsComplex
<
T_Scalar
>::
value
)
{
if
(
scalar
::
IsComplex
<
T_Scalar
>::
value
)
{
// real part
// real part
...
...
This diff is collapsed.
Click to expand it.
src/post/SaveFunction.h
+
9
−
0
View file @
9a82c29c
...
@@ -17,6 +17,15 @@
...
@@ -17,6 +17,15 @@
namespace
gmshfem
::
post
namespace
gmshfem
::
post
{
{
template
<
class
T_Scalar
>
void
s_addModelData
(
const
int
tag
,
const
int
step
,
const
double
time
,
const
int
partition
,
const
unsigned
int
nbrNodesByElements
,
std
::
vector
<
std
::
size_t
>
&
gmshElementsTags
,
std
::
vector
<
std
::
vector
<
double
>
>
&
gmshData
,
std
::
vector
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree0
>::
Object
,
numa
::
allocator
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree0
>::
Object
>
>
&
values
);
template
<
class
T_Scalar
>
void
s_addModelData
(
const
int
tag
,
const
int
step
,
const
double
time
,
const
int
partition
,
const
unsigned
int
nbrNodesByElements
,
std
::
vector
<
std
::
size_t
>
&
gmshElementsTags
,
std
::
vector
<
std
::
vector
<
double
>
>
&
gmshData
,
std
::
vector
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree1
>::
Object
,
numa
::
allocator
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree1
>::
Object
>
>
&
values
);
template
<
class
T_Scalar
>
void
s_addModelData
(
const
int
tag
,
const
int
step
,
const
double
time
,
const
int
partition
,
const
unsigned
int
nbrNodesByElements
,
std
::
vector
<
std
::
size_t
>
&
gmshElementsTags
,
std
::
vector
<
std
::
vector
<
double
>
>
&
gmshData
,
std
::
vector
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree2
>::
Object
,
numa
::
allocator
<
typename
MathObject
<
T_Scalar
,
Degree
::
Degree2
>::
Object
>
>
&
values
);
template
<
class
T_Scalar
,
Degree
T_Degree
>
template
<
class
T_Scalar
,
Degree
T_Degree
>
class
SaveFunction
final
:
public
PostInterface
class
SaveFunction
final
:
public
PostInterface
...
...
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