{"title":"Leveraging Python tensor contraction packages for evaluating finite element weak forms","authors":"R. Cimrman","doi":"10.21495/51-2-73","DOIUrl":null,"url":null,"abstract":": A new implementation of finite element matrix evaluation functions in the finite element code SfePy is introduced, leveraging several Python tensor contraction packages that implement a general function for evaluating expressions given using the Einstein summation convention. An example of the new weak form implementation is shown, and then results of a numerical study are presented comparing performance of the new implementation, the original implementation, and FEniCS suite.","PeriodicalId":38731,"journal":{"name":"Gong Cheng Li Xue/Engineering Mechanics","volume":"1 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Gong Cheng Li Xue/Engineering Mechanics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21495/51-2-73","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Engineering","Score":null,"Total":0}
引用次数: 0
Abstract
: A new implementation of finite element matrix evaluation functions in the finite element code SfePy is introduced, leveraging several Python tensor contraction packages that implement a general function for evaluating expressions given using the Einstein summation convention. An example of the new weak form implementation is shown, and then results of a numerical study are presented comparing performance of the new implementation, the original implementation, and FEniCS suite.