On Sat, Jan 05, 2008 at 09:49:12PM -0500, Gideon Simpson wrote:
> Is there an easy way to restore petsc command line argument functionality to
> dolfin based applications?
>
> -Gideon Simpson
> Department of Applied Physics and Applied Mathematics
> Columbia University
Yes:
int main(int argc, char* argv[])
{
dolfin_init(argc, argv);
...
}
dolfin_init() will send all the command-line arguments to PETSc (and
do nothing more).
We should probably change the name to just dolfin::init() instead of
dolfin::dolfin_init().
--
Anders
_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev