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

Use and document VectorTools::ExcPointNotAvailableHere #643

Merged
merged 1 commit into from Mar 4, 2015

Conversation

tjhei
Copy link
Member

@tjhei tjhei commented Mar 4, 2015

ExcPointNotAvailableHere is duplicated in VectorTools and
FEFieldFunction and is awkward to use in the latter because of the
template arguments.

  • provide textual description of Exception
  • deprecate the version in FEFieldFunction
  • update documentation
  • update test

*/
DeclException0 (ExcPointNotAvailableHere);
typedef VectorTools::ExcPointNotAvailableHere ExcPointNotAvailableHere DEAL_II_DEPRECATED;
Copy link
Member

Choose a reason for hiding this comment

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

Ah, clever solution to being backward compatible :-)

@bangerth
Copy link
Member

bangerth commented Mar 4, 2015

Don't you want to change the place where the exception is throw as well, to avoid using the (now deprecated) local typedef?

@bangerth
Copy link
Member

bangerth commented Mar 4, 2015

Also references #610

ExcPointNotAvailableHere is duplicated in VectorTools and
FEFieldFunction and is awkward to use in the latter because of the
template arguments.

- provide textual description of Exception
- deprecate the version in FEFieldFunction
- update documentation
- update test
@tjhei
Copy link
Member Author

tjhei commented Mar 4, 2015

fixed indentation and addressed your valid point!

bangerth added a commit that referenced this pull request Mar 4, 2015
Use and document VectorTools::ExcPointNotAvailableHere
@bangerth bangerth merged commit a999a4c into dealii:master Mar 4, 2015
@tjhei tjhei deleted the fe_field_fct_exc branch March 4, 2015 17:07
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

2 participants