scrimp.utils

This folder contains useful functions that are beyond the port-Hamiltonian framework used in SCRIMP.

Config

  • file: utils/config.py

  • authors: Ghislain Haine

  • date: 23 jun. 2023

  • brief: functions to configure SCRIMP

scrimp.utils.config.set_paths(path=None)

Set the default path of scrimp

Args:

path (str): the path

scrimp.utils.config.set_verbose(verbose=1)

Set the verbosity level of scrimp (0: quiet, 1: info, 2: debug)

In quiet mode, debug are saved in a log file.

Args:

verbose (int): the level of verbosity, defaults to 1

scrimp.utils.config.set_verbose_gf(verbose)

Set the verbosity level of getfem

Args:

verbose (int): the level of verbosity

Linear algebra

Mesh