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
18fef89f
Commit
18fef89f
authored
Jul 21, 2009
by
mattijs
Browse files
construct cloud from components
parent
4bf0ae13
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/basic/passiveParticle/passiveParticleCloud.C
View file @
18fef89f
...
...
@@ -52,6 +52,17 @@ Foam::passiveParticleCloud::passiveParticleCloud
}
Foam
::
passiveParticleCloud
::
passiveParticleCloud
(
const
polyMesh
&
mesh
,
const
word
&
cloudName
,
const
IDLList
<
passiveParticle
>&
particles
)
:
Cloud
<
passiveParticle
>
(
mesh
,
cloudName
,
particles
)
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
void
Foam
::
passiveParticleCloud
::
readFields
()
...
...
src/lagrangian/basic/passiveParticle/passiveParticleCloud.H
View file @
18fef89f
...
...
@@ -63,6 +63,9 @@ class passiveParticleCloud
public:
//- Type of parcel the cloud was instantiated for
typedef
passiveParticle
parcelType
;
// Constructors
//- Construct given mesh
...
...
@@ -72,6 +75,14 @@ public:
const
word
&
cloudName
=
"defaultCloud"
);
//- Construct from mesh, cloud name, and a list of particles
passiveParticleCloud
(
const
polyMesh
&
mesh
,
const
word
&
cloudName
,
const
IDLList
<
passiveParticle
>&
particles
);
// Member Functions
...
...
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