AN OBJECT-ORIENTED CLASS DESIGN FOR THE GENERALIZED FINITE ELEMENT METHOD PROGRAMMING
Keywords:
OBJECT-ORIENTED PROGRAMMING, GENERALIZED FINITE ELEMENT ME- THOD, PYTHON PROGRAMMING LANGUAGEAbstract
THE GENERALIZED FINITE ELEMENT METHOD (GFEM) IS A NUMERICAL METHOD BASED ON THE FINITE ELEMENT METHOD (FEM), PRESENTING AS ITS MAIN FEATURE THE POSSIBILITY OF IMPROVING THE SOLUTION BY MEANS OF LOCAL ENRICHMENT FUNCTIONS. IN SPITE OF ITS ADVANTAGES, THEMETHOD DEMANDS A COMPLEX DATA STRUCTURE, WHICH CAN BE ESPECIALLY BENEFITED BY THE OBJECT-ORIENTED PROGRAMMING (OOP). EVEN THOUGH THE OOP FOR THE TRADITIONAL FEM HAS BEEN EXTENSIVELY DESCRIBED IN THE TECHNICAL LITERATURE, SPECIFIC DESIGN ISSUES RELATEDTO THE GFEM ARE YET LITTLE DISCUSSED AND NOT CLEARLY DEFINED. IN THE PRESENT ARTICLE IT IS DESCRIBED AN OBJECT-ORIENTED (OO) CLASS DESIGN FOR THE GFEM, AIMING TO ACHIEVE A COMPUTATIONAL CODE THAT PRESENTS A FLEXIBLE CLASS STRUCTURE, CIRCUMVENTING THE DIFFICULTIES ASSOCIATED TO THE METHOD CHARACTERISTICS. THE PROPOSED DESIGNIS EVALUATED BY MEANS OF SOME NUMERICAL EXAMPLES, COMPUTED USING A CODE IMPLEMENTED IN PYTHON PROGRAMMING LANGUAGE. ONE CONCLUDES THAT THE OO DESIGN FULFILLS THE AIMED PURPOSE.Downloads
Published
2013-04-21
Issue
Section
Articles
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License [CC BY] that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).