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

Introduce AdvectionField::degrees using introspection.degrees.field_name #1146

Merged
merged 1 commit into from Jul 28, 2016

Conversation

yinghe616
Copy link
Contributor

@yinghe616 yinghe616 commented Jul 27, 2016

Whenever we need to use the degree of polynomial of AdvectionField, we have to verify the advection field name first. This patch is the enhancement of current implementation.

@bangerth
Copy link
Contributor

This is a really nice idea that allows for a lot of simplifications. Well done!

The word "degree" is so generic that it's often difficult to figure out what it means in a given context. Could you rename the structure, variable, and function PolynonialDegree and polynomial_degree, respectively?

};
/**
* A variable that enumerates the base elements of the finite element
* that correspond to each of the variables in this problem.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a comment copied from elsewhere?

Copy link
Contributor Author

@yinghe616 yinghe616 Jul 27, 2016

Choose a reason for hiding this comment

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

Yes, it was copied from other place. The new commit 1566b6c addressed all you early comments.

@bangerth
Copy link
Contributor

Yes, nice. Can you squash the two commits into one?

/run-tests

@yinghe616
Copy link
Contributor Author

The two commits has been squashed into one.

@bangerth
Copy link
Contributor

Ready to merge once the tester is happy.

Thanks for the patch, @yinghe616 !

@bangerth
Copy link
Contributor

Ah, I want to merge, but there is a merge conflict. Can you please rebase to master?

@bangerth bangerth merged commit b9d6632 into geodynamics:master Jul 28, 2016
@yinghe616 yinghe616 deleted the introspection_degree branch August 18, 2016 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants