add computational of integral values#5
Conversation
|
Caution Review failedPull request was closed or merged during review WalkthroughThis PR adds post-processing and validation analysis capabilities to the interpolation framework. It introduces two new ChangesPost-Processing and Analysis Capabilities
Sequence Diagram(s)sequenceDiagram
participant User
participant Interpolator
participant Parser
participant Analysis
User->>Interpolator: initialize with destination mesh file
Interpolator->>Parser: parse_mech_mesh with vol/area column indices
Parser-->>Interpolator: return dict with coordinates, volumes, areas
Interpolator->>Interpolator: store volumes/areas on instance
User->>Interpolator: interpolate_all()
User->>Interpolator: compute_scalar_integrals()
Interpolator->>Analysis: validate interpolation, sum weighted integrals
Analysis-->>Interpolator: dict of integral results by load
User->>Interpolator: compute_EM_resultants(pole)
Interpolator->>Analysis: compute source/destination force/moment resultants
Analysis-->>Interpolator: dict with resultants, errors, unmapped norm
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add functions to compute the integral values of the interpolation