-
Notifications
You must be signed in to change notification settings - Fork 5
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
Code simplifications and tidying #182
Conversation
@@ -59,8 +65,9 @@ class QuadratureRule | |||
/// Return the number of quadrature points per entity | |||
std::size_t num_points(int i) const; | |||
|
|||
/// Return the topological dimension of the quadrature rule | |||
std::size_t tdim() const { return _tdim; }; | |||
/// Topological dimension of the quadrature rule |
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.
I guess you can rephrase this to the dimension of the quadrature points i.e. x=x_i, i=0,…,tdim-1
|
||
private: | ||
// What is this? |
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.
Cell type associated with the quadrature rule
dolfinx::mesh::CellType _cell_type; | ||
|
||
std::size_t _tdim; | ||
|
||
// What is this? |
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.
Maximum polynomial degree that will be integrated exactly.
int _degree; | ||
|
||
// What is this? |
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.
What quadrature rule to use. See available rules in Basix
basix::quadrature::type _type; | ||
|
||
// What is this? |
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.
Dimension of the sub-entities of the cell that the quadrature rule is generated for
Co-authored-by: Jørgen Schartum Dokken <[email protected]>
No description provided.