Example codes
and tutorials
The (Not-so) Quick Guide
List of tutorials/demo codes
Single-Physics Problems
Poisson
Adaptivity illustrated for Poisson
Advection-Diffusion
Unsteady heat equation
Linear wave equation
The Young-Laplace equation
Navier-Stokes
Free-surface Navier-Stokes
Axisymmetric Navier-Stokes
Solid mechanics
Beam structures
Shell structures
Multi-physics Problems
Fluid-structure interaction
Boussinesq convection
Steady thermoelasticity
Methods-based example codes and tutorials
Mesh generation
Linear solvers and preconditioners
Visualisation of the results
Parallel processing
How to write a new element
How to write a new refineable element
Default nonlinear solvers -- the sequence of action functions
...
Documentation
FE theory and top-down discussion of the data structure
The (Not-so) Quick Guide
Comprehensive bottom-up discussion of the data structure
List of available structured and unstructured meshes
Linear solvers and preconditioners
Visualisation of the results
Parallel processing
Coding conventions and C++ style
Creating documentation
Optimisation - robustness vs. "raw speed"
Linear vs. nonlinear problems
Storing shape functions
Changing the default "full" integration scheme
Disabling the ALE formulation of unsteady equations
C vs. C++ output
Different sparse assembly techniques and the STL memory pool
Publications
Publications
Talks
Journal publications
Theses
Picture show
Download
Copyright
Download/installation instructions
Download page
FAQ & Contact
FAQ
Change log
Bugs and other known problems
Completeness of the library & our "To-Do List"
Contact the developers
Get involved

 


Beta release!

Please note that the library has not been "officially" released. While we continue to work on the documentation, these web pages are likely to contain broken links and documents in draft form. Please send an email to

oomph-lib AT maths DOT man DOT ac DOT uk

if you wish to be informed of the library's "official" release.

oomph::Integral Class Reference

#include <integral.h>

Inheritance diagram for oomph::Integral:

oomph::Gauss< 1, 2 > oomph::Gauss< 1, 3 > oomph::Gauss< 1, 4 > oomph::Gauss< 2, 2 > oomph::Gauss< 2, 3 > oomph::Gauss< 2, 4 > oomph::Gauss< 3, 2 > oomph::Gauss< 3, 3 > oomph::Gauss< 3, 4 > oomph::GaussLobattoLegendre< 1, NPTS_1D > oomph::GaussLobattoLegendre< 2, NPTS_1D > oomph::GaussLobattoLegendre< 3, NPTS_1D > oomph::PointIntegral oomph::TGauss< 1, 2 > oomph::TGauss< 1, 3 > oomph::TGauss< 1, 4 > oomph::TGauss< 2, 2 > oomph::TGauss< 2, 3 > oomph::TGauss< 2, 4 > oomph::TGauss< 3, 2 > oomph::TGauss< 3, 3 > List of all members.

Detailed Description

Generic class for numerical integration schemes:

