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 erfc function to FunctionParser. #1769

Merged
merged 2 commits into from Nov 3, 2015
Merged

Conversation

jperryhouts
Copy link
Contributor

It came up in an Aspect model earlier that it would be useful to have erfc available to the FunctionParser. I don't know of a more modular way to do it than to add it to the builtin functions.

@kronbichler
Copy link
Member

The patch looks good. Would you mind adding a small test case for this feature? It would make sense to create a test DEAL_SRC_DIR/tests/base/function_parser_08.cc in analogy to function_parser_05.cc in the same directory.

If you have not set up deal.II tests yet, you find the basic information here: https://www.dealii.org/developer/developers/testsuite.html
(in particular section 3.8).

@luca-heltai
Copy link
Member

ping @jperryhouts ?

@jperryhouts
Copy link
Contributor Author

Oh, sorry. I'll add the test this weekend if I have a chance. Monday afternoon at the latest.

Thanks!

@jperryhouts
Copy link
Contributor Author

OK, I think this is ready to go. Sorry for the delay.

@kronbichler
Copy link
Member

Great, thanks!

kronbichler added a commit that referenced this pull request Nov 3, 2015
Add erfc function to FunctionParser.
@kronbichler kronbichler merged commit a6e5ed0 into dealii:master Nov 3, 2015
@jperryhouts jperryhouts deleted the add_erfc branch November 6, 2015 02:49
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