Commit a0cf0b0d authored by Andreas Dedner's avatar Andreas Dedner

added some typedef to the some bfs, e.g., DomainFieldType and made some

existing typedefs public instead of protected
parent c3cfd0c3
......@@ -300,6 +300,8 @@ namespace Dune
typedef typename GF::LocalFunctionType::JacobianRangeType JacobianRangeType;
typedef typename GF::LocalFunctionType::HessianRangeType HessianRangeType;
static const int dimRange = RangeType::dimension;
explicit Type ( const GridFunctionType &gridFunction )
: GridFunctionType::LocalFunctionType( gridFunction ),
gridFunction_( gridFunction )
......@@ -367,6 +369,7 @@ namespace Dune
typedef typename GridFunctionDecayType::JacobianRangeType JacobianRangeType;
typedef typename GridFunctionDecayType::HessianRangeType HessianRangeType;
typedef typename GridFunctionDecayType::FunctionSpaceType FunctionSpaceType;
static const int dimRange = RangeType::dimension;
template<class Arg, std::enable_if_t<std::is_constructible<GF, Arg>::value, int> = 0>
explicit Type ( Arg&& gridFunction )
......
......@@ -58,18 +58,17 @@ namespace Dune
//! \brief shape function set type
typedef ShapeFunctionSet ShapeFunctionSetType;
protected:
typedef typename ShapeFunctionSetType::FunctionSpaceType LocalFunctionSpaceType;
typedef typename LocalFunctionSpaceType::JacobianRangeType LocalJacobianRangeType;
typedef typename LocalFunctionSpaceType::HessianRangeType LocalHessianRangeType;
typedef typename LocalFunctionSpaceType::DomainFieldType DomainFieldType;
typedef typename LocalFunctionSpaceType::RangeFieldType RangeFieldType;
typedef typename EntityType::Geometry GeometryType;
typedef typename GeometryType::ctype ctype;
public:
// slight misuse of struct ToLocalFunctionSpace!!!
//! \brief type of function space
typedef typename ToNewDimDomainFunctionSpace< LocalFunctionSpaceType, EntityType :: Geometry :: coorddimension >::Type FunctionSpaceType;
......
......@@ -48,6 +48,9 @@ namespace Dune
//! \brief hessian range type
typedef typename FunctionSpaceType::HessianRangeType HessianRangeType;
typedef typename FunctionSpaceType::RangeFieldType RangeFieldType;
typedef typename FunctionSpaceType::DomainFieldType DomainFieldType;
//! \brief type of reference element
typedef Dune::ReferenceElement< typename EntityType::Geometry > ReferenceElementType;
......
......@@ -295,12 +295,13 @@ namespace Dune
typedef DofAlignment< ScalarBasisFunctionSet, Range > DofAlignmentType;
private:
typedef typename DofAlignmentType::GlobalDofType GlobalDofType;
typedef typename DofAlignmentType::LocalDofType LocalDofType;
typedef typename FunctionSpaceType::DomainFieldType DomainFieldType;
typedef typename FunctionSpaceType::RangeFieldType RangeFieldType;
private:
struct EvaluateAll;
struct JacobianAll;
struct HessianAll;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment