-
Notifications
You must be signed in to change notification settings - Fork 50
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 bulk magnetic field energy postprocessing #131
Conversation
9736e50
to
11ac368
Compare
e313a33
to
59bd14f
Compare
11ac368
to
25a277e
Compare
25a277e
to
436ffc3
Compare
db6f96e
to
5256ace
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only things I could see are comments/documentation, the code looks great.
palace/models/domainpostoperator.hpp
Outdated
// Access underlying bulk loss postprocessing data structures (for keys). | ||
const auto &GetEps() const { return M_NDi; } | ||
auto SizeEps() const { return M_NDi.size(); } | ||
// Access data structures for the postprocessing the domain with the given type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think one of those "the" is an error.
@@ -91,13 +91,10 @@ class SurfacePostOperator | |||
SurfacePostOperator(const IoData &iodata, const MaterialOperator &mat_op, | |||
mfem::ParFiniteElementSpace &h1_fespace); | |||
|
|||
// Access data structures for the postprocessing surface with the given type. | |||
// Access data structures for the postprocessing the surface with the given type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think one of those "the" is an error.
docs/src/examples/cavity.md
Outdated
[`config["Domains"]["Postprocessing"]["Bulk]"`] | ||
(../config/domains.md#domains["Postprocessing"]["Energy"]) object is used to extract the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link there is from Bulk
to Energy
, whereas they were previously both Dielectric
, is the name mismatch on purpose?
docs/src/config/domains.md
Outdated
|
||
`"Attributes" [None]` : Integer array of mesh domain attributes for this lossy domain. | ||
`"Attributes" [None]` : Integer array of mesh domain attributes for this bulk domain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need bulk
here? Is this differentiating from a non-bulk (I guess a surface?) domain?
palace/models/domainpostoperator.hpp
Outdated
// Get volume integrals for bulk electric or magnetic field energy in a portion of the | ||
// domain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"for the electric or magnetic" to match above? Or is there an extra meaning to bulk I am missing?
72da1f2
to
ab41bb4
Compare
…energies for the desired regions (from which the participation ratios, quality factors, etc. can be computed by the user)
ab41bb4
to
038f919
Compare
config["Domains"]["Postprocessing"]["Dielectric"]
is replaced byconfig["Domains"]["Postprocessing"]["Energy"]
to output both the electric and magnetic field energies in certain parts of the domain. The previous functionality (electric field participation ratios, loss factors) are all still available using the data indomain-E.csv
.TODO: Depends on #129