CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Check existence of member (or check class)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 26, 2017, 13:41
Default Check existence of member (or check class)
  #1
Member
 
Joaquín Neira
Join Date: Oct 2017
Posts: 38
Rep Power: 9
cojua8 is on a distinguished road
Hello,

I need to create an IF statement, which checks what is the class of a determined variable.
If this can't be done, I'd like to create an IF statement that checks if a class member exists.
something like this:
Code:
if (variable.member() exists)
{}
cojua8 is offline   Reply With Quote

Reply

Tags
checking, if statement


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check the existence of a file jht529100 FLUENT 1 October 13, 2011 04:39
Error in recompiling the solver m.maneshi OpenFOAM Running, Solving & CFD 0 August 28, 2010 15:14
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21


All times are GMT -4. The time now is 19:08.