\[ /// \int f(x_0,x_1...)\ dx_0 \ dx_1... = /// \sum_{i_{int}=0}^{\mbox{\tt nweight()} } /// f( x_j=\mbox{\tt knot($i_{int}$,j)} ) \ \ \ \mbox{\tt weight($i_{int}$)} /// \]

Definition at line 57 of file integral.h.


Public Member Functions

 Integral ()
 Default constructor (empty).
 Integral (const Integral &dummy)
 Broken copy constructor.
void operator= (const Integral &)
 Broken assignment operator.
virtual ~Integral ()
 Virtual destructor (empty).
virtual unsigned nweight () const =0
 Return the number of integration points of the scheme.
virtual double knot (const unsigned &i, const unsigned &j) const =0
 Return local coordinate s[j] of i-th integration point.
virtual double weight (const unsigned &i) const =0
 Return weight of i-th integration point.

Constructor & Destructor Documentation

oomph::Integral::Integral (  )  [inline]

Default constructor (empty).

Definition at line 62 of file integral.h.

oomph::Integral::Integral ( const Integral dummy  )  [inline]

Broken copy constructor.

Definition at line 65 of file integral.h.

References oomph::BrokenCopy::broken_copy().

virtual oomph::Integral::~Integral (  )  [inline, virtual]

Virtual destructor (empty).

Definition at line 77 of file integral.h.


Member Function Documentation

virtual double oomph::Integral::knot ( const unsigned &  i,
const unsigned &  j 
) const [pure virtual]

Return local coordinate s[j] of i-th integration point.

Implemented in oomph::PointIntegral, oomph::Gauss< 1, 2 >, oomph::Gauss< 1, 3 >, oomph::Gauss< 1, 4 >, oomph::Gauss< 2, 2 >, oomph::Gauss< 2, 3 >, oomph::Gauss< 2, 4 >, oomph::Gauss< 3, 2 >, oomph::Gauss< 3, 3 >, oomph::Gauss< 3, 4 >, oomph::TGauss< 1, 2 >, oomph::TGauss< 1, 3 >, oomph::TGauss< 1, 4 >, oomph::TGauss< 2, 2 >, oomph::TGauss< 2, 3 >, oomph::TGauss< 2, 4 >, oomph::TGauss< 3, 2 >, oomph::TGauss< 3, 3 >, oomph::GaussLobattoLegendre< 1, NPTS_1D >, oomph::GaussLobattoLegendre< 2, NPTS_1D >, and oomph::GaussLobattoLegendre< 3, NPTS_1D >.

Referenced by oomph::FSI_functions::doc_fsi(), oomph::ClampedHermiteShellBoundaryConditionElement::fill_in_contribution_to_residuals(), oomph::Z2ErrorEstimator::get_element_errors(), and oomph::Z2ErrorEstimator::get_recovered_flux_in_patch().

virtual unsigned oomph::Integral::nweight (  )  const [pure virtual]

Return the number of integration points of the scheme.

Implemented in oomph::PointIntegral, oomph::Gauss< 1, 2 >, oomph::Gauss< 1, 3 >, oomph::Gauss< 1, 4 >, oomph::Gauss< 2, 2 >, oomph::Gauss< 2, 3 >, oomph::Gauss< 2, 4 >, oomph::Gauss< 3, 2 >, oomph::Gauss< 3, 3 >, oomph::Gauss< 3, 4 >, oomph::TGauss< 1, 2 >, oomph::TGauss< 1, 3 >, oomph::TGauss< 1, 4 >, oomph::TGauss< 2, 2 >, oomph::TGauss< 2, 3 >, oomph::TGauss< 2, 4 >, oomph::TGauss< 3, 2 >, oomph::TGauss< 3, 3 >, oomph::GaussLobattoLegendre< 1, NPTS_1D >, oomph::GaussLobattoLegendre< 2, NPTS_1D >, and oomph::GaussLobattoLegendre< 3, NPTS_1D >.

Referenced by oomph::NavierStokesImpedanceTractionElement< BULK_NAVIER_STOKES_ELEMENT, WOMERSLEY_ELEMENT, DIM >::add_element_contribution_to_aux_integral(), oomph::DGFaceElement::add_flux_contributions(), oomph::ElementWithExternalElement::assign_external_interaction_data_local_eqn_numbers(), oomph::WomersleyEquations< DIM >::compute_error(), oomph::UnsteadyHeatEquations< DIM >::compute_error(), oomph::PoissonEquations< DIM >::compute_error(), oomph::NavierStokesEquations< DIM >::compute_error(), oomph::LinearWaveEquations< DIM >::compute_error(), oomph::GeneralisedAdvectionDiffusionEquations< DIM >::compute_error(), oomph::AxisymmetricNavierStokesEquations::compute_error(), oomph::AdvectionDiffusionReactionEquations< NREAGENT, DIM >::compute_error(), oomph::AdvectionDiffusionEquations< DIM >::compute_error(), oomph::NavierStokesEquations< DIM >::d_kin_energy_dt(), oomph::NavierStokesEquations< DIM >::dissipation(), oomph::AxisymmetricNavierStokesEquations::dissipation(), oomph::FSI_functions::doc_fsi(), oomph::ClampedHermiteShellBoundaryConditionElement::fill_in_contribution_to_residuals(), oomph::AxisymmetricSolidTractionElement< ELEMENT >::fill_in_contribution_to_residuals(), oomph::AxisymmetricPVDEquations::fill_in_contribution_to_residuals_axisym_pvd(), oomph::KirchhoffLoveBeamEquations::fill_in_contribution_to_residuals_beam(), oomph::LinearElasticityTractionElement< ELEMENT >::fill_in_contribution_to_residuals_linear_elasticity_traction(), oomph::KirchhoffLoveShellEquations::fill_in_contribution_to_residuals_shell(), oomph::SolidTractionElement< ELEMENT >::fill_in_contribution_to_residuals_solid_traction(), oomph::ImposeDisplacementByLagrangeMultiplierElement< ELEMENT >::fill_in_generic_contribution_to_residuals_displ_lagr_multiplier(), oomph::RefineableLinearElasticityEquations< DIM >::fill_in_generic_contribution_to_residuals_linear_elasticity(), oomph::LinearElasticityEquations< DIM >::fill_in_generic_contribution_to_residuals_linear_elasticity(), oomph::ImposeParallelOutflowElement< ELEMENT >::fill_in_generic_contribution_to_residuals_parall_lagr_multiplier(), oomph::PVDEquations< DIM >::fill_in_generic_contribution_to_residuals_pvd(), oomph::RefineablePVDEquations< DIM >::fill_in_generic_contribution_to_residuals_pvd(), oomph::SolidFiniteElement::fill_in_generic_jacobian_for_solid_ic(), oomph::RefineableAdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_adv_diff(), oomph::AdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_adv_diff(), oomph::AdvectionDiffusionFluxElement< ELEMENT >::fill_in_generic_residual_contribution_adv_diff_flux(), oomph::RefineableAdvectionDiffusionReactionEquations< NREAGENT, DIM >::fill_in_generic_residual_contribution_adv_diff_react(), oomph::AdvectionDiffusionReactionEquations< NREAGENT, DIM >::fill_in_generic_residual_contribution_adv_diff_react(), oomph::RefineableAxisymmetricNavierStokesEquations::fill_in_generic_residual_contribution_axi_nst(), oomph::AxisymmetricNavierStokesEquations::fill_in_generic_residual_contribution_axi_nst(), oomph::AxisymmetricPVDEquationsWithPressure::fill_in_generic_residual_contribution_axisym_pvd_with_pressure(), oomph::RefineableGeneralisedAdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_cons_adv_diff(), oomph::GeneralisedAdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_cons_adv_diff(), oomph::LineFluidInterfaceEdgeElement::fill_in_generic_residual_contribution_contact_edge(), oomph::NavierStokesFluxControlElement< ELEMENT >::fill_in_generic_residual_contribution_fluid_traction(), oomph::NavierStokesTractionElement< ELEMENT >::fill_in_generic_residual_contribution_fluid_traction(), oomph::SurfaceFluidInterfaceElement::fill_in_generic_residual_contribution_interface(), oomph::AxisymmetricFluidInterfaceElement::fill_in_generic_residual_contribution_interface(), oomph::LineFluidInterfaceElement::fill_in_generic_residual_contribution_interface(), oomph::RefineableLinearWaveEquations< DIM >::fill_in_generic_residual_contribution_lin_wave(), oomph::LinearWaveEquations< DIM >::fill_in_generic_residual_contribution_lin_wave(), oomph::LinearWaveFluxElement< ELEMENT >::fill_in_generic_residual_contribution_lin_wave_flux(), oomph::RefineableNavierStokesEquations< DIM >::fill_in_generic_residual_contribution_nst(), oomph::NavierStokesEquations< DIM >::fill_in_generic_residual_contribution_nst(), oomph::RefineablePoissonEquations< DIM >::fill_in_generic_residual_contribution_poisson(), oomph::PoissonEquations< DIM >::fill_in_generic_residual_contribution_poisson(), oomph::PoissonFluxElement< ELEMENT >::fill_in_generic_residual_contribution_poisson_flux(), oomph::PVDEquationsWithPressure< DIM >::fill_in_generic_residual_contribution_pvd_with_pressure(), oomph::RefineablePVDEquationsWithPressure< DIM >::fill_in_generic_residual_contribution_pvd_with_pressure(), oomph::UnsteadyHeatEquations< DIM >::fill_in_generic_residual_contribution_ust_heat(), oomph::RefineableUnsteadyHeatEquations< DIM >::fill_in_generic_residual_contribution_ust_heat(), oomph::UnsteadyHeatFluxElement< ELEMENT >::fill_in_generic_residual_contribution_ust_heat_flux(), oomph::WomersleyEquations< DIM >::fill_in_generic_residual_contribution_womersley(), oomph::SolidFiniteElement::fill_in_jacobian_for_newmark_accel(), oomph::RefineablePoissonEquations< DIM >::get_dresidual_dnodal_coordinates(), oomph::RefineableNavierStokesEquations< DIM >::get_dresidual_dnodal_coordinates(), oomph::PoissonEquations< DIM >::get_dresidual_dnodal_coordinates(), oomph::NavierStokesEquations< DIM >::get_dresidual_dnodal_coordinates(), oomph::Z2ErrorEstimator::get_element_errors(), oomph::KirchhoffLoveShellEquations::get_energy(), oomph::KirchhoffLoveBeamEquations::get_energy(), oomph::NavierStokesSurfacePowerElement< ELEMENT >::get_kinetic_energy_flux(), oomph::NavierStokesSurfacePowerElement< ELEMENT >::get_rate_of_traction_work(), oomph::Z2ErrorEstimator::get_recovered_flux_in_patch(), oomph::NavierStokesEquations< DIM >::get_velocity_mass_matrix_diagonal(), oomph::NavierStokesImpedanceTractionElement< BULK_NAVIER_STOKES_ELEMENT, WOMERSLEY_ELEMENT, DIM >::get_volume_flux(), oomph::WomersleyEquations< DIM >::get_volume_flux(), oomph::NavierStokesSurfacePowerElement< ELEMENT >::get_volume_flux(), oomph::ElementWithExternalElement::initialise_external_element_storage(), oomph::FiniteElement::integrate_fct(), oomph::AdvectionDiffusionReactionEquations< NREAGENT, DIM >::integrate_reagents(), oomph::GeneralisedAdvectionDiffusionEquations< DIM >::integrate_u(), oomph::NavierStokesEquations< DIM >::kin_energy(), oomph::AxisymmetricNavierStokesEquations::kin_energy(), oomph::KirchhoffLoveShellEquations::load_rate_of_work(), oomph::FSIWallElement::node_update_adjacent_fluid_elements(), oomph::FSISolidTractionElement< ELEMENT, DIM >::output(), oomph::ClampedHermiteShellBoundaryConditionElement::output(), oomph::StorableShapeElementBase::pre_compute_d2shape_eulerian_at_knots(), oomph::StorableShapeSolidElementBase::pre_compute_d2shape_lagrangian_at_knots(), oomph::StorableShapeElementBase::pre_compute_d2shape_local_at_knots(), oomph::StorableShapeElementBase::pre_compute_dshape_eulerian_at_knots(), oomph::StorableShapeSolidElementBase::pre_compute_dshape_lagrangian_at_knots(), oomph::StorableShapeElementBase::pre_compute_dshape_local_at_knots(), oomph::StorableShapeElementBase::pre_compute_J_eulerian_at_knots(), oomph::StorableShapeElementBase::pre_compute_shape_at_knots(), oomph::NavierStokesEquations< DIM >::pressure_integral(), oomph::AxisymmetricNavierStokesEquations::pressure_integral(), oomph::RefineableNavierStokesFluxControlElement< ELEMENT >::refineable_fill_in_generic_residual_contribution_fluid_traction(), oomph::DGFaceElement::report_info(), oomph::FiniteElement::self_test(), oomph::ImposeDisplacementByLagrangeMultiplierElement< ELEMENT >::set_boundary_shape_geom_object_pt(), oomph::DGFaceElement::setup_neighbour_info(), oomph::FiniteElement::size(), oomph::AxisymmetricPVDEquationsWithPressure::size(), and oomph::AxisymmetricPVDEquations::size().

void oomph::Integral::operator= ( const Integral  )  [inline]

Broken assignment operator.

Definition at line 71 of file integral.h.

References oomph::BrokenCopy::broken_assign().

virtual double oomph::Integral::weight ( const unsigned &  i  )  const [pure virtual]

Return weight of i-th integration point.

Implemented in oomph::PointIntegral, oomph::Gauss< 1, 2 >, oomph::Gauss< 1, 3 >, oomph::Gauss< 1, 4 >, oomph::Gauss< 2, 2 >, oomph::Gauss< 2, 3 >, oomph::Gauss< 2, 4 >, oomph::Gauss< 3, 2 >, oomph::Gauss< 3, 3 >, oomph::Gauss< 3, 4 >, oomph::TGauss< 1, 2 >, oomph::TGauss< 1, 3 >, oomph::TGauss< 1, 4 >, oomph::TGauss< 2, 2 >, oomph::TGauss< 2, 3 >, oomph::TGauss< 2, 4 >, oomph::TGauss< 3, 2 >, oomph::TGauss< 3, 3 >, oomph::GaussLobattoLegendre< 1, NPTS_1D >, oomph::GaussLobattoLegendre< 2, NPTS_1D >, and oomph::GaussLobattoLegendre< 3, NPTS_1D >.

Referenced by oomph::NavierStokesImpedanceTractionElement< BULK_NAVIER_STOKES_ELEMENT, WOMERSLEY_ELEMENT, DIM >::add_element_contribution_to_aux_integral(), oomph::WomersleyEquations< DIM >::compute_error(), oomph::UnsteadyHeatEquations< DIM >::compute_error(), oomph::PoissonEquations< DIM >::compute_error(), oomph::NavierStokesEquations< DIM >::compute_error(), oomph::LinearWaveEquations< DIM >::compute_error(), oomph::GeneralisedAdvectionDiffusionEquations< DIM >::compute_error(), oomph::AxisymmetricNavierStokesEquations::compute_error(), oomph::AdvectionDiffusionReactionEquations< NREAGENT, DIM >::compute_error(), oomph::AdvectionDiffusionEquations< DIM >::compute_error(), oomph::NavierStokesEquations< DIM >::d_kin_energy_dt(), oomph::NavierStokesEquations< DIM >::dissipation(), oomph::AxisymmetricNavierStokesEquations::dissipation(), oomph::KirchhoffLoveShellEquations::fill_in_contribution_to_residuals_shell(), oomph::RefineableLinearElasticityEquations< DIM >::fill_in_generic_contribution_to_residuals_linear_elasticity(), oomph::LinearElasticityEquations< DIM >::fill_in_generic_contribution_to_residuals_linear_elasticity(), oomph::PVDEquations< DIM >::fill_in_generic_contribution_to_residuals_pvd(), oomph::RefineablePVDEquations< DIM >::fill_in_generic_contribution_to_residuals_pvd(), oomph::SolidFiniteElement::fill_in_generic_jacobian_for_solid_ic(), oomph::RefineableAdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_adv_diff(), oomph::AdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_adv_diff(), oomph::AdvectionDiffusionFluxElement< ELEMENT >::fill_in_generic_residual_contribution_adv_diff_flux(), oomph::RefineableAdvectionDiffusionReactionEquations< NREAGENT, DIM >::fill_in_generic_residual_contribution_adv_diff_react(), oomph::AdvectionDiffusionReactionEquations< NREAGENT, DIM >::fill_in_generic_residual_contribution_adv_diff_react(), oomph::RefineableAxisymmetricNavierStokesEquations::fill_in_generic_residual_contribution_axi_nst(), oomph::AxisymmetricNavierStokesEquations::fill_in_generic_residual_contribution_axi_nst(), oomph::RefineableGeneralisedAdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_cons_adv_diff(), oomph::GeneralisedAdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_cons_adv_diff(), oomph::LineFluidInterfaceEdgeElement::fill_in_generic_residual_contribution_contact_edge(), oomph::SurfaceFluidInterfaceElement::fill_in_generic_residual_contribution_interface(), oomph::AxisymmetricFluidInterfaceElement::fill_in_generic_residual_contribution_interface(), oomph::LineFluidInterfaceElement::fill_in_generic_residual_contribution_interface(), oomph::RefineableLinearWaveEquations< DIM >::fill_in_generic_residual_contribution_lin_wave(), oomph::LinearWaveEquations< DIM >::fill_in_generic_residual_contribution_lin_wave(), oomph::LinearWaveFluxElement< ELEMENT >::fill_in_generic_residual_contribution_lin_wave_flux(), oomph::RefineableNavierStokesEquations< DIM >::fill_in_generic_residual_contribution_nst(), oomph::NavierStokesEquations< DIM >::fill_in_generic_residual_contribution_nst(), oomph::PoissonFluxElement< ELEMENT >::fill_in_generic_residual_contribution_poisson_flux(), oomph::PVDEquationsWithPressure< DIM >::fill_in_generic_residual_contribution_pvd_with_pressure(), oomph::RefineablePVDEquationsWithPressure< DIM >::fill_in_generic_residual_contribution_pvd_with_pressure(), oomph::UnsteadyHeatEquations< DIM >::fill_in_generic_residual_contribution_ust_heat(), oomph::RefineableUnsteadyHeatEquations< DIM >::fill_in_generic_residual_contribution_ust_heat(), oomph::UnsteadyHeatFluxElement< ELEMENT >::fill_in_generic_residual_contribution_ust_heat_flux(), oomph::WomersleyEquations< DIM >::fill_in_generic_residual_contribution_womersley(), oomph::SolidFiniteElement::fill_in_jacobian_for_newmark_accel(), oomph::RefineableNavierStokesEquations< DIM >::get_dresidual_dnodal_coordinates(), oomph::NavierStokesEquations< DIM >::get_dresidual_dnodal_coordinates(), oomph::Z2ErrorEstimator::get_element_errors(), oomph::KirchhoffLoveShellEquations::get_energy(), oomph::NavierStokesSurfacePowerElement< ELEMENT >::get_kinetic_energy_flux(), oomph::NavierStokesSurfacePowerElement< ELEMENT >::get_rate_of_traction_work(), oomph::Z2ErrorEstimator::get_recovered_flux_in_patch(), oomph::NavierStokesImpedanceTractionElement< BULK_NAVIER_STOKES_ELEMENT, WOMERSLEY_ELEMENT, DIM >::get_volume_flux(), oomph::WomersleyEquations< DIM >::get_volume_flux(), oomph::NavierStokesSurfacePowerElement< ELEMENT >::get_volume_flux(), oomph::FiniteElement::integrate_fct(), oomph::NavierStokesEquations< DIM >::kin_energy(), oomph::AxisymmetricNavierStokesEquations::kin_energy(), oomph::NavierStokesEquations< DIM >::pressure_integral(), and oomph::AxisymmetricNavierStokesEquations::pressure_integral().


The documentation for this class was generated from the following file:
Generated on Mon Aug 10 11:24:56 2009 by  doxygen 1.4.7