This is a long time ago and I cannot remember what I noted in particular. That said the available -f options as presented in the man page of ffc do not correspond to the default parameters in parameters.py.
Johan On Monday August 15 2011 05:18:17 Anders Logg wrote: > On Mon, May 02, 2011 at 09:49:22AM -0700, Johan Hake wrote: > > Hello! > > > > I just realized that there are a whole bunch of command line options to ffc: > > -f foo > > > > which are not exposed in the parameter dict provided by FFC. This means > > that these are not available from the python interface of DOLFIN. > > > > Is this intentional? > > Which are those? > > Command-line parameters are handled by the script ffc as follows: > > parameters = default_parameters() > > ... > > elif opt == "-f": > if len(arg.split("=")) == 2: > (key, value) = arg.split("=") > parameters[key] = value > elif len(arg.split("==")) == 1: > key = arg.split("=")[0] > parameters[arg] = True > > -- > Anders > > _______________________________________________ > Mailing list: https://launchpad.net/~ffc > Post to : ffc@lists.launchpad.net > Unsubscribe : https://launchpad.net/~ffc > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~ffc Post to : ffc@lists.launchpad.net Unsubscribe : https://launchpad.net/~ffc More help : https://help.launchpad.net/ListHelp