Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
00d42c51
Commit
00d42c51
authored
12 years ago
by
laurence
Browse files
Options
Downloads
Patches
Plain Diff
STYLE: Correct comments in PtrList and List
parent
7546c152
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/OpenFOAM/containers/Lists/List/List.H
+3
-3
3 additions, 3 deletions
src/OpenFOAM/containers/Lists/List/List.H
src/OpenFOAM/containers/Lists/PtrList/PtrList.H
+3
-7
3 additions, 7 deletions
src/OpenFOAM/containers/Lists/PtrList/PtrList.H
with
6 additions
and
10 deletions
src/OpenFOAM/containers/Lists/List/List.H
+
3
−
3
View file @
00d42c51
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -162,10 +162,10 @@ public:
// Edit
//-
Reset size of List.
//-
Alias for setSize(const label)
inline
void
resize
(
const
label
);
//-
Re
set
s
ize
of List and value for new elements.
//-
Alias for
set
S
ize
(const label, const T&)
inline
void
resize
(
const
label
,
const
T
&
);
//- Reset size of List.
...
...
This diff is collapsed.
Click to expand it.
src/OpenFOAM/containers/Lists/PtrList/PtrList.H
+
3
−
7
View file @
00d42c51
...
...
@@ -173,16 +173,12 @@ public:
// Edit
//- Reset size of PtrList. This can only be used to set the size
// of an empty PtrList, extend a PtrList, remove entries from
// the end of a PtrList. If the entries are non-empty they are
//- Reset size of PtrList. If extending the PtrList, new entries are
// set to NULL. If truncating the PtrList, removed entries are
// deleted.
void
setSize
(
const
label
);
//- Reset size of PtrList. This can only be used to set the size
// of an empty PtrList, extend a PtrList, remove entries from
// the end of a PtrList. If the entries are non-empty they are
// deleted.
//- Alias for setSize(const label)
inline
void
resize
(
const
label
);
//- Clear the PtrList, i.e. set size to zero deleting all the
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment