ug4
|
Base class for the extrapolation over an embedded boundary. More...
#include <dom_disc_embb.h>
Public Types | |
typedef TAlgebra | algebra_type |
algebra type for the functions to extrapolate More... | |
typedef TDomain | domain_type |
domain type More... | |
typedef algebra_type::matrix_type | matrix_type |
matrix type More... | |
typedef algebra_type::vector_type | vector_type |
vector type (for the functions to extrapolate) More... | |
Public Member Functions | |
virtual int | check_elem_lsf (size_t n_co, GridObject *pElem, int si, bool use_hanging, const MathVector< dim > vCornerCoords[], number time) |
(slower version) checks whether the element is intersected by the interface, or what, and prepares the data More... | |
virtual int | check_elem_lsf (size_t n_co, GridObject *pElem, int si, int g_level, bool use_hanging, const MathVector< dim > vCornerCoords[], number time) |
checks whether the element is intersected by the interface, or what, and prepares the data More... | |
virtual bool | corner_inside (size_t co) const |
returns true if the corner is "inside" (use after check_elem_lsf) More... | |
virtual void | extrapolate_by_lsf (size_t num_co, number *u, size_t fct) const |
extrapolates a component of the solution to the vertices behind the interface (by averaging) More... | |
virtual void | extrapolate_by_lsf (size_t num_co, size_t base_co, number *u, size_t fct) const |
extrapolates a component of the solution to the vertices behind the interface (w.r.t. a base corner) More... | |
IInterfaceExtrapolation () | |
Constructor. More... | |
virtual number | lsf_at (size_t co) const |
returns the effective value of the LSF at a corner (use after check_elem_lsf) More... | |
virtual | ~IInterfaceExtrapolation () |
Destructor. More... | |
Static Public Attributes | |
static const int | dim = domain_type::dim |
dimensionality (the World dimension) More... | |
Base class for the extrapolation over an embedded boundary.
This class provides an interface for the access to the extrapolation over an embedded boundary.
TDomain | domain type |
TAlgebra | algebra type for the functions to extrapolate |
typedef TAlgebra ug::IInterfaceExtrapolation< TDomain, TAlgebra >::algebra_type |
algebra type for the functions to extrapolate
typedef TDomain ug::IInterfaceExtrapolation< TDomain, TAlgebra >::domain_type |
domain type
typedef algebra_type::matrix_type ug::IInterfaceExtrapolation< TDomain, TAlgebra >::matrix_type |
matrix type
typedef algebra_type::vector_type ug::IInterfaceExtrapolation< TDomain, TAlgebra >::vector_type |
vector type (for the functions to extrapolate)
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
(slower version) checks whether the element is intersected by the interface, or what, and prepares the data
n_co | number of the corners of the element |
pElem | the element to process |
si | subset of the element |
use_hanging | if there can be hanging nodes |
vCornerCoords | coordinates of the corners of the element |
time | the phisical time |
Reimplemented in ug::LSGFDomainDiscretization< TDomain, TAlgebra, TExtrapolation >.
References UG_THROW.
|
inlinevirtual |
checks whether the element is intersected by the interface, or what, and prepares the data
n_co | number of the corners of the element |
pElem | the element to process |
si | subset of the element |
g_level | grid level of the element |
use_hanging | if there can be hanging nodes |
vCornerCoords | coordinates of the corners of the element |
time | the phisical time |
Reimplemented in ug::LSGFDomainDiscretization< TDomain, TAlgebra, TExtrapolation >.
References UG_THROW.
|
inlinevirtual |
returns true if the corner is "inside" (use after check_elem_lsf)
co | the corner |
Reimplemented in ug::LSGFDomainDiscretization< TDomain, TAlgebra, TExtrapolation >.
References UG_THROW.
|
inlinevirtual |
extrapolates a component of the solution to the vertices behind the interface (by averaging)
num_co | number of the corners |
u | nodal values to extrapolate |
fct | index of the function (to identify to type of the extrapolation) |
Reimplemented in ug::LSGFDomainDiscretization< TDomain, TAlgebra, TExtrapolation >.
References UG_THROW.
|
inlinevirtual |
extrapolates a component of the solution to the vertices behind the interface (w.r.t. a base corner)
num_co | number of the corners |
base_co | the base corner |
u | nodal values to extrapolate |
fct | index of the function (to identify to type of the extrapolation) |
Reimplemented in ug::LSGFDomainDiscretization< TDomain, TAlgebra, TExtrapolation >.
References UG_THROW.
|
inlinevirtual |
returns the effective value of the LSF at a corner (use after check_elem_lsf)
co | the corner |
Reimplemented in ug::LSGFDomainDiscretization< TDomain, TAlgebra, TExtrapolation >.
References UG_THROW.
|
static |
dimensionality (the World dimension)