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
1c23a963
Commit
1c23a963
authored
May 03, 2011
by
andy
Browse files
STYLE: Correcting coding style of commit
6217691b
parent
b333a311
Changes
14
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.C
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.H
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::
t
ableReader
Foam::
csvT
ableReader
Description
Reads an interpolation table from a file - CSV-format
...
...
@@ -44,7 +44,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class csvTableReader Declaration
Class csvTableReader Declaration
\*---------------------------------------------------------------------------*/
template
<
class
Type
>
...
...
@@ -52,26 +52,30 @@ class csvTableReader
:
public
tableReader
<
Type
>
{
//- does the file have a header line?
const
bool
headerLine_
;
// Private data
//-
column of the time
const
label
timeColumn
_
;
//-
Does the file have a header line?
const
bool
headerLine
_
;
//-
labels
of the
components
const
label
List
component
Column
s
_
;
//-
Column
of the
time
const
label
time
Column_
;
//- read the next value from the splitted string
Type
readValue
(
const
List
<
string
>&
);
//- Labels of the components
const
labelList
componentColumns_
;
//- Read the next value from the splitted string
Type
readValue
(
const
List
<
string
>&
);
//- Separator character
const
char
separator_
;
//- separator character
const
char
separator_
;
public:
//- Runtime type information
TypeName
(
"csv"
);
// Constructors
//- Construct from dictionary
...
...
@@ -91,8 +95,7 @@ public:
//- Destructor
virtual
~
csvTableReader
();
virtual
~
csvTableReader
();
// Member Functions
...
...
@@ -102,7 +105,6 @@ public:
//- write the remaining parameters
virtual
void
write
(
Ostream
&
os
)
const
;
};
...
...
src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReaders.C
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
src/OpenFOAM/interpolations/interpolationTable/tableReaders/openFoam/openFoamTableReader.C
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
src/OpenFOAM/interpolations/interpolationTable/tableReaders/openFoam/openFoamTableReader.H
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::
t
ableReader
Foam::
openFoamT
ableReader
Description
Reads an interpolation table from a file - OpenFOAM-format
...
...
@@ -32,7 +32,7 @@ SourceFiles
\*---------------------------------------------------------------------------*/
#ifndef
openFoam
TableReader_H
#ifndef
T
TableReader_H
#define openFoamTableReader_H
#include
"tableReader.H"
...
...
@@ -43,7 +43,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class openFoamTableReader Declaration
Class openFoamTableReader Declaration
\*---------------------------------------------------------------------------*/
template
<
class
Type
>
...
...
@@ -57,6 +57,7 @@ public:
//- Runtime type information
TypeName
(
"openFoam"
);
// Constructors
//- Construct from dictionary
...
...
@@ -76,15 +77,13 @@ public:
//- Destructor
virtual
~
openFoamTableReader
();
virtual
~
openFoamTableReader
();
// Member functions
//- Read the table
virtual
void
operator
()(
const
fileName
&
,
List
<
Tuple2
<
scalar
,
Type
>
>
&
);
};
...
...
src/OpenFOAM/interpolations/interpolationTable/tableReaders/openFoam/openFoamTableReaders.C
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
src/OpenFOAM/interpolations/interpolationTable/tableReaders/tableReader.C
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
src/OpenFOAM/interpolations/interpolationTable/tableReaders/tableReader.H
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -51,7 +51,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class tableReader Declaration
Class tableReader Declaration
\*---------------------------------------------------------------------------*/
template
<
class
Type
>
...
...
@@ -91,8 +91,7 @@ public:
//- Destructor
virtual
~
tableReader
();
virtual
~
tableReader
();
// Member functions
...
...
@@ -106,7 +105,6 @@ public:
//- Write additional information
virtual
void
write
(
Ostream
&
os
)
const
;
};
...
...
src/OpenFOAM/interpolations/interpolationTable/tableReaders/tableReaders.C
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
src/OpenFOAM/interpolations/interpolationTable/tableReaders/tableReaders.H
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 20
04
-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 20
11
-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
src/sampling/sampledSet/writers/csv/csvSetWriter.C
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C)
199
1-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C)
201
1-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
src/sampling/sampledSet/writers/csv/csvSetWriter.H
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C)
199
1-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C)
201
1-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -25,6 +25,7 @@ Class
Foam::csvSetWriter
Description
Write set in csv format
SourceFiles
csvSetWriter.C
...
...
@@ -57,10 +58,12 @@ class csvSetWriter
void
writeHeader
(
const
coordSet
&
,
const
wordList
&
,
Ostream
&
)
const
;
protected:
virtual
void
writeSeparator
(
Ostream
&
)
const
;
public:
//- Runtime type information
...
...
@@ -74,8 +77,7 @@ public:
//- Destructor
virtual
~
csvSetWriter
();
virtual
~
csvSetWriter
();
// Member Functions
...
...
src/sampling/sampledSet/writers/csv/csvSetWriterRunTime.C
View file @
1c23a963
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C)
199
1-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C)
201
1-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
src/sampling/sampledSet/writers/writer.H
View file @
1c23a963
...
...
@@ -110,6 +110,7 @@ protected:
//- Writes a separator. Used by write functions.
virtual
void
writeSeparator
(
Ostream
&
os
)
const
;
public:
//- Runtime type information
...
...
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