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

Code simplifications and tidying #182

Merged
merged 32 commits into from
Jun 19, 2024
Merged

Code simplifications and tidying #182

merged 32 commits into from
Jun 19, 2024

Conversation

garth-wells
Copy link
Contributor

No description provided.

@@ -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
Copy link
Member

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?
Copy link
Member

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?
Copy link
Member

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?
Copy link
Member

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?
Copy link
Member

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

cpp/Contact.cpp Outdated Show resolved Hide resolved
cpp/Contact.cpp Outdated Show resolved Hide resolved
@garth-wells garth-wells enabled auto-merge June 19, 2024 04:27
@garth-wells garth-wells disabled auto-merge June 19, 2024 05:41
@garth-wells garth-wells merged commit e642d82 into main Jun 19, 2024
4 checks passed
@garth-wells garth-wells deleted the code-tidy-2 branch June 19, 2024 05:42
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.

2 participants