Toggle navigation
Documentation
Big picture
The finite element method
The data structure
Not-so-quick guide
Optimisation
Order of action functions
Example codes and tutorials
List of example codes and tutorials
Meshing
Solvers
MPI parallel processing
Post-processing/visualisation
Other
Change log
Creating documentation
Coding conventions
Index
FAQ
Installation
Installation guide
Copyright
About
People
Contact/Get involved
Publications
Acknowledgements
Picture show
Go
src
space_time
space_time_navier_stokes
archived_discretisations
spacetime_navier_stokes_block_preconditionable_elements.h
Go to the documentation of this file.
1
// LIC// ====================================================================
2
// LIC// This file forms part of oomph-lib, the object-oriented,
3
// LIC// multi-physics finite-element library, available
4
// LIC// at http://www.oomph-lib.org.
5
// LIC//
6
// LIC// Copyright (C) 2006-2024 Matthias Heil and Andrew Hazel
7
// LIC//
8
// LIC// This library is free software; you can redistribute it and/or
9
// LIC// modify it under the terms of the GNU Lesser General Public
10
// LIC// License as published by the Free Software Foundation; either
11
// LIC// version 2.1 of the License, or (at your option) any later version.
12
// LIC//
13
// LIC// This library is distributed in the hope that it will be useful,
14
// LIC// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// LIC// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
// LIC// Lesser General Public License for more details.
17
// LIC//
18
// LIC// You should have received a copy of the GNU Lesser General Public
19
// LIC// License along with this library; if not, write to the Free Software
20
// LIC// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21
// LIC// 02110-1301 USA.
22
// LIC//
23
// LIC// The authors may be contacted at oomph-lib@maths.man.ac.uk.
24
// LIC//
25
// LIC//====================================================================
26
// Header file for SpaceTimeNavierStokes elements
27
#ifndef OOMPH_SPACETIME_NAVIER_STOKES_BLOCK_PRECONDITIONABLE_ELEMENTS_HEADER
28
#define OOMPH_SPACETIME_NAVIER_STOKES_BLOCK_PRECONDITIONABLE_ELEMENTS_HEADER
29
30
// Config header generated by autoconfig
31
#ifdef HAVE_CONFIG_H
32
#include <oomph-lib-config.h>
33
#endif
34
35
// Oomph-lib headers
36
#include "generic.h"
37
38
// Space-time block preconditionable elements machinery
39
#include "../../SpaceTimeBlockPreconditioner/spacetime_block_preconditionable_elements.cc"
40
41
/// /////////////////////////////////////////////////////////////////////////
42
/// /////////////////////////////////////////////////////////////////////////
43
/// /////////////////////////////////////////////////////////////////////////
44
45
namespace
oomph
46
{
47
//======start_of_BlockPrecQTaylorHoodSpaceTimeElement==========================
48
/// Block preconditionable version of the QTaylorHoodSpaceTimeElement element
49
//=============================================================================
50
class
BlockPrecQTaylorHoodSpaceTimeElement
51
:
public
virtual
QTaylorHoodSpaceTimeElement
<2>,
52
public
virtual
BlockPreconditionableSpaceTimeElementBase
53
{
54
public
:
55
/// Empty constructor
56
BlockPrecQTaylorHoodSpaceTimeElement
()
57
:
QTaylorHoodSpaceTimeElement
<2>(),
58
BlockPreconditionableSpaceTimeElementBase
()
59
{
60
}
61
62
/// Empty destructor
63
~BlockPrecQTaylorHoodSpaceTimeElement
() {}
64
65
/// Overload the pure virtual base class implementation.
66
/// Create a list of pairs for all unknowns in this element,
67
/// so the first entry in each pair contains the global equation
68
/// number of the unknown, while the second one contains the number
69
/// of the "DOF type" that this unknown is associated with.
70
void
get_dof_numbers_for_unknowns
(
71
std::list<std::pair<unsigned long, unsigned>>& dof_lookup_list)
const
;
72
};
73
}
// End of namespace oomph
74
#endif
oomph::BlockPrecQTaylorHoodSpaceTimeElement
Block preconditionable version of the QTaylorHoodSpaceTimeElement element.
Definition:
spacetime_navier_stokes_block_preconditionable_elements.h:53
oomph::BlockPrecQTaylorHoodSpaceTimeElement::~BlockPrecQTaylorHoodSpaceTimeElement
~BlockPrecQTaylorHoodSpaceTimeElement()
Empty destructor.
Definition:
spacetime_navier_stokes_block_preconditionable_elements.h:63
oomph::BlockPrecQTaylorHoodSpaceTimeElement::BlockPrecQTaylorHoodSpaceTimeElement
BlockPrecQTaylorHoodSpaceTimeElement()
Empty constructor.
Definition:
spacetime_navier_stokes_block_preconditionable_elements.h:56
oomph::BlockPrecQTaylorHoodSpaceTimeElement::get_dof_numbers_for_unknowns
void get_dof_numbers_for_unknowns(std::list< std::pair< unsigned long, unsigned >> &dof_lookup_list) const
Overload the pure virtual base class implementation. Create a list of pairs for all unknowns in this ...
Definition:
spacetime_navier_stokes_block_preconditionable_elements.cc:38
oomph::BlockPreconditionableSpaceTimeElementBase
Block preconditionable space-time element base class. NOTE: It has to derive from GeneralisedElement ...
Definition:
general_purpose_space_time_block_preconditionable_elements.h:51
oomph::QTaylorHoodSpaceTimeElement
/////////////////////////////////////////////////////////////////////////// /////////////////////////...
Definition:
discontinuous_galerkin_equal_order_pressure_spacetime_navier_stokes_elements.h:2120
oomph
//////////////////////////////////////////////////////////////////// ////////////////////////////////...
Definition:
advection_diffusion_elements.cc:30