Discretization classes and algorithms provided by the library.
More...
|
| template<typename FacetType > |
| auto | Feel::facetGlobalToLocal (FacetType &&f) |
| | get the local indexing of a facet from the global id More...
|
| |
| template<typename FacetType , typename DofTableType > |
| auto | Feel::facetGlobalToLocal (FacetType &&f, DofTableType &&dof) |
| | get the local indexing of a facet from the global id and a doftable More...
|
| |
| template<typename... Ts> |
| auto | Feel::maxelt (Ts &&... v) |
| | compute the max of the element of a function space at DOF points over the range r More...
|
| |
| template<typename... Ts> |
| auto | Feel::minelt (Ts &&... v) |
| | compute the min of the element of a function space at DOF points over the range r More...
|
| |
| template<typename... Ts> |
| auto | Feel::minmaxelt (Ts &&... v) |
| | compute the min of the element of a function space at DOF points over the range r More...
|
| |
| template<typename... Ts> |
| auto | Feel::opelt (Ts &&... v) |
| | compute the min of the element of a function space at DOF points over the range r More...
|
| |
| template<typename... Ts> |
| auto | Feel::opselt (Ts &&... v) |
| | compute the set of operations ops of the element of a function space at DOF points over the range r More...
|
| |
Discretization classes and algorithms provided by the library.
◆ facetGlobalToLocal() [1/2]
template<typename FacetType >
| auto Feel::facetGlobalToLocal |
( |
FacetType && |
f | ) |
|
◆ facetGlobalToLocal() [2/2]
template<typename FacetType , typename DofTableType >
| auto Feel::facetGlobalToLocal |
( |
FacetType && |
f, |
|
|
DofTableType && |
dof |
|
) |
| |
◆ maxelt()
template<typename... Ts>
| auto Feel::maxelt |
( |
Ts &&... |
v | ) |
|
#include </data/cemosis/github-actions-runner/actions-runner-feelpp-1/_work/feelpp/feelpp/feelpp/feel/feeldiscr/minmax.hpp>
compute the max of the element of a function space at DOF points over the range r
- Template Parameters
-
| RangeT | range type to iterate on |
| ElementT | type of finite element function |
- Parameters
-
| r | range of element |
| e | element of a function space |
auto v = Xh->element();
auto maxelt(Ts &&... v)
compute the max of the element of a function space at DOF points over the range r
Definition: minmax.hpp:200
auto elements(MeshType const &mesh, entity_process_t ept=entity_process_t::LOCAL_ONLY)
Definition: filters.hpp:92
- Returns
- the max value and the dof point coordinates
◆ minelt()
template<typename... Ts>
| auto Feel::minelt |
( |
Ts &&... |
v | ) |
|
#include </data/cemosis/github-actions-runner/actions-runner-feelpp-1/_work/feelpp/feelpp/feelpp/feel/feeldiscr/minmax.hpp>
compute the min of the element of a function space at DOF points over the range r
- Template Parameters
-
| RangeT | range type to iterate on |
| ElementT | type of finite element function |
- Parameters
-
| r | range of element |
| e | element of a function space |
auto v = Xh->element();
auto minelt(Ts &&... v)
compute the min of the element of a function space at DOF points over the range r
Definition: minmax.hpp:175
- Returns
- the min value and the dof point coordinates
◆ minmaxelt()
template<typename... Ts>
| auto Feel::minmaxelt |
( |
Ts &&... |
v | ) |
|
#include </data/cemosis/github-actions-runner/actions-runner-feelpp-1/_work/feelpp/feelpp/feelpp/feel/feeldiscr/minmax.hpp>
compute the min of the element of a function space at DOF points over the range r
- Template Parameters
-
| RangeT | range type to iterate on |
| ElementT | type of finite element function |
- Parameters
-
| r | range of element |
| e | element of a function space |
auto v = Xh->element();
for(
auto const& [o_v,arg_o_v] :
enumerate(r) )
{
std::cout << "i: " << o_v << ", " << arg_o_v << std::endl;
}
r[0];
r[1];
auto minmaxelt(Ts &&... v)
compute the min of the element of a function space at DOF points over the range r
Definition: minmax.hpp:233
constexpr auto enumerate(T &&iterable, size_t start=0)
create an index associated to a iterable object
Definition: enumerate.hpp:29
- Returns
- the min value and the dof point coordinates
◆ opelt()
template<typename... Ts>
| auto Feel::opelt |
( |
Ts &&... |
v | ) |
|
◆ opselt()
template<typename... Ts>
| auto Feel::opselt |
( |
Ts &&... |
v | ) |
|
#include </data/cemosis/github-actions-runner/actions-runner-feelpp-1/_work/feelpp/feelpp/feelpp/feel/feeldiscr/minmax.hpp>
compute the set of operations ops of the element of a function space at DOF points over the range r
- Template Parameters
-
| Ts | variadic template holding the type list of arguments |
- Parameters
-
| _range | range of element |
| _element | element of a function space |
| _op | std::vector of operations(lambda functions) to apply to the element |
auto v = Xh->element();
auto res =
minelt(_range=
elements(mesh),_element=v,_op=[](
auto const& a,
auto const& b){
return a < b; });
for( auto item: res )
{
auto [op_v, arg_op_v] = item;
}
- Returns
- the vector of results and associated dof point coordinates