Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
1ee65991
Commit
1ee65991
authored
Mar 20, 2017
by
Kilian Lackhove
Browse files
fix FieldConvert interppointdatatofld module and added a regression test
parent
8790dcd5
Changes
3
Hide whitespace changes
Inline
Side-by-side
library/FieldUtils/ProcessModules/ProcessInterpPointDataToFld.cpp
View file @
1ee65991
...
...
@@ -128,7 +128,7 @@ void ProcessInterpPointDataToFld::Process(po::variables_map &vm)
{
for
(
j
=
0
;
j
<
nFields
;
++
j
)
{
m_f
->
m_exp
[
j
]
->
SetPhys
(
i
,
outPts
->
GetPointVal
(
j
,
i
));
m_f
->
m_exp
[
j
]
->
SetPhys
(
i
,
outPts
->
GetPointVal
(
3
+
j
,
i
));
}
}
...
...
utilities/FieldConvert/CMakeLists.txt
View file @
1ee65991
...
...
@@ -30,6 +30,7 @@ ADD_NEKTAR_TEST(chan3D_isocontour)
ADD_NEKTAR_TEST
(
interpfield
)
ADD_NEKTAR_TEST
(
naca0012_bnd_equispacedoutput
)
ADD_NEKTAR_TEST
(
smallmesh_isocontour
)
ADD_NEKTAR_TEST
(
chan3D_interppointdatatofld
)
IF
(
NEKTAR_USE_MPI
)
ADD_NEKTAR_TEST
(
chan3D_tec_par
)
...
...
utilities/FieldConvert/Tests/chan3D_interppointdatatofld.tst
0 → 100644
View file @
1ee65991
<?xml version="1.0" encoding="utf-8"?>
<test>
<description>
Convert a .pts file to .fld
</description>
<executable>
FieldConvert
</executable>
<parameters>
-e -m interppointdatatofld chan3D.xml chan3D_pts.pts chan3D_pts.fld
</parameters>
<files>
<file
description=
"Session File"
>
chan3D.xml
</file>
<file
description=
"Session File"
>
chan3D_pts.pts
</file>
</files>
<metrics>
<metric
type=
"L2"
id=
"1"
>
<value
variable=
"p"
tolerance=
"10"
>
385033
</value>
</metric>
<metric
type=
"Linf"
id=
"2"
>
<value
variable=
"p"
tolerance=
"10"
>
175442
</value>
</metric>
</metrics>
</test>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment