mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: various: small coding issues
This commit is contained in:
@ -1016,7 +1016,6 @@ int i;
|
|||||||
// found somewhere in the 2nd addition
|
// found somewhere in the 2nd addition
|
||||||
uint32_t stroustrup (const char * s, int len) {
|
uint32_t stroustrup (const char * s, int len) {
|
||||||
uint32_t h;
|
uint32_t h;
|
||||||
int i;
|
|
||||||
|
|
||||||
for (register int i=0; i < len; ++s, ++i)
|
for (register int i=0; i < len; ++s, ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -137,7 +137,7 @@ int main(int argc, char *argv[])
|
|||||||
Info<< " std::list constructed from Foam::List: ";
|
Info<< " std::list constructed from Foam::List: ";
|
||||||
|
|
||||||
std::list<vector>::iterator it;
|
std::list<vector>::iterator it;
|
||||||
for (it=stlList.begin(); it != stlList.end(); it++)
|
for (it=stlList.begin(); it != stlList.end(); ++it)
|
||||||
{
|
{
|
||||||
Info<< *it << " ";
|
Info<< *it << " ";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -79,7 +79,7 @@ int main(int argc, char *argv[])
|
|||||||
while (iter != iter2)
|
while (iter != iter2)
|
||||||
{
|
{
|
||||||
Info<< *iter;
|
Info<< *iter;
|
||||||
iter++;
|
++iter;
|
||||||
}
|
}
|
||||||
Info<< "<\n";
|
Info<< "<\n";
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -441,8 +441,6 @@ void pqPV3FoamReaderPanel::IncludeZonesToggled()
|
|||||||
|
|
||||||
void pqPV3FoamReaderPanel::ExtrapolatePatchesToggled()
|
void pqPV3FoamReaderPanel::ExtrapolatePatchesToggled()
|
||||||
{
|
{
|
||||||
vtkSMProperty* prop;
|
|
||||||
|
|
||||||
vtkSMIntVectorProperty::SafeDownCast
|
vtkSMIntVectorProperty::SafeDownCast
|
||||||
(
|
(
|
||||||
this->proxy()->GetProperty("UiExtrapolatePatches")
|
this->proxy()->GetProperty("UiExtrapolatePatches")
|
||||||
@ -454,8 +452,6 @@ void pqPV3FoamReaderPanel::ExtrapolatePatchesToggled()
|
|||||||
|
|
||||||
void pqPV3FoamReaderPanel::InterpolateVolFieldsToggled()
|
void pqPV3FoamReaderPanel::InterpolateVolFieldsToggled()
|
||||||
{
|
{
|
||||||
vtkSMProperty* prop;
|
|
||||||
|
|
||||||
vtkSMIntVectorProperty::SafeDownCast
|
vtkSMIntVectorProperty::SafeDownCast
|
||||||
(
|
(
|
||||||
this->proxy()->GetProperty("UiInterpolateVolFields")
|
this->proxy()->GetProperty("UiInterpolateVolFields")
|
||||||
|
|||||||
Reference in New Issue
Block a user