CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: blockMesh (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/)
-   -   Run type type determination (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/61831-run-type-type-determination.html)

grtabor February 22, 2007 11:01

Hi. I am fiddling with curvedE
 
Hi. I am fiddling with curvedEdgeList, which is a list of edges of different types. How can I get each object to tell me what type it is?

Gavin

mattijs February 22, 2007 16:14

- non-virtual: typeName - vir
 
- non-virtual: typeName
- virtual: const word& type()

grtabor February 22, 2007 17:39

Ah. Thanks. Will try that tomo
 
Ah. Thanks. Will try that tomorrow.

Gavin

grtabor February 23, 2007 05:56

Trying it - I'm only partially
 
Trying it - I'm only partially there. Both return word - is there any way of getting a char * out of a word?

Gavin

mattijs February 23, 2007 07:05

.begin()
 
.begin()


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