bool
PiecewiseLinearDiscontinuousVectorSpace<BasisFunctionType, codomainDim>::spaceIsCompatible(
    const Space<BasisFunctionType>& other) const
{
    return other.grid().get() == this->grid().get() && 
        other.spaceIdentifier() == this->spaceIdentifier();
}
bool PiecewiseLinearDiscontinuousScalarSpace<
BasisFunctionType>::spaceIsCompatible(const Space<BasisFunctionType> &other)
const {

    if (other.grid().get() == this->grid().get()) {
        return (other.spaceIdentifier() == this->spaceIdentifier());
    } else
        return false;
}