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

Add multi-excitation support to driven solver #309

Draft
wants to merge 31 commits into
base: phdum/new_postpro
Choose a base branch
from

Conversation

phdum-a
Copy link

@phdum-a phdum-a commented Dec 4, 2024

  • Enable looping over different excitations in the driven solver
  • Extend config file to allow integer specification of "excitation" in LumpedPort, WavePort or SurfaceCurrent
  • Add PortExcitationHelper to manage complex excitation patterns
  • Tweak github tests: compile MFEM to throw exceptions not abort; make timeout shorter

ToDos:

  • Fix paraview conventions
  • Update docs with new config changes
  • Update changelog
  • Add regression tests with multiple exciataions

- export build commands
- Used for testing since Catch does not support testing aborts
- Add tests
- Add table wrapper for csv files for open-write-close
- Make empty cell NULL
- switch post-processing functions to small classes that store data in tables
- replace sequential row printing
- separate write during sweep step and final write more clearly
- Requires non-empty output dir
- Canonicalize and sync among processors
- Introduces palace::fs namespace to stop injecting into std
- Simplify checks since output directory always exists
- Cleaner separation between measurement (PostOperator) and printing (in solvers)
- Treat frequency as measurement to be supplied by solver
- Add caching system in PostOperator for all measurements, extending port case
- Simplify energy measurements using caching system
- Store pointer view to lumped/wave port operators in PostOperator where appropriate
- remove redunant default init
- init doubles in postop
@phdum-a
Copy link
Author

phdum-a commented Dec 4, 2024

Code lives on top of #302 — that should be merged into main first and this branch rebased.

@phdum-a phdum-a force-pushed the phdum/multi_excitation branch 2 times, most recently from 085d483 to 16067a5 Compare December 5, 2024 18:29
@phdum-a phdum-a changed the base branch from main to phdum/new_postpro December 5, 2024 18:37
@phdum-a phdum-a force-pushed the phdum/multi_excitation branch 3 times, most recently from bbfaf57 to 6692a00 Compare December 6, 2024 03:12
- Check that excitations are specified either as int or as bool but not both
- Add tests
- But PreprocessFile into header for use in testing
- Add tests
- Cleanup names
- Add excitation minimum to json schema
- Helper for data from individual ports
- Promote excitation index in default situation
- Add json serialization
- Clean up port excitation printing in driven and transient solvers
- Add multi-column PostPrinters
- Generalize paraview paths
- Allow for switching paraview files in PostOp
- Split MRI out of RomOperator; have one for each excitation
- Allow chaning the excitation index in RomOperator
@phdum-a phdum-a force-pushed the phdum/multi_excitation branch from 6692a00 to ac8cd41 Compare December 12, 2024 01:29
@phdum-a phdum-a mentioned this pull request Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant