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
Tensor product matrix creator #14291
Conversation
a946cf6
to
45d5e96
Compare
Can you rebase this so I can have a new look? |
45d5e96
to
2069236
Compare
Done! |
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 think this makes sense, but I do not think this should reside in the lac
subfolder. How about moving it to FETools
or something like that?
std::array<FullMatrix<Number>, dim>> | ||
create_laplace_tensor_product_matrix( | ||
const typename Triangulation<dim>::cell_iterator &cell, | ||
const std::set<types::boundary_id> & dbcs, |
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.
const std::set<types::boundary_id> & dbcs, | |
const std::set<types::boundary_id> & dirichlet_boundaries, |
and similar for the Neumann case; what would you do in the Robin boundary case?
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'll need to think about this.
2069236
to
dd448f9
Compare
I have moved it to the |
dd448f9
to
260d54d
Compare
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.
This looks good in my opinion. I think one question I would have for the future is whether there is a way to avoid re-computing the same reference mass and stiffness matrices, as we might call this function many times with just the cell_extent
and boundary_ids
differing, but the same underlying 1D matrices.
260d54d
to
ebf1235
Compare
/rebuild |
2c8ee14
to
71ca9c4
Compare
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.
Do you plan tests for this? I think we should move forward here, so we can do it elsewhere. But you should rebase to get the CI going, not sure what happened.
71ca9c4
to
b533f29
Compare
depends on #14288 and #14289