Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
328769b2
Commit
328769b2
authored
Sep 07, 2017
by
Andrew Heather
Browse files
STYLE: Code clean-up
parent
41e4d68f
Changes
19
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/primitives/functions/Function1/CSV/CSV.C
View file @
328769b2
...
...
@@ -232,15 +232,15 @@ Foam::Function1Types::CSV<Type>::CSV
template
<
class
Type
>
Foam
::
Function1Types
::
CSV
<
Type
>::
CSV
(
const
CSV
<
Type
>&
tbl
)
Foam
::
Function1Types
::
CSV
<
Type
>::
CSV
(
const
CSV
<
Type
>&
csv
)
:
TableBase
<
Type
>
(
tbl
),
nHeaderLine_
(
tbl
.
nHeaderLine_
),
refColumn_
(
tbl
.
refColumn_
),
componentColumns_
(
tbl
.
componentColumns_
),
separator_
(
tbl
.
separator_
),
mergeSeparators_
(
tbl
.
mergeSeparators_
),
fName_
(
tbl
.
fName_
)
TableBase
<
Type
>
(
csv
),
nHeaderLine_
(
csv
.
nHeaderLine_
),
refColumn_
(
csv
.
refColumn_
),
componentColumns_
(
csv
.
componentColumns_
),
separator_
(
csv
.
separator_
),
mergeSeparators_
(
csv
.
mergeSeparators_
),
fName_
(
csv
.
fName_
)
{}
...
...
src/OpenFOAM/primitives/functions/Function1/CSV/CSV.H
View file @
328769b2
...
...
@@ -105,7 +105,7 @@ class CSV
Type
readValue
(
const
List
<
string
>&
);
//- Disallow default bitwise assignment
void
operator
=
(
const
CSV
<
Type
>&
);
void
operator
=
(
const
CSV
<
Type
>&
)
=
delete
;
public:
...
...
@@ -125,7 +125,7 @@ public:
);
//- Copy constructor
CSV
(
const
CSV
<
Type
>&
tbl
);
explicit
CSV
(
const
CSV
<
Type
>&
csv
);
//- Construct and return a clone
virtual
tmp
<
Function1
<
Type
>>
clone
()
const
...
...
src/OpenFOAM/primitives/functions/Function1/Constant/Constant.H
View file @
328769b2
...
...
@@ -67,7 +67,7 @@ class Constant
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
Constant
<
Type
>&
);
void
operator
=
(
const
Constant
<
Type
>&
)
=
delete
;
public:
...
...
@@ -90,7 +90,7 @@ public:
Constant
(
const
word
&
entryName
,
Istream
&
is
);
//- Copy constructor
Constant
(
const
Constant
<
Type
>&
cnst
);
explicit
Constant
(
const
Constant
<
Type
>&
cnst
);
//- Construct and return a clone
virtual
tmp
<
Function1
<
Type
>>
clone
()
const
...
...
src/OpenFOAM/primitives/functions/Function1/Function1/Function1.H
View file @
328769b2
...
...
@@ -66,7 +66,7 @@ class Function1
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
Function1
<
Type
>&
);
void
operator
=
(
const
Function1
<
Type
>&
)
=
delete
;
protected:
...
...
@@ -101,10 +101,10 @@ public:
// Constructors
//- Construct from entry name
Function1
(
const
word
&
entryName
);
explicit
Function1
(
const
word
&
entryName
);
//- Copy constructor
Function1
(
const
Function1
<
Type
>&
f1
);
explicit
Function1
(
const
Function1
<
Type
>&
f1
);
//- Construct and return a clone
virtual
tmp
<
Function1
<
Type
>>
clone
()
const
=
0
;
...
...
@@ -255,7 +255,6 @@ public:
#ifdef NoRepository
#include "Function1.C"
#include "Constant.H"
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/OpenFOAM/primitives/functions/Function1/One/OneConstant.H
View file @
328769b2
...
...
@@ -61,7 +61,7 @@ class OneConstant
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
OneConstant
<
Type
>&
);
void
operator
=
(
const
OneConstant
<
Type
>&
)
=
delete
;
public:
...
...
@@ -73,7 +73,7 @@ public:
// Constructors
//- Construct from entry name
OneConstant
(
const
word
&
entryName
);
explicit
OneConstant
(
const
word
&
entryName
);
//- Construct from entry name and dictionary
OneConstant
(
const
word
&
entryName
,
const
dictionary
&
dict
);
...
...
src/OpenFOAM/primitives/functions/Function1/PolynomialEntry/PolynomialEntry.H
View file @
328769b2
...
...
@@ -77,7 +77,7 @@ class Polynomial
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
Polynomial
<
Type
>&
);
void
operator
=
(
const
Polynomial
<
Type
>&
)
=
delete
;
public:
...
...
@@ -98,7 +98,7 @@ public:
);
//- Copy constructor
Polynomial
(
const
Polynomial
&
poly
);
explicit
Polynomial
(
const
Polynomial
&
poly
);
//- Destructor
...
...
src/OpenFOAM/primitives/functions/Function1/Scale/Scale.H
View file @
328769b2
...
...
@@ -105,7 +105,7 @@ class Scale
void
read
(
const
dictionary
&
coeffs
);
//- Disallow default bitwise assignment
void
operator
=
(
const
Scale
<
Type
>&
);
void
operator
=
(
const
Scale
<
Type
>&
)
=
delete
;
public:
...
...
@@ -124,7 +124,7 @@ public:
);
//- Copy constructor
Scale
(
const
Scale
<
Type
>&
se
);
explicit
Scale
(
const
Scale
<
Type
>&
se
);
//- Destructor
...
...
src/OpenFOAM/primitives/functions/Function1/Sine/Sine.H
View file @
328769b2
...
...
@@ -117,7 +117,7 @@ class Sine
void
read
(
const
dictionary
&
coeffs
);
//- Disallow default bitwise assignment
void
operator
=
(
const
Sine
<
Type
>&
);
void
operator
=
(
const
Sine
<
Type
>&
)
=
delete
;
public:
...
...
@@ -136,7 +136,7 @@ public:
);
//- Copy constructor
Sine
(
const
Sine
<
Type
>&
se
);
explicit
Sine
(
const
Sine
<
Type
>&
se
);
//- Destructor
...
...
src/OpenFOAM/primitives/functions/Function1/Square/Square.H
View file @
328769b2
...
...
@@ -124,7 +124,7 @@ class Square
void
read
(
const
dictionary
&
coeffs
);
//- Disallow default bitwise assignment
void
operator
=
(
const
Square
<
Type
>&
);
void
operator
=
(
const
Square
<
Type
>&
)
=
delete
;
public:
...
...
@@ -143,7 +143,7 @@ public:
);
//- Copy constructor
Square
(
const
Square
<
Type
>&
se
);
explicit
Square
(
const
Square
<
Type
>&
se
);
//- Destructor
...
...
src/OpenFOAM/primitives/functions/Function1/Table/Table.H
View file @
328769b2
...
...
@@ -69,7 +69,7 @@ class Table
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
Table
<
Type
>&
);
void
operator
=
(
const
Table
<
Type
>&
)
=
delete
;
public:
...
...
@@ -84,7 +84,7 @@ public:
Table
(
const
word
&
entryName
,
const
dictionary
&
dict
);
//- Copy constructor
Table
(
const
Table
<
Type
>&
tbl
);
explicit
Table
(
const
Table
<
Type
>&
tbl
);
//- Destructor
...
...
src/OpenFOAM/primitives/functions/Function1/Table/TableBase.H
View file @
328769b2
...
...
@@ -106,7 +106,7 @@ public:
TableBase
(
const
word
&
name
,
const
dictionary
&
dict
);
//- Copy constructor. Note: steals interpolator, tableSamples
TableBase
(
const
TableBase
<
Type
>&
tbl
);
explicit
TableBase
(
const
TableBase
<
Type
>&
tbl
);
//- Destructor
...
...
src/OpenFOAM/primitives/functions/Function1/TableFile/TableFile.H
View file @
328769b2
...
...
@@ -84,7 +84,7 @@ class TableFile
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
TableFile
<
Type
>&
);
void
operator
=
(
const
TableFile
<
Type
>&
)
=
delete
;
public:
...
...
@@ -99,7 +99,7 @@ public:
TableFile
(
const
word
&
entryName
,
const
dictionary
&
dict
);
//- Copy constructor
TableFile
(
const
TableFile
<
Type
>&
tbl
);
explicit
TableFile
(
const
TableFile
<
Type
>&
tbl
);
//- Destructor
...
...
src/OpenFOAM/primitives/functions/Function1/Zero/ZeroConstant.H
View file @
328769b2
...
...
@@ -61,7 +61,7 @@ class ZeroConstant
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
ZeroConstant
<
Type
>&
);
void
operator
=
(
const
ZeroConstant
<
Type
>&
)
=
delete
;
public:
...
...
src/OpenFOAM/primitives/functions/Function1/halfCosineRamp/halfCosineRamp.H
View file @
328769b2
...
...
@@ -49,7 +49,7 @@ namespace Function1Types
{
/*---------------------------------------------------------------------------*\
Class halfCosineRamp Declaration
Class halfCosineRamp Declaration
\*---------------------------------------------------------------------------*/
class
halfCosineRamp
...
...
@@ -59,7 +59,7 @@ class halfCosineRamp
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
halfCosineRamp
&
);
void
operator
=
(
const
halfCosineRamp
&
)
=
delete
;
public:
...
...
src/OpenFOAM/primitives/functions/Function1/linearRamp/linearRamp.H
View file @
328769b2
...
...
@@ -59,7 +59,7 @@ class linearRamp
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
linearRamp
&
);
void
operator
=
(
const
linearRamp
&
)
=
delete
;
public:
...
...
src/OpenFOAM/primitives/functions/Function1/quadraticRamp/quadraticRamp.H
View file @
328769b2
...
...
@@ -49,7 +49,7 @@ namespace Function1Types
{
/*---------------------------------------------------------------------------*\
Class quadraticRamp Declaration
Class quadraticRamp Declaration
\*---------------------------------------------------------------------------*/
class
quadraticRamp
...
...
@@ -59,7 +59,7 @@ class quadraticRamp
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
quadraticRamp
&
);
void
operator
=
(
const
quadraticRamp
&
)
=
delete
;
public:
...
...
src/OpenFOAM/primitives/functions/Function1/quarterCosineRamp/quarterCosineRamp.H
View file @
328769b2
...
...
@@ -49,7 +49,7 @@ namespace Function1Types
{
/*---------------------------------------------------------------------------*\
Class quarterCosineRamp Declaration
Class quarterCosineRamp Declaration
\*---------------------------------------------------------------------------*/
class
quarterCosineRamp
...
...
@@ -59,7 +59,7 @@ class quarterCosineRamp
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
quarterCosineRamp
&
);
void
operator
=
(
const
quarterCosineRamp
&
)
=
delete
;
public:
...
...
src/OpenFOAM/primitives/functions/Function1/quarterSineRamp/quarterSineRamp.H
View file @
328769b2
...
...
@@ -49,7 +49,7 @@ namespace Function1Types
{
/*---------------------------------------------------------------------------*\
Class quarterSineRamp Declaration
Class quarterSineRamp Declaration
\*---------------------------------------------------------------------------*/
class
quarterSineRamp
...
...
@@ -59,7 +59,7 @@ class quarterSineRamp
// Private Member Functions
//- Disallow default bitwise assignment
void
operator
=
(
const
quarterSineRamp
&
);
void
operator
=
(
const
quarterSineRamp
&
)
=
delete
;
public:
...
...
src/OpenFOAM/primitives/functions/Function1/ramp/ramp.H
View file @
328769b2
...
...
@@ -109,7 +109,7 @@ private:
void
read
(
const
dictionary
&
coeffs
);
//- Disallow default bitwise assignment
void
operator
=
(
const
ramp
&
);
void
operator
=
(
const
ramp
&
)
=
delete
;
public:
...
...
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