Giter Site home page Giter Site logo

core-marine-dev / fedem-solver-tests Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sap-archive/fedem-solver-tests

0.0 0.0 0.0 11.63 MB

FEDEM solver regression tests

License: Apache License 2.0

Shell 0.01% Python 0.13% C 0.03% Fortran 0.01% Assembly 76.08% F# 7.60% AGS Script 0.30% CMake 0.17% POV-Ray SDL 0.11% Fluent 15.58%

fedem-solver-tests's Introduction

REUSE status

FEDEM solver regression tests

About this project

This project contains a collection input files and response reference data that constitute the regression tests of the FEDEM Dynamics Solver code. The test execution is conducted by the CTest tool.

Requirements and Setup

This repository is consumed as a submodule by the fedem-solver repository, and does not require any setup for itself.

Contributing

This project is open to feature requests/suggestions, bug reports, etc., via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.

How to add a new regression test

Each test consists as a minimum of the following set of files:

  1. (testname).fmm This is the FEDEM model file that defines the simulation model. It is required only if the test includes export of curve data to be compared against reference data. Otherwise, it is just for reference, and in case the model needs future updates.
  2. Model.fsi (arbitrary file name) This is the solver input file containing the model to be solved. It is created by renaming fedem_solver.fsi file which is generated when the "Run!" button (or "Prepare for batch execution") is used in the FEDEM GUI.
  3. Setup.fco (arbitrary file name) This file contains the list of command-line options to be used for the FEDEM Dynamics Solver execution.
  4. exported_curves.asc (arbitrary file name) This is an ASCII file with response data that is used for verification of the computed response. It contains an arbitrary number of columns, and typically one line per time step.
  5. CMakeLists.txt This file contains the command(s) to be executed to conduct the test, provided through the cmake add_test() commands.

After creating a new sub-folder with these files, include its name in the TEST_DIRS list in the CMakeLists.txt file in the parent folder.

Security / Disclosure

If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2023 SAP SE or an SAP affiliate company and fedem-solver-tests contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

fedem-solver-tests's People

Contributors

kmoks avatar sap-ospo-bot avatar ospo-bot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.