Skip to content

Conversation

carlos-adir
Copy link
Contributor

No description provided.

add field.py file to evaluate stresses, strain and others fields
add ChargedField class, a stress and strain evaluator
add functions on integral.py to compute the winding number, which is used to define if a point is inside a curve and after used in BEM
add adaptative integrator when needs integrate polynomials functions, like area and moments of inertia
separate the abstract interface (new ICurve) from the Curve class, which is responsible only of naming and tracking
add method 'winding' to compute winding number of a curve
add class 'ConnectedGeometry' inside 'geometry.py' to store curve labels and compute winding number
remove the methods of 'label' or 'name' from independent classes and create the class 'Tracker' to be a parent that handles the instance tracking
move all abstract methods used into interface classes inside abcs.py
rename methods used in dataio.py from 'read_###' to 'load_###'
rename class ConnectedGeometry to Geometry, to keep the name short.
We suppose that Geometry is connected, even if the name don't say it
add two attributes (getter and setter) of 'forces' and 'momentums' to compute the stress and strain fields on class ChargedField
implement stress evaluation on class ChargedField when axial force or bending moments are applied
explicit divide stress from strain in `ChargedField`'s `eval` method
add docs on methods
implement method on ChargedField that allows computing the strain values from stresses already computed
@carlos-adir carlos-adir added the enhancement New feature or request label Mar 5, 2024
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

Attention: Patch coverage is 97.18670% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 92.93%. Comparing base (0155997) to head (618bf9f).
Report is 1 commits behind head on main.

Files Patch % Lines
src/compmec/section/field.py 92.10% 6 Missing ⚠️
src/compmec/section/abcs.py 95.32% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   83.78%   92.93%   +9.15%     
==========================================
  Files           6        9       +3     
  Lines         592      736     +144     
==========================================
+ Hits          496      684     +188     
+ Misses         96       52      -44     

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

@carlos-adir carlos-adir merged commit e807b38 into main Mar 5, 2024
@carlos-adir carlos-adir deleted the dev-0.4.0 branch March 5, 2024 21:34
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.

1 participant