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

Q_rhs_vec is not set up properly in IBFEMethod::computeLagrangianFluidSource #206

Closed
sharpgao opened this issue Mar 23, 2018 · 0 comments · Fixed by #207
Closed

Q_rhs_vec is not set up properly in IBFEMethod::computeLagrangianFluidSource #206

sharpgao opened this issue Mar 23, 2018 · 0 comments · Fixed by #207

Comments

@sharpgao
Copy link

Q_dof_map.constrain_element_vector(Q_rhs_e, Q_dof_indices);

In IBFEMethod::computeLagrangianFluidSource(double data_time), the following two lines 888-889 need to move out of the for loop on qp,
// Apply constraints (e.g., enforce periodic boundary conditions) // and add the elemental contributions to the global vector. Q_dof_map.constrain_element_vector(Q_rhs_e, Q_dof_indices); Q_rhs_vec->add_vector(Q_rhs_e, Q_dof_indices);

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 a pull request may close this issue.

1 participant