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 DataPostprocessorTensor #4997

Merged
merged 4 commits into from Sep 6, 2017

Conversation

bangerth
Copy link
Member

This adds the DataPostprocessorTensor class, along with documentation and a testcase. See also the discussion in #4991.

Closes #4995.

@davydden
Copy link
Contributor

impressive pictures! 👍

@bangerth
Copy link
Member Author

Yes, fun, right? :-)

Copy link
Member

@jppelteret jppelteret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool. Thanks a lot for implementing this and for the detailed explanation of how to use it! I'll add to the documentation the equivalent process for Paraview (when I rebuild it with its tensor plugins).

* tensor and returns a vector index that is then used in the code
* above to fill the @p computed_quantities array.
*
* The only thing that is necessary is to add another output to the call
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"The last/final thing"?

* complicated to write a postprocessor that computes the <i>stress</i>
* in the solution field as the stress is easily computed from the
* strain by multiplication with either the strain-stress tensor or,
* in simple cases, the Lame constants.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Lamé"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know how to do this in doxygen?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe with a html unicode character. I think its &eacute?

virtual std::vector<std::string> get_names () const;

/**
* This functions returns information about how the individual components of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"This function"

Also mention the possibility of computing stresses.
@bangerth
Copy link
Member Author

bangerth commented Sep 5, 2017

I used Lam&eacute; and it works indeed. Should be good to go from my perspective!

@jppelteret jppelteret merged commit 2c6783a into dealii:master Sep 6, 2017
@bangerth bangerth deleted the data-postprocessor-tensor branch September 6, 2017 13:08
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.

None yet

3 participants