Skip to content
GitLab
Menu
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
82114f67
Commit
82114f67
authored
Nov 24, 2010
by
Andrew Heather
Browse files
Revert "ENH: updates to Xfer after commit
49331bf9
"
This reverts commit
4530a473
.
parent
fc3dd68a
Changes
4
Hide whitespace changes
Inline
Side-by-side
applications/utilities/postProcessing/lagrangian/steadyParticleTracks/steadyParticleTracksTemplates.C
View file @
82114f67
...
...
@@ -83,7 +83,7 @@ PtrList<List<Type> > readFields
{
Info
<<
" reading field "
<<
obj
.
name
()
<<
endl
;
IOField
<
Type
>
newField
(
obj
);
values
.
set
(
fieldI
++
,
new
List
<
Type
>
(
newField
.
xfer
List
()));
values
.
set
(
fieldI
++
,
new
List
<
Type
>
(
newField
.
xfer
()));
break
;
}
}
...
...
src/OpenFOAM/fields/Fields/Field/Field.C
View file @
82114f67
...
...
@@ -164,7 +164,7 @@ Field<Type>::Field(const Xfer<List<Type> >& f)
template
<
class
Type
>
Field
<
Type
>::
Field
(
const
Xfer
<
Field
<
Type
>
>&
f
)
:
List
<
Type
>
(
f
().
xferList
()
)
List
<
Type
>
(
f
)
{}
...
...
@@ -585,13 +585,6 @@ Xfer<Field<Type> > Field<Type>::xfer()
}
template
<
class
Type
>
Xfer
<
List
<
Type
>
>
Field
<
Type
>::
xferList
()
{
return
List
<
Type
>::
xfer
();
}
template
<
class
Type
>
void
Field
<
Type
>::
writeEntry
(
const
word
&
keyword
,
Ostream
&
os
)
const
{
...
...
src/OpenFOAM/fields/Fields/Field/Field.H
View file @
82114f67
...
...
@@ -305,9 +305,6 @@ public:
//- Transfer contents to the Xfer container
Xfer
<
Field
<
Type
>
>
xfer
();
//- Transfer contents to a List Xfer container
Xfer
<
List
<
Type
>
>
xferList
();
//- Write the field as a dictionary entry
void
writeEntry
(
const
word
&
keyword
,
Ostream
&
os
)
const
;
...
...
src/fileFormats/starcd/STARCDCore.C
View file @
82114f67
...
...
@@ -117,7 +117,7 @@ bool Foam::fileFormats::STARCDCore::readPoints
// reuse memory if possible
DynamicList
<
point
>
dynPoints
(
points
.
xfer
List
());
DynamicList
<
point
>
dynPoints
(
points
.
xfer
());
DynamicList
<
label
>
dynPointId
(
ids
.
xfer
());
// STAR-CD index of points
dynPoints
.
clear
();
...
...
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