thegooglecodearchive / sfepy

Automatically exported from code.google.com/p/sfepy
0 stars 0 forks source link

check shape of material parameters passed to terms #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not doing this can lead to no error but a bad tangent matrix.

Original issue reported on code.google.com by robert.c...@gmail.com on 11 Dec 2008 at 4:49

GoogleCodeExporter commented 9 years ago
Term classes should declare the required shape of material parameters, for 
example:

ATerm(Term):
    arg_shapes : {'material' : ('sym', 1)}

with keywords 'dim', 'sym' replaced at run-time by proper numbers.

Original comment by robert.c...@gmail.com on 18 Aug 2009 at 11:56

GoogleCodeExporter commented 9 years ago
One can now implement Term.check_shapes() for each term, and check the shapes 
of all arguments directly, without any "parsing" etc.

Original comment by robert.c...@gmail.com on 9 Aug 2011 at 1:55

GoogleCodeExporter commented 9 years ago
Migrated to http://github.com/sfepy/sfepy/issues/74

Original comment by robert.c...@gmail.com on 30 Jan 2012 at 10:25