-
Notifications
You must be signed in to change notification settings - Fork 1k
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
give threaded general user objects their own subclass #11979
Conversation
Job Documentation on e7a78a8 wanted to post the following: View the site here This comment will be updated on new commits. |
moltres was already broken for other reasons it seems. |
@@ -77,4 +77,14 @@ class GeneralUserObject : public UserObject, | |||
std::set<std::string> _supplied_vars; | |||
}; | |||
|
|||
/// An instance of this object type has one copy per thread that runs on each thread. | |||
class ThreadedGeneralUserObject : public GeneralUserObject |
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.
Please put this in its own file
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.
done
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.
Just the one change
41962b4
to
5c7df5a
Compare
Job Precheck on 5c7df5a wanted to post the following: Your code requires style changes. A patch was auto generated and copied here
Alternatively, with your repository up to date and in the top level of your repository:
|
5c7df5a
to
c850274
Compare
Since a threaded (vs not) object requires very specific code handling, we do not generally want the ability for objects to be dynamically toggled between threaded vs not handling - this could easily result in unintentional, subtle errors. Also, the new general warehouse handling of user objects will be much better served by this as an explicit, separate class. ref idaholab#11834
c850274
to
e7a78a8
Compare
Looks good set to automerge...
…On Fri, Aug 10, 2018 at 3:45 PM MOOSE Build ***@***.***> wrote:
Job Precheck <https://civet.inl.gov/job/219701/> on 5c7df5a
<5c7df5a>
wanted to post the following:
Your code requires style changes.
A patch was auto generated and copied here
<http://mooseframework.inl.gov/docs/PRs/11979/style.patch>
You can directly apply the patch by running, in the top level of your
repository:
curl -s http://mooseframework.inl.gov/docs/PRs/11979/style.patch | git
apply -v
Alternatively, with your repository up to date and in the top level of
your repository:
git clang-format 9d425eb
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#11979 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA1JMe20TyExQMMhcdO_QaoxY26oYcFrks5uPf8JgaJpZM4V4kTl>
.
|
A bunch of min clang problems: https://civet.inl.gov/job/219922/ |
This was an oversight in idaholab#11979 - forgot to update+move the check for tbb/openmp into the new threadedgeneraluserobject class.
Since a threaded (vs not) object requires very specific code handling,
we do not generally want the ability for objects to be dynamically
toggled between threaded vs not handling - this could easily result in
unintentional, subtle errors. Also, the new general warehouse handling
of user objects will be much better served by this as an explicit
separate class.
ref #11834