Class to impose point source to (wrapped) Helmholtz element. More...
Public Member Functions | |
PMLHelmholtzPointSourceElement () | |
Constructor. | |
~PMLHelmholtzPointSourceElement () | |
Destructor (empty) | |
void | setup (const Vector< double > &s_point_source, const std::complex< double > &magnitude) |
Set local coordinate and magnitude of point source. | |
void | fill_in_contribution_to_residuals (Vector< double > &residuals) |
Add the element's contribution to its residual vector (wrapper) | |
void | fill_in_contribution_to_jacobian (Vector< double > &residuals, DenseMatrix< double > &jacobian) |
Add the element's contribution to its residual vector and element Jacobian matrix (wrapper) | |
Private Member Functions | |
void | fill_in_point_source_contribution_to_residuals (Vector< double > &residuals) |
Add the point source contribution to the residual vector. | |
Private Attributes | |
Vector< double > | S_point_source |
Local coordinates of point at which point source is applied. | |
std::complex< double > | Point_source_magnitude |
Magnitude of point source (complex!) | |
Class to impose point source to (wrapped) Helmholtz element.
Definition at line 229 of file oscillating_sphere.cc.
|
inline |
Constructor.
Definition at line 235 of file oscillating_sphere.cc.
References oomph::PMLHelmholtzPointSourceElement< ELEMENT >::Point_source_magnitude.
|
inline |
Destructor (empty)
Definition at line 242 of file oscillating_sphere.cc.
|
inline |
Add the element's contribution to its residual vector and element Jacobian matrix (wrapper)
Definition at line 268 of file oscillating_sphere.cc.
References oomph::PMLHelmholtzPointSourceElement< ELEMENT >::fill_in_point_source_contribution_to_residuals().
|
inline |
Add the element's contribution to its residual vector (wrapper)
Definition at line 254 of file oscillating_sphere.cc.
References oomph::PMLHelmholtzPointSourceElement< ELEMENT >::fill_in_point_source_contribution_to_residuals().
|
inlineprivate |
Add the point source contribution to the residual vector.
Definition at line 284 of file oscillating_sphere.cc.
References oomph::PMLHelmholtzPointSourceElement< ELEMENT >::Point_source_magnitude, and oomph::PMLHelmholtzPointSourceElement< ELEMENT >::S_point_source.
Referenced by oomph::PMLHelmholtzPointSourceElement< ELEMENT >::fill_in_contribution_to_jacobian(), and oomph::PMLHelmholtzPointSourceElement< ELEMENT >::fill_in_contribution_to_residuals().
|
inline |
Set local coordinate and magnitude of point source.
Definition at line 245 of file oscillating_sphere.cc.
References oomph::PMLHelmholtzPointSourceElement< ELEMENT >::Point_source_magnitude, and oomph::PMLHelmholtzPointSourceElement< ELEMENT >::S_point_source.
|
private |
Magnitude of point source (complex!)
Definition at line 343 of file oscillating_sphere.cc.
Referenced by oomph::PMLHelmholtzPointSourceElement< ELEMENT >::fill_in_point_source_contribution_to_residuals(), oomph::PMLHelmholtzPointSourceElement< ELEMENT >::PMLHelmholtzPointSourceElement(), and oomph::PMLHelmholtzPointSourceElement< ELEMENT >::setup().
|
private |
Local coordinates of point at which point source is applied.
Definition at line 340 of file oscillating_sphere.cc.
Referenced by oomph::PMLHelmholtzPointSourceElement< ELEMENT >::fill_in_point_source_contribution_to_residuals(), and oomph::PMLHelmholtzPointSourceElement< ELEMENT >::setup().