Method and system for generating software code using a symbolic language translator
First Claim
1. A method for creating on a computer a native operators and test code file for a finite element simulator to model fluid flow in a porous media, comprising the steps of:
- inputting into a symbolic language translator one or more equations and parameters describing the model to be created by the simulator;
generating one or more model objects from the one or more equations and parameters;
generating a symbolic representation for one or more residual and tangent matrix operators of the one or more model objects;
generating optimization rules for geometric invariant quantities of the residual and tangent matrix operators;
generating numeric core code and data structure initializing core code in a predetermined programming language from the language of the symbolic language translator;
formatting and optimizing the numeric core code using the symbolic language translator;
generating the native operators and test code file by processing the splice file through the symbolic language translator to yield the native operators and test code file.
6 Assignments
0 Petitions
Accused Products
Abstract
An improved method and system are disclosed for creating on a computer a native operators and test code file for a finite element simulator to model fluid flow in porous media. The method of the present invention includes the steps of inputting into a symbolic language translator equations and parameters describing the model to be created by the simulator and generating one or more model objects from the equations and parameters. The method of the present invention further includes the steps of generating a symbolic representation of the residual and tangent matrix operators of the model objects and generating optimization rules for any geometric invariant quantities. Numeric core code and data structure initializing core code are generated for the simulator in a high level programming language from the language of the symbolic language translator. The numeric core code is formatted and optimized. The present invention generates the native operators and test code file by processing the splice file through the symbolic language translator.
-
Citations
33 Claims
-
1. A method for creating on a computer a native operators and test code file for a finite element simulator to model fluid flow in a porous media, comprising the steps of:
-
inputting into a symbolic language translator one or more equations and parameters describing the model to be created by the simulator;
generating one or more model objects from the one or more equations and parameters;
generating a symbolic representation for one or more residual and tangent matrix operators of the one or more model objects;
generating optimization rules for geometric invariant quantities of the residual and tangent matrix operators;
generating numeric core code and data structure initializing core code in a predetermined programming language from the language of the symbolic language translator;
formatting and optimizing the numeric core code using the symbolic language translator;
generating the native operators and test code file by processing the splice file through the symbolic language translator to yield the native operators and test code file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for creating on a computer a native operators and test code file for a finite element simulator to model fluid flow in porous media, comprising:
-
means for inputting into a symbolic language translator one or more equations and parameters describing the model to be created by the simulator;
instructions for generating one or more model objects from the one or more equations and parameters;
instructions for generating a symbolic representation for one or more residual and tangent matrix operators of the one or more model objects;
instructions for generating optimization rules for geometric invariant quantities of the residual and tangent matrix operators;
instructions for generating numeric core code and data structure initializing core code in a high level programming language from the language of the symbolic language translator;
instructions for formatting-and optimizing the numeric core code using the symbolic language translator; and
instructions for generating the native operators and test code file by processing the splice file through the symbolic language translator to yield the native operators and testcode file. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
Specification