Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced logging #104

Merged
merged 12 commits into from
Jun 7, 2024
Merged

Enhanced logging #104

merged 12 commits into from
Jun 7, 2024

Conversation

kaipartmann
Copy link
Owner

Simulation output now looks like this:


           _____         _     _                             _
          | ___ \       (_)   | |                           (_)
          | |_/ /__ _ __ _  __| |_   _ _ __   __ _ _ __ ___  _  ___ ___
          |  __/ _ \ '__| |/ _` | | | | '_ \ / _` | '_ ` _ \| |/ __/ __|
          | | |  __/ |  | | (_| | |_| | | | | (_| | | | | | | | (__\__ \
          \_|  \___|_|  |_|\__,_|\__, |_| |_|\__,_|_| |_| |_|_|\___|___/
                                  __/ |
                                 |___/   Copyright (c) 2024 Kai Partmann

MULTITHREADING SIMULATION WITH 6 THREADS
BODY
  POINT CLOUD
    number of points ....................................................... 21600
    min, max values x-direction ............................ -0.4916667, 0.4916667
    min, max values y-direction ............................ -0.4916667, 0.4916667
    min, max values z-direction .......................... -0.04166667, 0.04166667
  POINT SETS
    number of points in set `set_top` ........................................ 360
    number of points in set `set_bottom` ..................................... 360
    number of points in set `set_a` ......................................... 1080
    number of points in set `set_b` ......................................... 1080
  CONDITIONS
    number of BC's ............................................................. 2
  MATERIAL
    material type ....................................... BBMaterial{NoCorrection}
    horizon .............................................................. 0.05025
    density ................................................................ 8e-06
    Young's modulus ....................................................... 210000
    Poisson's ratio ......................................................... 0.25
    shear modulus .......................................................... 84000
    bulk modulus .......................................................... 140000
DATA HANDLER CREATION COMPLETED ✓
BOND SYSTEM
  number of bonds ........................................................ 2048896
VELOCITY VERLET TIME SOLVER
  number of time steps ...................................................... 2000
  time step size .................................................... 6.298846e-08
  time step safety factor .................................................... 0.7
  simulation time ................................................... 0.0001259769
TIME INTEGRATION LOOP 100%|████████████████████████████████████████| Time: 0:00:04

@kaipartmann kaipartmann added the enhancement New feature or request label Jun 6, 2024
@kaipartmann kaipartmann added this to the v0.3.0 milestone Jun 6, 2024
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

Attention: Patch coverage is 96.42857% with 6 lines in your changes missing coverage. Please review.

Project coverage is 89.34%. Comparing base (a0e9181) to head (92aeca6).

Files Patch % Lines
src/discretization/body.jl 87.87% 4 Missing ⚠️
src/core/time_solvers.jl 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
+ Coverage   88.30%   89.34%   +1.03%     
==========================================
  Files          41       41              
  Lines        2412     2572     +160     
==========================================
+ Hits         2130     2298     +168     
+ Misses        282      274       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kaipartmann kaipartmann linked an issue Jun 7, 2024 that may be closed by this pull request
@kaipartmann kaipartmann marked this pull request as ready for review June 7, 2024 09:44
@kaipartmann kaipartmann merged commit 04d5eaf into main Jun 7, 2024
8 checks passed
@kaipartmann kaipartmann deleted the logging branch June 7, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logging during simulations
1 participant