-
Notifications
You must be signed in to change notification settings - Fork 135
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
Subdomain basic statistics . #2119
Conversation
…/idaholab/raven into aalfonsi/subgrid_basicStatistics
|
||
In this case, the RAVEN variables ``mean\_x01, mean\_x02, sen\_x01\_a, sen\_x02\_a, sen\_x01\_b, sen\_x02\_b'' | ||
will be computed for each cell defined above (2 cells in this case). | ||
The results will be associated to the mid-point of each point. For the example above: |
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 results will be associated to the mid-point of each cell
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.
fixed
In this case, the RAVEN variables ``mean\_x01, mean\_x02, sen\_x01\_a, sen\_x02\_a, sen\_x01\_b, sen\_x02\_b'' | ||
will be computed for each cell defined above (2 cells in this case). | ||
The results will be associated to the mid-point of each point. For the example above: | ||
\begin{itemize} |
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.
should this be:
\item
\item
no?
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 interval of the fist grid is
[10,100] with 2 steps:
|---------|---------|
10 55 100
midpoints:
------|--------|------
32.5 77.5
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.
gotcha
\setlist[itemize,7]{label=$\bullet$} | ||
\setlist[itemize,8]{label=$\bullet$} | ||
\renewlist{itemize}{itemize}{8} | ||
|
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.
what is the purpose of this added code?
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 added a comment at the begin of the command:
the following allows for 8 levels list nesting
This allows to add an additional level of nesting for the "itemize" command
doc/user_manual/sampler.tex
Outdated
For example, if the grid \xmlAttr{type} is \xmlString{value}, in the body | ||
of \xmlNode{grid}, the user will specify the values representing the nodes of the grid. | ||
\end{itemize} | ||
} |
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.
why is this description needed in sampler.tex?
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.
yeah probably not the right location. Moved to postprocessors.tex
doc/user_manual/sampler.tex
Outdated
@@ -234,6 +262,21 @@ \section{Samplers} | |||
information is requested.} | |||
} | |||
|
|||
\newcommand{\gridDescriptionNoCFD} | |||
{ |
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.
what does CFD stand for?
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.
Typo. CFD -> CDF (Cumulative Dist Function)
I have left my initial set of comments. One of my main questions is why a new PP class was added rather than extending the directly the basic statistics? |
ravenframework/Models/PostProcessors/SubdomainBasicStatistics.py
Outdated
Show resolved
Hide resolved
@mandd addressed your comments. The reason is mostly because it would have required an additional refactoring of the basic statistics and it is already quite complex. The advantage of having this PP is that the computation is encapsulated in the BasicStatistics and, in the future, the calculation for each "cell" can be parallelized if needed. |
Job Mingw Test on 6297969 : invalidated by @aalfonsi |
In this case, the RAVEN variables ``mean\_x01, mean\_x02, sen\_x01\_a, sen\_x02\_a, sen\_x01\_b, sen\_x02\_b'' | ||
will be computed for each cell defined above (2 cells in this case). | ||
The results will be associated to the mid-point of each point. For the example above: | ||
\begin{itemize} |
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.
gotcha
Hi @aalfonsi: Is it possible that the subdomain information (the grid lower and upper bound) also get stored in the DataObjects, for example in the metadata? I would recommend to preserve this information in the output DataObject. |
@wangcj05 can you open an issue and I can address it in a followup MR? |
Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #1923
What are the significant changes in functionality due to this change request?
Added a new post processor to compute subdomain basic statistics leveraging RAVEN basic statistics.
For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.
<internalParallel>
to True.raven/tests/framework/user_guide
andraven/docs/workshop
) have been changed, the associated documentation must be reviewed and assured the text matches the example.