Skip to content

iganets/iganet-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IGAnets-Template

GitlabSync CI Documentation

GitHub Releases GitHub Downloads GitHub Issues

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.

Setup instructions

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:

  1. Change iganet-template to iganet-myapp in the README.md file

  2. Change TEMPLATE to MyApp in the CMakeLists.txt file

  3. Implement your application(s) in the src directory.

Optional:

  1. By default, the template repository contains the following GitHub actions

    • .github/workflows/gitlab-sync.yml synchronizes 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 secrets

      repository secret content
      GITLAB_REPO_USERNAME username that enables commits to the repository
      GITLAB_REPO_TOKEN token that enables commits to the repository
      GITLAB_REPO_URL https://gitlab.com/organization/repository

      Otherwise, delete this file.

    • .github/workflows/ci-push-pr.yml a basic skeleton for multi-platform compile and testing upon push and pull request

Usage instructions

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:

  1. Create a build directory

    mkdir build
  2. Configure cmake

    cmake <path-to-iganet-template-directory>
  3. Compile the code

    make

About

IGAnets template repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published