Skip to content
Snippets Groups Projects

Exchange troubled cell

Merged Robert K requested to merge feature/exchange-troubled-cell into master
Compare and Show latest version
5 files
+ 148
57
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -97,6 +97,7 @@ namespace Fem
typedef DGAdaptationIndicatorOperator< OpTraits > IndicatorType;
typedef Estimator< DestinationType, typename ModelType::ProblemType > GradientIndicatorType ;
typedef AdaptIndicator< IndicatorType, GradientIndicatorType > AdaptIndicatorType;
typedef typename FullOperatorType :: TroubledCellIndicatorType TroubledCellIndicatorType;
// solver selection, available fem, istl, petsc, ...
@@ -198,6 +199,12 @@ namespace Fem
double timeStepEstimate() const { return fullOperator_.timeStepEstimate(); }
//! return number of interior elements visited by the operator
inline size_t gridSizeInterior() const
{
return std::max( fullOperator_.numberOfElements(), explOperator_.numberOfElements() );
}
//// End Methods from SpaceOperatorInterface /////
protected:
Loading