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
ed67d5be
Commit
ed67d5be
authored
Oct 01, 2010
by
mattijs
Browse files
STYLE: renamed IOFieldField to CompactIOField to be consistent with CompactIOList.
parent
0ebecd2d
Changes
28
Hide whitespace changes
Inline
Side-by-side
applications/utilities/parallelProcessing/decomposePar/decomposePar.C
View file @
ed67d5be
...
...
@@ -402,17 +402,17 @@ int main(int argc, char *argv[])
PtrList
<
List
<
SLList
<
indexedParticle
*>*>
>
cellParticles
(
cloudDirs
.
size
());
PtrList
<
PtrList
<
labelIOField
>
>
lagrangianLabelFields
(
cloudDirs
.
size
());
PtrList
<
PtrList
<
label
IO
FieldField
>
>
lagrangianLabelFieldFields
PtrList
<
PtrList
<
labelField
CompactIO
Field
>
>
lagrangianLabelFieldFields
(
cloudDirs
.
size
()
);
PtrList
<
PtrList
<
scalarIOField
>
>
lagrangianScalarFields
(
cloudDirs
.
size
());
PtrList
<
PtrList
<
scalar
IO
FieldField
>
>
lagrangianScalarFieldFields
PtrList
<
PtrList
<
scalarField
CompactIO
Field
>
>
lagrangianScalarFieldFields
(
cloudDirs
.
size
()
);
PtrList
<
PtrList
<
vectorIOField
>
>
lagrangianVectorFields
(
cloudDirs
.
size
());
PtrList
<
PtrList
<
vector
IO
FieldField
>
>
lagrangianVectorFieldFields
PtrList
<
PtrList
<
vectorField
CompactIO
Field
>
>
lagrangianVectorFieldFields
(
cloudDirs
.
size
()
);
...
...
@@ -420,13 +420,14 @@ int main(int argc, char *argv[])
(
cloudDirs
.
size
()
);
PtrList
<
PtrList
<
sphericalTensor
IO
FieldField
>
>
PtrList
<
PtrList
<
sphericalTensorField
CompactIO
Field
>
>
lagrangianSphericalTensorFieldFields
(
cloudDirs
.
size
());
PtrList
<
PtrList
<
symmTensorIOField
>
>
lagrangianSymmTensorFields
(
cloudDirs
.
size
()
);
PtrList
<
PtrList
<
symmTensorIOFieldField
>
>
lagrangianSymmTensorFieldFields
PtrList
<
PtrList
<
symmTensorFieldCompactIOField
>
>
lagrangianSymmTensorFieldFields
(
cloudDirs
.
size
()
);
...
...
@@ -434,7 +435,7 @@ int main(int argc, char *argv[])
(
cloudDirs
.
size
()
);
PtrList
<
PtrList
<
tensor
IO
FieldField
>
>
lagrangianTensorFieldFields
PtrList
<
PtrList
<
tensorField
CompactIO
Field
>
>
lagrangianTensorFieldFields
(
cloudDirs
.
size
()
);
...
...
applications/utilities/parallelProcessing/decomposePar/lagrangianFieldDecomposer.H
View file @
ed67d5be
...
...
@@ -37,7 +37,7 @@ SourceFiles
#define lagrangianFieldDecomposer_H
#include
"Cloud.H"
#include
"
IOField
Field.H"
#include
"
CompactIO
Field.H"
#include
"indexedParticle.H"
#include
"passiveParticle.H"
...
...
@@ -111,9 +111,9 @@ public:
const
IOobjectList
&
lagrangianObjects
,
PtrList
<
PtrList
<
IOField
Field
<
Field
<
Type
>
,
Type
>
>
PtrList
<
CompactIO
Field
<
Field
<
Type
>
,
Type
>
>
>&
lagrangianFields
// PtrList<
IOField
Field<Field<Type>, Type > >& lagrangianFields
// PtrList<
CompactIO
Field<Field<Type>, Type > >& lagrangianFields
);
...
...
@@ -126,10 +126,10 @@ public:
)
const
;
template
<
class
Type
>
tmp
<
IOField
Field
<
Field
<
Type
>
,
Type
>
>
decomposeFieldField
tmp
<
CompactIO
Field
<
Field
<
Type
>
,
Type
>
>
decomposeFieldField
(
const
word
&
cloudName
,
const
IOField
Field
<
Field
<
Type
>
,
Type
>&
field
const
CompactIO
Field
<
Field
<
Type
>
,
Type
>&
field
)
const
;
...
...
applications/utilities/parallelProcessing/decomposePar/lagrangianFieldDecomposerDecomposeFields.C
View file @
ed67d5be
...
...
@@ -68,7 +68,7 @@ void Foam::lagrangianFieldDecomposer::readFieldFields
(
const
label
cloudI
,
const
IOobjectList
&
lagrangianObjects
,
PtrList
<
PtrList
<
IOField
Field
<
Field
<
Type
>
,
Type
>
>
>&
lagrangianFields
PtrList
<
PtrList
<
CompactIO
Field
<
Field
<
Type
>
,
Type
>
>
>&
lagrangianFields
)
{
// Search list of objects for lagrangian fields
...
...
@@ -79,13 +79,17 @@ void Foam::lagrangianFieldDecomposer::readFieldFields
IOobjectList
lagrangianTypeObjectsB
(
lagrangianObjects
.
lookupClass
(
IOFieldField
<
Field
<
Type
>
,
Type
>::
typeName
)
lagrangianObjects
.
lookupClass
(
CompactIOField
<
Field
<
Type
>
,
Type
>::
typeName
)
);
lagrangianFields
.
set
(
cloudI
,
new
PtrList
<
IOField
Field
<
Field
<
Type
>
,
Type
>
>
new
PtrList
<
CompactIO
Field
<
Field
<
Type
>
,
Type
>
>
(
lagrangianTypeObjectsA
.
size
()
+
lagrangianTypeObjectsB
.
size
()
)
...
...
@@ -98,7 +102,7 @@ void Foam::lagrangianFieldDecomposer::readFieldFields
lagrangianFields
[
cloudI
].
set
(
lagrangianFieldi
++
,
new
IOField
Field
<
Field
<
Type
>
,
Type
>
(
*
iter
())
new
CompactIO
Field
<
Field
<
Type
>
,
Type
>
(
*
iter
())
);
}
...
...
@@ -107,7 +111,7 @@ void Foam::lagrangianFieldDecomposer::readFieldFields
lagrangianFields
[
cloudI
].
set
(
lagrangianFieldi
++
,
new
IOField
Field
<
Field
<
Type
>
,
Type
>
(
*
iter
())
new
CompactIO
Field
<
Field
<
Type
>
,
Type
>
(
*
iter
())
);
}
}
...
...
@@ -145,20 +149,20 @@ Foam::lagrangianFieldDecomposer::decomposeField
template
<
class
Type
>
Foam
::
tmp
<
Foam
::
IOField
Field
<
Foam
::
Field
<
Type
>
,
Type
>
>
Foam
::
tmp
<
Foam
::
CompactIO
Field
<
Foam
::
Field
<
Type
>
,
Type
>
>
Foam
::
lagrangianFieldDecomposer
::
decomposeFieldField
(
const
word
&
cloudName
,
const
IOField
Field
<
Field
<
Type
>
,
Type
>&
field
const
CompactIO
Field
<
Field
<
Type
>
,
Type
>&
field
)
const
{
// Create and map the internal field values
Field
<
Field
<
Type
>
>
procField
(
field
,
particleIndices_
);
// Create the field for the processor
return
tmp
<
IOField
Field
<
Field
<
Type
>
,
Type
>
>
return
tmp
<
CompactIO
Field
<
Field
<
Type
>
,
Type
>
>
(
new
IOField
Field
<
Field
<
Type
>
,
Type
>
new
CompactIO
Field
<
Field
<
Type
>
,
Type
>
(
IOobject
(
...
...
applications/utilities/preProcessing/mapFields/MapLagrangianFields.H
View file @
ed67d5be
...
...
@@ -37,7 +37,7 @@ Description
#include
"GeometricField.H"
#include
"meshToMesh.H"
#include
"IOobjectList.H"
#include
"
IOField
Field.H"
#include
"
CompactIO
Field.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -106,9 +106,9 @@ void MapLagrangianFields
// Read field (does not need mesh)
IOField
<
Field
<
Type
>
>
fieldSource
(
*
fieldIter
());
// Map - use
IOField
Field to automatically write in
// Map - use
CompactIO
Field to automatically write in
// compact form for binary format.
IOField
Field
<
Field
<
Type
>
,
Type
>
fieldTarget
CompactIO
Field
<
Field
<
Type
>
,
Type
>
fieldTarget
(
IOobject
(
...
...
@@ -135,7 +135,7 @@ void MapLagrangianFields
{
IOobjectList
fieldFields
=
objects
.
lookupClass
(
IOField
Field
<
Field
<
Type
>
,
Type
>::
typeName
);
objects
.
lookupClass
(
CompactIO
Field
<
Field
<
Type
>
,
Type
>::
typeName
);
forAllIter
(
IOobjectList
,
fieldFields
,
fieldIter
)
{
...
...
@@ -143,10 +143,10 @@ void MapLagrangianFields
<<
fieldIter
()
->
name
()
<<
endl
;
// Read field (does not need mesh)
IOField
Field
<
Field
<
Type
>
,
Type
>
fieldSource
(
*
fieldIter
());
CompactIO
Field
<
Field
<
Type
>
,
Type
>
fieldSource
(
*
fieldIter
());
// Map
IOField
Field
<
Field
<
Type
>
,
Type
>
fieldTarget
CompactIO
Field
<
Field
<
Type
>
,
Type
>
fieldTarget
(
IOobject
(
...
...
src/OpenFOAM/db/IOobjects/
IOFieldField/IOField
Field.C
→
src/OpenFOAM/db/IOobjects/
CompactIOField/CompactIO
Field.C
View file @
ed67d5be
...
...
@@ -23,13 +23,13 @@ License
\*---------------------------------------------------------------------------*/
#include
"
IOField
Field.H"
#include
"
CompactIO
Field.H"
#include
"labelList.H"
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
template
<
class
T
,
class
BaseType
>
void
Foam
::
IOField
Field
<
T
,
BaseType
>::
readFromStream
()
void
Foam
::
CompactIO
Field
<
T
,
BaseType
>::
readFromStream
()
{
Istream
&
is
=
readStream
(
word
::
null
);
...
...
@@ -47,7 +47,7 @@ void Foam::IOFieldField<T, BaseType>::readFromStream()
{
FatalIOErrorIn
(
"
IOField
Field<T, BaseType>::readFromStream()"
,
"
CompactIO
Field<T, BaseType>::readFromStream()"
,
is
)
<<
"unexpected class name "
<<
headerClassName
()
<<
" expected "
<<
typeName
<<
" or "
<<
IOField
<
T
>::
typeName
...
...
@@ -61,7 +61,7 @@ void Foam::IOFieldField<T, BaseType>::readFromStream()
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
template
<
class
T
,
class
BaseType
>
Foam
::
IOField
Field
<
T
,
BaseType
>::
IOField
Field
(
const
IOobject
&
io
)
Foam
::
CompactIO
Field
<
T
,
BaseType
>::
CompactIO
Field
(
const
IOobject
&
io
)
:
regIOobject
(
io
)
{
...
...
@@ -77,7 +77,7 @@ Foam::IOFieldField<T, BaseType>::IOFieldField(const IOobject& io)
template
<
class
T
,
class
BaseType
>
Foam
::
IOField
Field
<
T
,
BaseType
>::
IOField
Field
Foam
::
CompactIO
Field
<
T
,
BaseType
>::
Compact
IOField
(
const
IOobject
&
io
,
const
label
size
...
...
@@ -101,7 +101,7 @@ Foam::IOFieldField<T, BaseType>::IOFieldField
template
<
class
T
,
class
BaseType
>
Foam
::
IOField
Field
<
T
,
BaseType
>::
IOField
Field
Foam
::
CompactIO
Field
<
T
,
BaseType
>::
Compact
IOField
(
const
IOobject
&
io
,
const
Field
<
T
>&
list
...
...
@@ -125,7 +125,7 @@ Foam::IOFieldField<T, BaseType>::IOFieldField
template
<
class
T
,
class
BaseType
>
Foam
::
IOField
Field
<
T
,
BaseType
>::
IOField
Field
Foam
::
CompactIO
Field
<
T
,
BaseType
>::
Compact
IOField
(
const
IOobject
&
io
,
const
Xfer
<
Field
<
T
>
>&
list
...
...
@@ -149,7 +149,7 @@ Foam::IOFieldField<T, BaseType>::IOFieldField
// * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * * //
template
<
class
T
,
class
BaseType
>
Foam
::
IOField
Field
<
T
,
BaseType
>::~
IOField
Field
()
Foam
::
CompactIO
Field
<
T
,
BaseType
>::~
CompactIO
Field
()
{}
...
...
@@ -157,7 +157,7 @@ Foam::IOFieldField<T, BaseType>::~IOFieldField()
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template
<
class
T
,
class
BaseType
>
bool
Foam
::
IOField
Field
<
T
,
BaseType
>::
writeObject
bool
Foam
::
CompactIO
Field
<
T
,
BaseType
>::
writeObject
(
IOstream
::
streamFormat
fmt
,
IOstream
::
versionNumber
ver
,
...
...
@@ -186,7 +186,7 @@ bool Foam::IOFieldField<T, BaseType>::writeObject
template
<
class
T
,
class
BaseType
>
bool
Foam
::
IOField
Field
<
T
,
BaseType
>::
writeData
(
Ostream
&
os
)
const
bool
Foam
::
CompactIO
Field
<
T
,
BaseType
>::
writeData
(
Ostream
&
os
)
const
{
return
(
os
<<
*
this
).
good
();
}
...
...
@@ -195,9 +195,9 @@ bool Foam::IOFieldField<T, BaseType>::writeData(Ostream& os) const
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
template
<
class
T
,
class
BaseType
>
void
Foam
::
IOField
Field
<
T
,
BaseType
>::
operator
=
void
Foam
::
CompactIO
Field
<
T
,
BaseType
>::
operator
=
(
const
IOField
Field
<
T
,
BaseType
>&
rhs
const
CompactIO
Field
<
T
,
BaseType
>&
rhs
)
{
Field
<
T
>::
operator
=
(
rhs
);
...
...
@@ -205,7 +205,7 @@ void Foam::IOFieldField<T, BaseType>::operator=
template
<
class
T
,
class
BaseType
>
void
Foam
::
IOField
Field
<
T
,
BaseType
>::
operator
=
(
const
Field
<
T
>&
rhs
)
void
Foam
::
CompactIO
Field
<
T
,
BaseType
>::
operator
=
(
const
Field
<
T
>&
rhs
)
{
Field
<
T
>::
operator
=
(
rhs
);
}
...
...
@@ -217,7 +217,7 @@ template<class T, class BaseType>
Foam
::
Istream
&
Foam
::
operator
>>
(
Foam
::
Istream
&
is
,
Foam
::
IOField
Field
<
T
,
BaseType
>&
L
Foam
::
CompactIO
Field
<
T
,
BaseType
>&
L
)
{
// Read compact
...
...
@@ -248,7 +248,7 @@ template<class T, class BaseType>
Foam
::
Ostream
&
Foam
::
operator
<<
(
Foam
::
Ostream
&
os
,
const
Foam
::
IOField
Field
<
T
,
BaseType
>&
L
const
Foam
::
CompactIO
Field
<
T
,
BaseType
>&
L
)
{
// Keep ascii writing same.
...
...
src/OpenFOAM/db/IOobjects/
IOFieldField/IOField
Field.H
→
src/OpenFOAM/db/IOobjects/
CompactIOField/CompactIO
Field.H
View file @
ed67d5be
...
...
@@ -22,18 +22,22 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::IOField
Field
Foam::
Compact
IOField
Description
A Field of objects of type \<T\> with automated input and output.
A Field of objects of type \<T\> with automated input and output using
a compact storage. Behaves like IOField except when binary output in
case it writes a CompactListList.
Useful for fields of small subfields e.g. in lagrangian
SourceFiles
IOField
Field.C
CompactIO
Field.C
\*---------------------------------------------------------------------------*/
#ifndef
IOField
Field_H
#define
IOField
Field_H
#ifndef
CompactIO
Field_H
#define
CompactIO
Field_H
#include
"IOField.H"
#include
"regIOobject.H"
...
...
@@ -47,25 +51,25 @@ class Istream;
class
Ostream
;
// Forward declaration of friend functions and operators
template
<
class
T
,
class
BaseType
>
class
IOField
Field
;
template
<
class
T
,
class
BaseType
>
class
CompactIO
Field
;
template
<
class
T
,
class
BaseType
>
Istream
&
operator
>>
(
Istream
&
,
IOField
Field
<
T
,
BaseType
>&
CompactIO
Field
<
T
,
BaseType
>&
);
template
<
class
T
,
class
BaseType
>
Ostream
&
operator
<<
(
Ostream
&
,
const
IOField
Field
<
T
,
BaseType
>&
const
CompactIO
Field
<
T
,
BaseType
>&
);
/*---------------------------------------------------------------------------*\
Class
IOField
Field Declaration
Class
CompactIO
Field Declaration
\*---------------------------------------------------------------------------*/
template
<
class
T
,
class
BaseType
>
class
IOField
Field
class
Compact
IOField
:
public
regIOobject
,
public
Field
<
T
>
...
...
@@ -84,21 +88,21 @@ public:
// Constructors
//- Construct from IOobject
IOField
Field
(
const
IOobject
&
);
CompactIO
Field
(
const
IOobject
&
);
//- Construct from IOobject and size
of IOFieldField
IOField
Field
(
const
IOobject
&
,
const
label
);
//- Construct from IOobject and size
CompactIO
Field
(
const
IOobject
&
,
const
label
);
//- Construct from IOobject and a Field
IOField
Field
(
const
IOobject
&
,
const
Field
<
T
>&
);
CompactIO
Field
(
const
IOobject
&
,
const
Field
<
T
>&
);
//- Construct by transferring the Field contents
IOField
Field
(
const
IOobject
&
,
const
Xfer
<
Field
<
T
>
>&
);
CompactIO
Field
(
const
IOobject
&
,
const
Xfer
<
Field
<
T
>
>&
);
// Destructor
virtual
~
IOField
Field
();
virtual
~
CompactIO
Field
();
// Member functions
...
...
@@ -115,7 +119,7 @@ public:
// Member operators
void
operator
=
(
const
IOField
Field
<
T
,
BaseType
>&
);
void
operator
=
(
const
CompactIO
Field
<
T
,
BaseType
>&
);
void
operator
=
(
const
Field
<
T
>&
);
...
...
@@ -126,14 +130,14 @@ public:
friend
Istream
&
operator
>>
<
T
,
BaseType
>
(
Istream
&
,
IOField
Field
<
T
,
BaseType
>&
CompactIO
Field
<
T
,
BaseType
>&
);
// Write Field to Ostream.
friend
Ostream
&
operator
<<
<
T
,
BaseType
>
(
Ostream
&
,
const
IOField
Field
<
T
,
BaseType
>&
const
CompactIO
Field
<
T
,
BaseType
>&
);
};
...
...
@@ -145,7 +149,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository
# include "
IOField
Field.C"
# include "
CompactIO
Field.C"
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/OpenFOAM/fields/Fields/diagTensorField/diagTensorFieldIOField.C
View file @
ed67d5be
...
...
@@ -41,8 +41,8 @@ namespace Foam
defineTemplateTypeNameAndDebugWithName
(
diagTensor
IO
FieldField
,
"diagTensorCompactField
Field
"
,
diagTensorField
CompactIO
Field
,
"diagTensor
Field
CompactField"
,
0
);
}
...
...
src/OpenFOAM/fields/Fields/diagTensorField/diagTensorFieldIOField.H
View file @
ed67d5be
...
...
@@ -33,15 +33,15 @@ Description
#define diagTensorFieldIOField_H
#include
"diagTensorField.H"
#include
"IOField.H"
#include
"IOFieldField.H"
#include
"CompactIOField.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
Foam
{
typedef
IOField
<
diagTensorField
>
diagTensorFieldIOField
;
typedef
IOFieldField
<
diagTensorField
,
diagTensor
>
diagTensorIOFieldField
;
typedef
CompactIOField
<
diagTensorField
,
diagTensor
>
diagTensorFieldCompactIOField
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/OpenFOAM/fields/Fields/labelField/labelFieldIOField.C
View file @
ed67d5be
...
...
@@ -41,8 +41,8 @@ namespace Foam
defineTemplateTypeNameAndDebugWithName
(
label
IO
FieldField
,
"labelCompactField
Field
"
,
labelField
CompactIO
Field
,
"label
Field
CompactField"
,
0
);
}
...
...
src/OpenFOAM/fields/Fields/labelField/labelFieldIOField.H
View file @
ed67d5be
...
...
@@ -34,14 +34,14 @@ Description
#include
"labelField.H"
#include
"IOField.H"
#include
"
IOField
Field.H"
#include
"
CompactIO
Field.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
Foam
{
typedef
IOField
<
labelField
>
labelFieldIOField
;
typedef
IOField
Field
<
labelField
,
label
>
label
IO
FieldField
;
typedef
CompactIO
Field
<
labelField
,
label
>
labelField
CompactIO
Field
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/OpenFOAM/fields/Fields/scalarField/scalarFieldIOField.C
View file @
ed67d5be
...
...
@@ -41,8 +41,8 @@ namespace Foam
defineTemplateTypeNameAndDebugWithName
(
scalar
IO
FieldField
,
"scalarCompactField
Field
"
,
scalarField
CompactIO
Field
,
"scalar
Field
CompactField"
,
0
);
}
...
...
src/OpenFOAM/fields/Fields/scalarField/scalarFieldIOField.H
View file @
ed67d5be
...
...
@@ -33,15 +33,14 @@ Description
#define scalarFieldIOField_H
#include
"scalarField.H"
#include
"IOField.H"
#include
"IOFieldField.H"
#include
"CompactIOField.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
Foam
{
typedef
IOField
<
scalarField
>
scalarFieldIOField
;
typedef
IOField
Field
<
scalarField
,
scalar
>
scalar
IO
FieldField
;
typedef
CompactIO
Field
<
scalarField
,
scalar
>
scalarField
CompactIO
Field
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/OpenFOAM/fields/Fields/sphericalTensorField/sphericalTensorFieldIOField.C
View file @
ed67d5be
...
...
@@ -41,8 +41,8 @@ namespace Foam
defineTemplateTypeNameAndDebugWithName
(
sphericalTensor
IO
FieldField
,
"sphericalTensorCompactField
Field
"
,
sphericalTensorField
CompactIO
Field
,
"sphericalTensor
Field
CompactField"
,
0
);
}
...
...
src/OpenFOAM/fields/Fields/sphericalTensorField/sphericalTensorFieldIOField.H
View file @
ed67d5be
...
...
@@ -33,8 +33,7 @@ Description
#define sphericalTensorFieldIOField_H
#include
"sphericalTensorField.H"
#include
"IOField.H"
#include
"IOFieldField.H"
#include
"CompactIOField.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -42,8 +41,8 @@ namespace Foam
{
typedef
IOField
<
sphericalTensorField
>
sphericalTensorFieldIOField
;
typedef
IOField
Field
<
sphericalTensorField
,
sphericalTensor
>
sphericalTensor
IO
FieldField
;
typedef
CompactIO
Field
<
sphericalTensorField
,
sphericalTensor
>
sphericalTensorField
CompactIO
Field
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/OpenFOAM/fields/Fields/symmTensorField/symmTensorFieldIOField.C
View file @
ed67d5be
...
...
@@ -41,8 +41,8 @@ namespace Foam
defineTemplateTypeNameAndDebugWithName
(
symmTensor
IO
FieldField
,
"symmTensorCompactField
Field
"
,
symmTensorField
CompactIO
Field
,
"symmTensor
Field
CompactField"
,
0
);
}
...
...
src/OpenFOAM/fields/Fields/symmTensorField/symmTensorFieldIOField.H
View file @
ed67d5be
...
...
@@ -33,15 +33,15 @@ Description
#define symmTensorFieldIOField_H
#include
"symmTensorField.H"
#include
"IOField.H"
#include
"IOFieldField.H"
#include
"CompactIOField.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
Foam
{
typedef
IOField
<
symmTensorField
>
symmTensorFieldIOField
;
typedef
IOFieldField
<
symmTensorField
,
symmTensor
>
symmTensorIOFieldField
;
typedef
CompactIOField
<
symmTensorField
,
symmTensor
>
symmTensorFieldCompactIOField
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/OpenFOAM/fields/Fields/tensorField/tensorFieldIOField.C
View file @
ed67d5be
...
...
@@ -41,8 +41,8 @@ namespace Foam
defineTemplateTypeNameAndDebugWithName