Repository navigation
Broken-FEEC conforming projections in polar domains #576
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
Merged
Merged
Changes from all commits
Commits
Show all changes
275 commits
Select commit
Hold shift + click to select a range
3682565
it now works with analytical mapping
0e7f56e
typo
573501c
Merge branch 'devel' into polar_splines_alisa
04e9c4b
initial commit for maxwell
bd3e1d5
fixed some errors
850100a
parallelization, fixed mapping
1a722f2
fixed an error with study_L2proj
5d3477f
fix plots at final time
cc500f8
Plotting only for root process
b048929
remove use_logical_solution
1e3e31c
fix error (exporting fields before projecting), remove comments
4687a24
create grid only with root process
516124e
tests for projection
25efc2e
fix P1 for C0
b50640e
fix P1 for C0
858078c
remove prints
e7ef374
fix a bug when use_spline_mapping is False
4051e64
small changes
baf1a32
C1 projections in serial
6894d32
added P0 C1
1262f66
Parallelize C1PolarProjection_V0
4508259
parallelized C1PolarProjection_V1
bedf25d
use only one allreduce
a37ef70
tosparse and unit test for C0 P0
6c7c072
fix a bug in test
d59232f
Merge branch 'devel' into polar_splines_alisa
3baed17
C0 projection P2 and unit tests
bf2b887
some unit tests for P1
463f009
tosparse for C0 P1 and hbc for tests
bda769b
add transposed to tests
fd7b300
fix bug in dot methods
6e97568
tosparse and unit test for C1 projection P0
8865845
refactor unit tests
f429390
get global vector for sparse operators
ccc485e
Merge branch 'devel' into polar_splines_alisa
758139b
add reference matrices to test the tosparse methods
d40e423
make some tests run correctly in parallel
2bf379f
tosparse methods for C1 P1
d5f180c
fixed deadlock in P1 C1
b37c41a
small fix
beaf3c9
Merge branch 'devel' into polar_splines_alisa
yguclu 72864d6
merge polar_splines_alisa into polar_splines_alisa
ed9d75d
fix variable referenced before assignment
2a92569
small fix
4aa2591
changes in maxwell example
48b49e2
atol rtol in unit tests
4b19433
test checking entries of sparse matrices for P0
067ddf8
change allclose to isclose
054900f
test checking entries of sparse matrices for P2
099e586
test checking entries of sparse matrices for P1
f7555b4
change tosparse of C0 to distribution by row
e2a0a71
transpose for P2
3525acc
tosparse methods for C1 distributed by row
7d91955
fix failing test
7994262
revert changes in unrelated file
23525d0
remove unnecessary tests
88d82a1
Merge branch 'devel' into polar_splines_alisa
yguclu 59b84c3
added conversion to coo matrix
551323c
changed atol and rtol to constants
b75b380
whitespaces
e91cbac
added verbose flag for unit tests
84d2848
utility function for gathering arrays of variable len
80a0fbd
specify datatype for cols and rows in tosparse
bdb796e
use Gatherv in the tests
7ae3507
added parameter mpi_root to utility function
2b8cb33
multiple numpy arrays can be passed to gather_vlen_arrays
85bcec6
clean up check_regular_ring_map
4be6872
remove unnecessary flag
99d935b
remove unused variable
8a048a7
change docstring
bf7dc69
remove some comments
487eda0
remove unused variables
a7bde8d
clean up debugging functions
ac3be5e
docstring for Laplacian class
514fb11
clean up Poisson example
501a18b
changed params dict in disk
36357d0
remove coordinates property
71788a6
testing my branch of sympde
be219a6
change mapping params to Rational
6ce62d3
Merge branch 'devel' into polar_splines_alisa
923fa53
change czarny mapping params to Rational
79f70cf
changed domain in Poisson2D to sympde domain
406e708
minor cleanup
edad37c
move plotting to a separate function
2a9b82a
add refine param to plotting
b7903ae
changes in mapping for plotting
9569239
codacy is complaining
b6184cf
codacy is complaining
ba6bca6
define a function compute_errors
47e1bac
moved add_colorbar to utils
7ba6f43
separated plotting objects creation
cde57db
remove some old comments
d456677
uncomment plot_fields_along_s
70ee0b3
remove some old todos
campospinto eaadbe5
Merge branch 'polar_splines_alisa' of https://github.com/pyccel/psyda…
f41754d
remove add_colorbar from Poisson
0659eb7
create space V only when use_spline_mapping
76c0bab
added docstring to Poisson
27dbf60
remove some unused variables
81cb257
remove some unused things
ab097db
rename phi, rho -> phi_log, rho_log in Poisson2D
2ad02db
rename domain -> domain_log
68516f4
some simplifications in Maxwell
880ef94
improvements in plotting logic
d53efb6
fix empty windows
26fc230
Fixed initial solution waveTE
7eabc4b
added utility function create_tensor_spline_space
3d9e4c7
removed basic_fix variable
f6687dc
fix error in L2 errors
f5df0fc
remove unused functions
5820abe
a few small changes in Poisson
21be4da
remove unused things from Maxwell
75e0474
docstring for run_study_L2_proj
ba35ee7
changed names of discrete derham spaces
b28334d
IdentityOperator
234203b
add backend
2dffb86
correct comments
801025f
write matrix vector mul in a better way
fb37885
add comment for BC
ba2f444
Use SymPDE version 0.19.3
yguclu 70ae75b
Remove SparseCurlAsOperator and replace it with MatrixFreeLinearOperator
jowezarek 6df832c
Use forked igakit with bugfix for numpy 2.4
yguclu ce26cc7
Allow installation of numpy >= 2.4
yguclu b070189
Checkout submodules in testing workflow
yguclu 0515e99
Recursively check out submodules in testing workflows
yguclu 865b85a
Use actions/checkout@v6 because less strict
yguclu d9e27c4
Use tab character instead of whitespaces in .gitmodules
yguclu 0b33b44
Revert "Use tab character instead of whitespaces in .gitmodules"
yguclu 0ba9195
Revert "Recursively check out submodules in testing workflows"
yguclu a48dfda
Revert "Use forked igakit with bugfix for numpy 2.4"
yguclu a7c577f
Update igakit submodule to latest available commit
yguclu 9d85e4a
Sort imports using isort:
yguclu 726dac6
Format code using black:
yguclu 5ecf431
add C1PolarProjection_V2
f81325b
Apply isort and black to psydac.utilities.gather_variable_len_arrays
yguclu cff7cf2
Improve docstring of gather_vlen_arrays()
yguclu 0c0eae0
test for C1PolarProjection_V2
9b8e13a
Clean up psydac/feec/polar/examples/poisson_2d.py
yguclu 5d14200
Speed up argparse helper in feec/polar/examples/maxwell_2d.py:
yguclu 15a618b
Speed up argparse helper in feec/polar/examples/poisson_2d.py:
yguclu 5b2eb15
Reduce size of figures in psydac/feec/polar/examples/maxwell_2d.py:
yguclu 54309dc
Improve terminal output for parallel runs in psydac/feec/polar/examples
yguclu 23cf927
renamed C1 projections
99c30f9
Make sure that all figures are shown in psydac/feec/polar/examples
yguclu 9ec99c4
parent class for model
alisa-kirkinskaia 7550c50
Merge branch 'polar_splines_alisa' of https://github.com/pyccel/psyda…
alisa-kirkinskaia de8bce8
Add license header to scripts in psydac/feec/polar/examples
yguclu dc99e08
Write utility function `parallel_run_from_cli` for parallel scripts:
yguclu a1c6189
Put some TODOs in psydac/feec/polar/examples/maxwell_2d.py
yguclu e76257c
Merge branch 'polar_splines_alisa' of https://github.com/pyccel/psyda…
alisa-kirkinskaia 3c6241a
change pi
alisa-kirkinskaia 79d3708
Merge two parallel utilities modules into one
yguclu d4b2a78
Use pyccel.lambdify instead of sympy.lambdify
yguclu ae79080
class Maxwell2D
alisa-kirkinskaia 6fdc7fc
address TODO: printing only for root process
alisa-kirkinskaia f99f5e4
reduce nquads
alisa-kirkinskaia 212b005
Update comment
alisa-kirkinskaia e0df2dc
Measur/print discretization/assembly time in psydac/feec/polar/exampl…
yguclu c51b81b
put analytical solutions in 1 module
alisa-kirkinskaia aed954c
headers
alisa-kirkinskaia 67b71ed
Improve parallel output in psydac/feec/polar/examples/maxwell_2d.py
yguclu ee11de4
Improve plots in main of psydac/feec/polar/examples/analytical_soluti…
yguclu 7d7f6f9
Fix sign error in dB/dt of CircularCavitySolution
yguclu df27956
Plot coordinates grid in main of analytical_solution.py
yguclu b2d9f01
Allow using GaussianInitialConditions in main of analytical_solutions.py
yguclu 3a8cfac
Apply black formatter toanalytical_solutions.py
yguclu 17517ae
command line argument for analytical solutions, deleted waveTE
alisa-kirkinskaia c6c1a32
fix eval_field
alisa-kirkinskaia 0a959da
test for eval_field that fails
alisa-kirkinskaia b24a65b
Put back igakit subproject:
yguclu d330b0e
fix unit test
alisa-kirkinskaia ac5e398
updated changelog
alisa-kirkinskaia 855c5d1
Merge branch 'devel' into polar_splines_alisa
yguclu 1d155d5
docstrings for polar_model
alisa-kirkinskaia 3a3d2de
docstrings in utils_congapol.py
alisa-kirkinskaia 9b294ea
docstring for parallel_utils.py
alisa-kirkinskaia cbd3e74
changelog
alisa-kirkinskaia 3ff25fd
spaces
alisa-kirkinskaia f48bc10
Update psydac/feec/polar/examples/analytical_solutions.py
alisa-kirkinskaia b474cc8
Update psydac/feec/polar/examples/analytical_solutions.py
alisa-kirkinskaia 605cd21
change argument in analytical_solutions.py
alisa-kirkinskaia ffed36c
Update psydac/feec/polar/examples/analytical_solutions.py
alisa-kirkinskaia 54d3856
move Laplacian class
alisa-kirkinskaia b49ad06
docstring and remove duplicates for poisson
alisa-kirkinskaia 2796dff
improve update_plot
alisa-kirkinskaia d7a08dc
Update psydac/feec/polar/examples/polar_model_2d.py
alisa-kirkinskaia f07a851
add import
alisa-kirkinskaia f0a8707
update changelog
alisa-kirkinskaia 2670194
Apply minor suggestions from code review
yguclu 7772ad6
improve plotting
alisa-kirkinskaia 16b353e
resolve conflict
alisa-kirkinskaia 17356fe
changes in Poisson example
alisa-kirkinskaia 8e1b67d
Add feec.polar.rst documentation file
jowezarek d4e7204
Add submodules section to feec.rst documentation
jowezarek e836953
Update header formatting in feec.polar.rst
jowezarek f26e924
Generate automatic docs for `utilities.operators` and `utilities.para…
yguclu 6facf8b
Use latest versions of GitHub Actions in documentation workflow
yguclu 31b87fe
Update actions/cache from v4 to v6
yguclu b03de48
Add missing blank line
yguclu 57da0c4
removed property T from projections
alisa-kirkinskaia 96077b4
test docs
alisa-kirkinskaia fb0d8ef
add files to docs
alisa-kirkinskaia 21622bf
Update example command in psydac/feec/polar/examples/maxwell_2d.py
alisa-kirkinskaia e294d86
Update psydac/feec/polar/conga_projections.py
alisa-kirkinskaia 6db66d7
Update docstring in psydac/feec/polar/conga_projections.py
alisa-kirkinskaia 7ad5b3b
error with scipy in parallel
alisa-kirkinskaia 15ede48
attributes for docstring
alisa-kirkinskaia d93c2bd
test single tick marks
alisa-kirkinskaia e8f8019
Apply batched suggestions improving docstrings
alisa-kirkinskaia fdae786
Update psydac/feec/polar/conga_projections.py
alisa-kirkinskaia 6c53fc1
revert single tick mark
alisa-kirkinskaia 1fd3ad2
test raw string
alisa-kirkinskaia 4dfdd01
test raw string
alisa-kirkinskaia 21f1a34
test hyperlink
alisa-kirkinskaia d7dbf25
test hyperlink
alisa-kirkinskaia 488bee6
use dot_inner
alisa-kirkinskaia ff3defb
use default values in projectors
alisa-kirkinskaia 87ec954
improve docstrings
alisa-kirkinskaia a51d32d
choices for smoothness parameter
alisa-kirkinskaia 3e64c84
Use LaTeX code in docstrings of `feec.polar.conga_projections`
yguclu 7ef4919
improve docstring
alisa-kirkinskaia 00dc04e
Fix list of command modules in docs
yguclu 16a76e8
Avoid warning in docs: title underline too short in feec.rst
yguclu a0b0a3d
Update 'feec' to 'FEEC' in documentation
yguclu 3bbbf8c
Fix docstring formatting for Parameters section
yguclu 9827edb
Fix Parameter section formatting in docstring
yguclu 0e481a5
Add module docstring to `psydac.feec.polar.conga_projections`
yguclu f93adeb
Improve module docstring of `feec.polar.conga_projections`:
yguclu 168489b
Add module docstring to `feec.polar.examples.analytical_solutions`
yguclu 661e3ba
Add module docstring to `feec.polar.examples.polar_model_2d`
yguclu 6ae388c
Add module docstring to `feec.polar.examples.utils_congapol``
yguclu e240763
Update module docstring in `feec.polar.examples.analytical_solution`:s
yguclu a72452f
Update module docstring of `feec.polar.examples.maxwell_2d`:
yguclu 4e742ad
Update module docstring of `feec.polar.examples.poisson_2d`
yguclu 745f6c4
Fix module docstring formatting in `feec.polar.examples.analytical_so…
yguclu 315eb7e
improved docstrings for projections
alisa-kirkinskaia cc63bf6
more improvements in docstrings for projections
alisa-kirkinskaia ed9f7b1
Update docstring in psydac/feec/polar/conga_projections.py
alisa-kirkinskaia 7f6f050
Change R to L
alisa-kirkinskaia 596efdb
remove gamma
alisa-kirkinskaia 518b741
Update psydac/feec/polar/conga_projections.py
alisa-kirkinskaia d03b524
fix bug in analytical solutions
alisa-kirkinskaia 7b364d4
Improve help messages of 2D Poisson example
yguclu cdd1630
Reduce default maxiter to 1000 in 2D Poisson example
yguclu 673de0b
Improve help messages of 2D Maxwell example
yguclu 35270d8
Add maxiter CLI argument to 2D Maxwell example
yguclu 35b534e
In 2D Maxwell example, only create output folder if save_figs==True
yguclu b76130d
Remove temporary HDF5 files created by 2D Maxwell example
yguclu f39b46a
Remove temporary HDF5 files created by 2D Poisson example
yguclu 46e6959
Update CHANGELOG w/ details of bug fix in `TensorFemSpace`
yguclu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| feec.polar | ||
| ========== | ||
|
|
||
| .. currentmodule:: psydac.feec | ||
| .. autosummary:: | ||
| :nosignatures: | ||
| :toctree: STUBDIR | ||
| :template: autosummary/module.rst | ||
|
|
||
| polar.conga_projections | ||
| polar.examples.analytical_solutions | ||
| polar.examples.maxwell_2d | ||
| polar.examples.poisson_2d | ||
| polar.examples.polar_model_2d | ||
| polar.examples.utils_congapol | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
yguclu marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| #---------------------------------------------------------------------------# | ||
| # This file is part of PSYDAC which is released under MIT License. See the # | ||
| # LICENSE file or go to https://github.com/pyccel/psydac/blob/devel/LICENSE # | ||
| # for full license details. # | ||
| #---------------------------------------------------------------------------# |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.