STYLE: Consistency updates

This commit is contained in:
Andrew Heather
2016-09-23 16:52:46 +01:00
parent b9940cbbb1
commit 1fbcb686ff
109 changed files with 245 additions and 236 deletions

View File

@ -99,7 +99,7 @@ Foam::functionObjects::runTimePostPro::geometryBase::geometryBase
name_(dict.dictName()),
visible_(readBool(dict.lookup("visible"))),
renderMode_(rmGouraud),
opacity_(NULL),
opacity_(nullptr),
colours_(colours)
{
if (dict.found("renderMode"))

View File

@ -141,7 +141,7 @@ Foam::functionObjects::runTimePostPro::pathline::pathline
representationTypeNames.read(dict.lookup("representation"))
),
tubeRadius_(0.0),
lineColour_(NULL)
lineColour_(nullptr)
{
if (dict.found("lineColour"))
{

View File

@ -109,7 +109,7 @@ Foam::functionObjects::runTimePostPro::pointData::pointData
representationTypeNames.read(dict.lookup("representation"))
),
maxGlyphLength_(readScalar(dict.lookup("maxGlyphLength"))),
pointColour_(NULL)
pointColour_(nullptr)
{
if (dict.found("pointColour"))
{

View File

@ -324,10 +324,10 @@ Foam::functionObjects::runTimePostPro::scene::scene
name_(name),
colours_(),
mode_(mtStatic),
cameraPosition_(NULL),
cameraFocalPoint_(NULL),
cameraUp_(NULL),
cameraViewAngle_(NULL),
cameraPosition_(nullptr),
cameraFocalPoint_(nullptr),
cameraUp_(nullptr),
cameraViewAngle_(nullptr),
clipBox_(),
parallelProjection_(true),
nFrameTotal_(1),

View File

@ -160,8 +160,8 @@ Foam::functionObjects::runTimePostPro::surface::surface
representationTypeNames.read(dict.lookup("representation"))
),
featureEdges_(false),
surfaceColour_(NULL),
edgeColour_(NULL),
surfaceColour_(nullptr),
edgeColour_(nullptr),
surfaceActor_(),
edgeActor_(),
maxGlyphLength_(0.0)

View File

@ -47,7 +47,7 @@ Foam::functionObjects::runTimePostPro::text::text
string_(dict.lookup("string")),
position_(dict.lookup("position")),
size_(readScalar(dict.lookup("size"))),
colour_(NULL),
colour_(nullptr),
bold_(readBool(dict.lookup("bold"))),
timeStamp_(dict.lookupOrDefault<bool>("timeStamp", false))
{