|
Wrapper class for solid elements to be coupled with discrete solid particles on the surfaces. More...
#include <ScaleCoupledElement.h>
Public Member Functions | |
void | clear_coupling_residual () |
Empties the coupling residual. More... | |
void | set_coupling_residual (Vector< Vector< double >> &residual) |
Sets the coupling residual. More... | |
double | get_coupling_residual (const unsigned &n, const unsigned &d) |
Returns the coupling residual. More... | |
void | clear_coupling_jacobian () |
Empties the coupling Jacobian. More... | |
void | set_coupling_jacobian (Vector< Vector< double >> &jacobian) |
Sets the coupling residual. More... | |
void | set_coupling_weight (Vector< double > &weight) |
Sets the coupling weight. More... | |
double | get_coupling_weight (const unsigned &n) |
Sets the coupling weight. More... | |
void | fill_in_contribution_to_residuals (Vector< double > &residuals) override |
Adds the elements contribution to its residual vector (wrapper) More... | |
void | fill_in_contribution_to_jacobian (Vector< double > &residuals, DenseMatrix< double > &jacobian) override |
Add the elements contribution to its residual vector and Jacobian matrix (wrapper) More... | |
void | fill_in_generic_contribution_to_residuals_pvd (Vector< double > &residuals, DenseMatrix< double > &jacobian, const unsigned &flag) override |
\TW I think this just addes the coupling weight More... | |
void | add_internal_coupling_forces_to_residuals (Vector< double > &residuals, DenseMatrix< double > &jacobian, const unsigned &flag) |
Add the point source contribution to the residual vector. More... | |
Private Attributes | |
Vector< Vector< double > > | coupling_residual |
Contribution of coupling to residual (residuals[local_eqn] += coupling_residual[node][dim];) More... | |
Vector< Vector< double > > | coupling_jacobian |
Contribution of coupling to jacobian (jacobian(local_eqn,local_unknown) += coupling_jacobian[node0][node1];) More... | |
Vector< double > | coupling_weight |
Nodal coupling weight (interpolated to compute coupling weight at integration points) More... | |
Wrapper class for solid elements to be coupled with discrete solid particles on the surfaces.
|
inline |
Add the point source contribution to the residual vector.
References oomph::ScaleCoupledElement< ELEMENT >::coupling_jacobian, oomph::ScaleCoupledElement< ELEMENT >::coupling_residual, and constants::i.
Referenced by oomph::ScaleCoupledElement< ELEMENT >::fill_in_contribution_to_jacobian(), and oomph::ScaleCoupledElement< ELEMENT >::fill_in_contribution_to_residuals().
|
inline |
Empties the coupling Jacobian.
References oomph::ScaleCoupledElement< ELEMENT >::coupling_jacobian.
|
inline |
Empties the coupling residual.
References oomph::ScaleCoupledElement< ELEMENT >::coupling_residual.
|
inlineoverride |
Add the elements contribution to its residual vector and Jacobian matrix (wrapper)
References oomph::ScaleCoupledElement< ELEMENT >::add_internal_coupling_forces_to_residuals(), and oomph::ScaleCoupledElement< ELEMENT >::fill_in_generic_contribution_to_residuals_pvd().
|
inlineoverride |
Adds the elements contribution to its residual vector (wrapper)
References oomph::ScaleCoupledElement< ELEMENT >::add_internal_coupling_forces_to_residuals(), and oomph::ScaleCoupledElement< ELEMENT >::fill_in_generic_contribution_to_residuals_pvd().
|
inlineoverride |
\TW I think this just addes the coupling weight
References oomph::ScaleCoupledElement< ELEMENT >::coupling_weight, mathsFunc::gamma(), and constants::i.
Referenced by oomph::ScaleCoupledElement< ELEMENT >::fill_in_contribution_to_jacobian(), and oomph::ScaleCoupledElement< ELEMENT >::fill_in_contribution_to_residuals().
|
inline |
Returns the coupling residual.
References oomph::ScaleCoupledElement< ELEMENT >::coupling_residual, and n.
|
inline |
Sets the coupling weight.
References oomph::ScaleCoupledElement< ELEMENT >::coupling_weight, and n.
|
inline |
Sets the coupling residual.
References oomph::ScaleCoupledElement< ELEMENT >::coupling_jacobian.
|
inline |
Sets the coupling residual.
References oomph::ScaleCoupledElement< ELEMENT >::coupling_residual.
|
inline |
Sets the coupling weight.
References oomph::ScaleCoupledElement< ELEMENT >::coupling_weight.
|
private |
Contribution of coupling to jacobian (jacobian(local_eqn,local_unknown) += coupling_jacobian[node0][node1];)
Referenced by oomph::ScaleCoupledElement< ELEMENT >::add_internal_coupling_forces_to_residuals(), oomph::ScaleCoupledElement< ELEMENT >::clear_coupling_jacobian(), and oomph::ScaleCoupledElement< ELEMENT >::set_coupling_jacobian().
|
private |
Contribution of coupling to residual (residuals[local_eqn] += coupling_residual[node][dim];)
Referenced by oomph::ScaleCoupledElement< ELEMENT >::add_internal_coupling_forces_to_residuals(), oomph::ScaleCoupledElement< ELEMENT >::clear_coupling_residual(), oomph::ScaleCoupledElement< ELEMENT >::get_coupling_residual(), and oomph::ScaleCoupledElement< ELEMENT >::set_coupling_residual().
|
private |
Nodal coupling weight (interpolated to compute coupling weight at integration points)
Referenced by oomph::ScaleCoupledElement< ELEMENT >::fill_in_generic_contribution_to_residuals_pvd(), oomph::ScaleCoupledElement< ELEMENT >::get_coupling_weight(), and oomph::ScaleCoupledElement< ELEMENT >::set_coupling_weight().