ug4
|
#include <metric_spaces.h>
Public Member Functions | |
virtual double | distance2 (TGridFunction &uFine, TGridFunction &uCoarse) |
GridFunctionComponentSpace (const char *fctNames) | |
GridFunctionComponentSpace (const char *fctNames, const char *ssNames) | |
virtual double | norm2 (TGridFunction &uFine) |
virtual | ~GridFunctionComponentSpace () |
Public Member Functions inherited from ug::IComponentSpace< TGridFunction > | |
virtual std::string | config_string () const |
print config string More... | |
virtual double | distance (TGridFunction &uFine, TGridFunction &uCoarse) |
distance (for grid functions) More... | |
IComponentSpace (const char *fctNames) | |
IComponentSpace (const char *fctNames, const char *ssNames, int order) | |
IComponentSpace (const char *fctNames, int order) | |
virtual double | norm (TGridFunction &uFine) |
norm (for grid functions) More... | |
virtual | ~IComponentSpace () |
Public Member Functions inherited from ug::IGridFunctionSpace< TGridFunction > | |
virtual double | distance (vector_type &x, vector_type &y) |
OVERRIDE distance (for vectors) More... | |
virtual double | norm (vector_type &x) |
OVERRIDE norm (for vectors) More... | |
virtual double | scaling () const |
virtual | ~IGridFunctionSpace () |
DTOR. More... | |
Public Member Functions inherited from ug::IBanachSpace< TGridFunction::vector_type > | |
virtual | ~IBanachSpace () |
Private Member Functions | |
template<typename TBaseElem > | |
void | add_distance_values (number &sum, const TGridFunction &uFine, const TGridFunction &uCoarse, ConstSmartPtr< DoFDistribution > dd, int si, const FunctionGroup &fg) const |
template<typename TBaseElem > | |
void | add_norm_values (number &sum, const TGridFunction &uFine, ConstSmartPtr< DoFDistribution > dd, int si, const FunctionGroup &fg) const |
Additional Inherited Members | |
Public Types inherited from ug::IComponentSpace< TGridFunction > | |
typedef IGridFunctionSpace< TGridFunction > | base_type |
Public Types inherited from ug::IGridFunctionSpace< TGridFunction > | |
typedef TGridFunction | grid_function_type |
typedef TGridFunction::vector_type | vector_type |
Static Public Attributes inherited from ug::IComponentSpace< TGridFunction > | |
static const int | dim =TGridFunction::dim |
Protected Attributes inherited from ug::IComponentSpace< TGridFunction > | |
std::string | m_fctNames |
int | m_quadorder |
const char * | m_ssNames |
Computes simple vector (2-)norm from grid function DoFs which belong to either of the subsets and either of the functions supplied in the constructor.
|
inline |
|
inline |
|
inlinevirtual |
|
inlineprivate |
|
inlineprivate |
|
inlinevirtual |
Implements ug::IComponentSpace< TGridFunction >.
References ug::SubsetGroup::add(), ug::FunctionGroup::add(), ug::SubsetGroup::add_all(), pcl::ProcessCommunicator::allreduce(), ug::EDGE, ug::FACE, ug::IComponentSpace< TGridFunction >::m_fctNames, ug::IComponentSpace< TGridFunction >::m_ssNames, pcl::NumProcs(), PCL_RO_SUM, ug::SubsetGroup::size(), ug::TokenizeTrimString(), UG_CATCH_THROW, UG_COND_THROW, ug::VERTEX, and ug::VOLUME.
|
inlinevirtual |
Implements ug::IComponentSpace< TGridFunction >.
References ug::SubsetGroup::add(), ug::FunctionGroup::add(), ug::SubsetGroup::add_all(), pcl::ProcessCommunicator::allreduce(), ug::EDGE, ug::FACE, ug::IComponentSpace< TGridFunction >::m_fctNames, ug::IComponentSpace< TGridFunction >::m_ssNames, pcl::NumProcs(), PCL_RO_SUM, ug::SubsetGroup::size(), ug::TokenizeTrimString(), UG_CATCH_THROW, ug::VERTEX, and ug::VOLUME.