30 #ifndef OOMPH_BIHARMONIC_FLUX_ELEMENTS_HEADER 31 #define OOMPH_BIHARMONIC_FLUX_ELEMENTS_HEADER 35 #include <oomph-lib-config.h> 48 #include "../generic/matrices.h" 49 #include "../generic/elements.h" 50 #include "../generic/hermite_elements.h" 63 template<
unsigned DIM>
92 template<
unsigned DIM>
102 typedef void (*FluxFctPt)(
const double&
s,
double& flux);
106 const int& face_index,
114 "Don't call empty constructor for PoissonFluxElement",
115 OOMPH_CURRENT_FUNCTION,
116 OOMPH_EXCEPTION_LOCATION);
143 fill_in_generic_residual_contribution_biharmonic_flux(residuals);
153 fill_in_generic_residual_contribution_biharmonic_flux(residuals);
163 const unsigned &
i)
const 172 void output(std::ostream &outfile,
const unsigned &n_plot) {}
180 void output(FILE* file_pt,
const unsigned &n_plot) {}
186 exact_soln_pt,
double& error,
double& norm) {}
189 virtual void output_fct(std::ostream &outfile,
const unsigned &nplot,
200 if(Flux0_fct_pt == 0)
207 (*Flux0_fct_pt)(
s,flux);
216 if(Flux1_fct_pt == 0)
223 (*Flux1_fct_pt)(
s,flux);
233 void fill_in_generic_residual_contribution_biharmonic_flux(
void broken_copy(const std::string &class_name)
Issue error message and terminate execution.
void output(std::ostream &outfile)
Output function – does nothing.
void get_flux1(const double &s, double &flux)
Function to return the prescribed flux at a given macro element coordinate position.
void output(std::ostream &outfile, const unsigned &n_plot)
Output function – does nothing.
void fill_in_contribution_to_jacobian(Vector< double > &residuals, DenseMatrix< double > &jacobian)
Add the element's contribution to its residual vector and its Jacobian matrix (note - no contribution...
A general Finite Element class.
FluxFctPt & flux0_fct_pt()
Access function for the flux0 function pointer.
double zeta_nodal(const unsigned &n, const unsigned &k, const unsigned &i) const
In a FaceElement, the "global" intrinsic coordinate of the element along the boundary, when viewed as part of a compound geometric object is specified using the boundary coordinate defined by the mesh. Note: Boundary coordinates will have been set up when creating the underlying mesh, and their values will have been stored at the nodes.
FluxFctPt Flux1_fct_pt
Function pointer to the prescribed flux.
double zeta_nodal(const unsigned &n, const unsigned &k, const unsigned &i) const
Specify the value of nodal zeta from the face geometry The "global" intrinsic coordinate of the eleme...
unsigned Nface_nodal_dof
the number of nodal degrees of freedom for the face element basis functions
BiharmonicFluxElement()
Broken empty constructor.
FaceGeometry()
Constructor: Call the constructor for the appropriate lower-dimensional BiharmonicElement.
void(* SteadyExactSolutionFctPt)(const Vector< double > &, Vector< double > &)
Function pointer for function that computes vector-valued steady "exact solution" as ...
FaceGeometry()
Constructor: Call the constructor for the appropriate lower-dimensional BiharmonicElement.
void compute_error(std::ostream &outfile, FiniteElement::SteadyExactSolutionFctPt exact_soln_pt, double &error, double &norm)
compute_error – does nothing
FluxFctPt Flux0_fct_pt
Function pointer to the prescribed flux.
virtual void output_fct(std::ostream &outfile, const unsigned &nplot, FiniteElement::SteadyExactSolutionFctPt exact_soln_pt)
Output an exact solution over the element.
void operator=(const BiharmonicFluxElement &)
Broken assignment operator.
void broken_assign(const std::string &class_name)
Issue error message and terminate execution.
BiharmonicFluxElement(const BiharmonicFluxElement &dummy)
Broken copy constructor.
void output(FILE *file_pt)
C-style output function – does nothing.
void fill_in_contribution_to_residuals(Vector< double > &residuals)
Add the element's contribution to its residual vector.
FluxFctPt & flux1_fct_pt()
Access function for the flux1 function pointer.
void get_flux0(const double &s, double &flux)
Function to return the prescribed flux at a given macro element coordinate position.
void output(FILE *file_pt, const unsigned &n_plot)
C-style output function – does nothing.