Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
c0b11a52
Commit
c0b11a52
authored
Jan 18, 2019
by
Mark OLESEN
Browse files
ENH: additional constructor for vtk::outputOptions
parent
a8fa7524
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/fileFormats/vtk/output/foamVtkOutputOptions.C
View file @
c0b11a52
...
...
@@ -25,7 +25,6 @@ License
#include
"foamVtkOutputOptions.H"
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
Foam
::
vtk
::
outputOptions
&
...
...
src/fileFormats/vtk/output/foamVtkOutputOptions.H
View file @
c0b11a52
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-201
7
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2016-201
9
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -34,6 +34,7 @@ Description
SourceFiles
foamVtkOutputOptions.C
foamVtkOutputOptionsI.H
\*---------------------------------------------------------------------------*/
...
...
@@ -51,7 +52,7 @@ namespace vtk
{
/*---------------------------------------------------------------------------*\
Class outputOptions Declaration
Class
vtk::
outputOptions Declaration
\*---------------------------------------------------------------------------*/
class
outputOptions
...
...
@@ -79,10 +80,13 @@ public:
//- Construct null - XML insitu ASCII format with default precision
inline
outputOptions
();
//- Construct with specified format
.
// This constructor should remain non-explicit.
//- Construct with specified format
and default (ASCII) precision
//
\note
This constructor should remain non-explicit.
inline
outputOptions
(
enum
formatType
fmtType
);
//- Construct with specified format and (ASCII) write precision
inline
outputOptions
(
enum
formatType
fmtType
,
unsigned
prec
);
// Selectors
...
...
src/fileFormats/vtk/output/foamVtkOutputOptionsI.H
View file @
c0b11a52
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-201
7
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2016-201
9
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -44,6 +44,17 @@ inline Foam::vtk::outputOptions::outputOptions
{}
inline
Foam
::
vtk
::
outputOptions
::
outputOptions
(
enum
formatType
fmtType
,
unsigned
prec
)
:
fmtType_
(
fmtType
),
precision_
(
prec
)
{}
// * * * * * * * * * * * * * * * * Selectors * * * * * * * * * * * * * * * * //
inline
Foam
::
autoPtr
<
Foam
::
vtk
::
formatter
>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment