Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
2e684b0b
Commit
2e684b0b
authored
Dec 05, 2016
by
Browse files
bug fix and changelog
parent
bd4151d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
2e684b0b
...
...
@@ -69,6 +69,7 @@ v4.4.0
-
Add flag to
`insertsurface`
process for non-conforming geometries (!700)
-
Bug fix to get two meshgen regression tests working (!700)
-
Remove libANN in deference to boost::geometry (!703)
-
Add a mesh extract option to the linearise module to visualise the result (!712)
**FieldConvert:**
-
Move all modules to a new library, FieldUtils, to support post-processing
...
...
utilities/NekMesh/ProcessModules/ProcessLinear.cpp
View file @
2e684b0b
...
...
@@ -56,7 +56,7 @@ ProcessLinear::ProcessLinear(MeshSharedPtr m) : ProcessModule(m)
m_config
[
"prismonly"
]
=
ConfigOption
(
false
,
""
,
"only acts on prims"
);
m_config
[
"extract"
]
=
ConfigOption
(
tru
e
,
"
0
"
,
"dump a mesh of the extracted elements"
);
ConfigOption
(
fals
e
,
""
,
"dump a mesh of the extracted elements"
);
}
ProcessLinear
::~
ProcessLinear
()
...
...
@@ -225,15 +225,15 @@ void ProcessLinear::Process()
if
(
m_config
[
"extract"
].
beenSet
)
{
MeshSharedPtr
dmp
=
boost
::
shared_ptr
<
Mesh
>
(
new
Mesh
());
oct
->
m_expDim
=
3
;
oct
->
m_spaceDim
=
3
;
oct
->
m_nummode
=
2
;
dmp
->
m_expDim
=
3
;
dmp
->
m_spaceDim
=
3
;
dmp
->
m_nummode
=
2
;
dmp
->
m_element
[
3
]
=
dumpEls
;
ModuleSharedPtr
mod
=
GetModuleFactory
().
CreateInstance
(
ModuleKey
(
eOutputModule
,
"xml"
),
dmp
);
mod
->
RegisterConfig
(
"outfile"
,
"linearised.xml"
);
mod
->
RegisterConfig
(
"outfile"
,
m_config
[
"extract"
].
as
<
string
>
().
c_str
()
);
mod
->
ProcessVertices
();
mod
->
ProcessEdges
();
mod
->
ProcessFaces
();
...
...
Write
Preview
Supports
Markdown
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