This repository serves as a template for standalone applications for IGAnets, a novel approach to combine the concept of deep operator learning with the mathematical framework of isogeometric analysis.
Don't commit to this repository as it serves as a generic template repository. Instead, clone it for your application, say, https://github.com/iganets/iganet-myapp and adapt it as follows:
-
Change
iganet-templatetoiganet-myappin theREADME.mdfile -
Change
TEMPLATEtoMyAppin theCMakeLists.txtfile -
Implement your application(s) in the
srcdirectory.
Optional:
-
By default, the template repository contains the following GitHub actions
-
.github/workflows/gitlab-sync.ymlsynchronizes commits between GitHub and GitLab. If you want this synchronization to work you need to create a repository at https://gitlab.com and set the following repository secretsrepository secret content GITLAB_REPO_USERNAMEusername that enables commits to the repository GITLAB_REPO_TOKENtoken that enables commits to the repository GITLAB_REPO_URLhttps://gitlab.com/organization/repository Otherwise, delete this file.
-
.github/workflows/ci-push-pr.ymla basic skeleton for multi-platform compile and testing upon push and pull request
-
The CMakeLists.txt file of this template repository is set up in a way that it downloads the latest master version of iganets as dependency and imports the target iganet::core. To configure and build a standalone executable for each source file in the src directory follow the instructions below:
-
Create a
builddirectorymkdir build
-
Configure
cmakecmake <path-to-iganet-template-directory>
-
Compile the code
make