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
d79c91e6
Commit
d79c91e6
authored
Feb 24, 2011
by
andy
Browse files
ENH: added cloud autoMap bas method (was pure abstract)
parent
0bbd3e55
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/fields/cloud/cloud.C
View file @
d79c91e6
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -41,7 +41,7 @@ Foam::cloud::cloud(const objectRegistry& obr, const word& cloudName)
(
IOobject
(
(
cloudName
.
size
()
?
cloudName
:
defaultName
),
(
cloudName
.
size
()
?
cloudName
:
defaultName
),
obr
.
time
().
timeName
(),
prefix
,
obr
,
...
...
@@ -58,4 +58,12 @@ Foam::cloud::~cloud()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
void
Foam
::
cloud
::
autoMap
(
const
mapPolyMesh
&
)
{
notImplemented
(
"cloud::autoMap(const mapPolyMesh&)"
);
}
// ************************************************************************* //
src/OpenFOAM/fields/cloud/cloud.H
View file @
d79c91e6
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -91,7 +91,7 @@ public:
//- Remap the cells of particles corresponding to the
// mesh topology change
virtual
void
autoMap
(
const
mapPolyMesh
&
)
=
0
;
virtual
void
autoMap
(
const
mapPolyMesh
&
);
};
...
...
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