Skip to content
Snippets Groups Projects

Version 2.0.0

Merged Adrien Crovato requested to merge adrien into master
4 unresolved threads

Waves 2.0.0

Context

This MR removes the compatibility with python 2 and adds the capability to easily link another code to waves using CMake, as well as a feature to read results from the disk.

Changes

  • Remove all import from the future libs of python, the code is now compatible with python 3 only
  • Add a waves-config file allowing to easily find and link waves to another code using CMake
  • Add a load method to GmshImport to read results from the disk (restart/checkpoint feature)
  • Add a UnitTest class to test the classes and methods in tbox which can not be accessed directly through python
  • Rename katropton to katoptron, although this was done in !59 (merged), it was not referenced by a tag
  • Various minor cleaning and bugfixing

Comments

  • The GmshImport and GmshExport classes need to be upgraded to deal with gmsh format 4, as well as to read and write data in binary
  • The new method GmshImport::load contains a lot of repeated code, similarly to GmshExport::save, there might be a way to improve this

Tests

Passed on ubuntu20.04 (python 3.8.2), and msys2 (python 3.8.1).

Edited by Adrien Crovato

Merge request reports

Pipeline #2015 passed

Pipeline passed for 9e44b8c1 on adrien

Merged by Adrien CrovatoAdrien Crovato 4 years ago (Oct 5, 2020 7:49am UTC)

Loading

Pipeline #2018 passed

Pipeline passed for 9e44b8c1 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
34 35
35 36 ## References
36 37
37 Kim thesis
38 Liegeois Kim, [GMRES with embedded ensemble propagation for the efficient solution of parametric linear systems in uncertainty quantification of computational models with application to the thermomechanical simulation of an ITER front mirror](http://hdl.handle.net/2268/249334), University of Liège, 2020.
38 39
39 40 Adrien thesis
40 41
41 Kim Paper
  • 1 1 # -*- coding: utf-8 -*-
  • 15 */
    16
    17 #ifndef WUNITTEST_H
    18 #define WUNITTEST_H
    19
    20 #include "tbox.h"
    21 #include "wObject.h"
    22
    23 namespace tbox
    24 {
    25
    26 /**
    27 * @brief Tests for tbox
    28 * @authors Adrien Crovato
    29 */
    30 class TBOX_API UnitTest : public fwk::wSharedObject
  • As far as I am concerned it is OK.

  • Boman Romain approved this merge request

    approved this merge request

  • Adrien Crovato added 1 commit

    added 1 commit

    • 9e44b8c1 - Cleaning useless shared_ptr, missing override, virtual destructor

    Compare with previous version

  • Boman Romain approved this merge request

    approved this merge request

  • This looks good to me. Thanks!

  • Liegeois Kim approved this merge request

    approved this merge request

  • Author Maintainer

    Thanks!

  • Please register or sign in to reply
    Loading