On Thu, 25 Jan 2018, Michael Povolotskyi wrote:

can libMeshInit accept NULL as constructor arguments?

For argv?  I sure wouldn't bet on it.  We pass that to MPI, Slepc,
PETSc, VTK, GetPot...

I wouldn't even bet on all those codes supporting argc < 1 or an empty
string in argv[0]; IIRC the C/C++ standards require main to be handed
*some* program name even if it hasn't been invoked with any arguments.
---
Roy

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to