syfi team mailing list archive
-
syfi team
-
Mailing list archive
-
Message #00300
Re: Feil tenkt i syntaksen
ons, 22.08.2007 kl. 14.44 +0200, skrev Martin Sandve Alnæs:
> Den 22.08.07 skrev Martin Sandve Alnæs <martinal@xxxxxxxxx> følgende:
> > Jeg tenkte feil da jeg skrev dette. CallbackForm må støtte flere
> > integraler av forskjellige typer.
> >
> > b = CallbackForm(
> > rhs,
> > basisfunctions=[v],
> > coefficients=[f]
> > )
> >
> > må bli noe sånt som
> >
> > b = CallbackForm(
> > cell_integrals = [rhs],
> > basisfunctions = [v],
> > coefficients = [f]
> > )
> >
> > så man kan gjøre f.eks:
> >
> > bs = CallbackForm(
> > cell_integrals = [rhs],
> > exterior_facet_integrals = [rhs_boundary],
> > basisfunctions = [v],
> > coefficients = [f]
> > )
> >
> > Ka du tru?
>
> F.eks.
>
> def CallbackForm(name, basisfunctions = [], coefficients = [],
> cell_integrals = [], exterior_facet_integrals = [],
> interior_facet_integrals = [], options={})
>
>
Det ser fint ut!
Kent