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
44d5e5cd
Commit
44d5e5cd
authored
Aug 06, 2008
by
Mattijs Janssens
Browse files
simplification of file handling
parent
95bb8d65
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C
View file @
44d5e5cd
...
...
@@ -206,10 +206,7 @@ void Foam::fieldToCell::applyToSet
}
else
if
(
fieldObject
.
headerClassName
()
==
"volScalarField"
)
{
IFstream
str
(
mesh
().
time
().
path
()
/
mesh
().
time
().
timeName
()
/
fieldName_
);
IFstream
str
(
fieldObject
.
filePath
());
// Read dictionary
dictionary
fieldDict
(
str
);
...
...
@@ -220,10 +217,7 @@ void Foam::fieldToCell::applyToSet
}
else
if
(
fieldObject
.
headerClassName
()
==
"volVectorField"
)
{
IFstream
str
(
mesh
().
time
().
path
()
/
mesh
().
time
().
timeName
()
/
fieldName_
);
IFstream
str
(
fieldObject
.
filePath
());
// Read dictionary
dictionary
fieldDict
(
str
);
...
...
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