/usr/include/dune/pdelab/constraints/noconstraints.hh is in libdune-pdelab-dev 2.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_PDELAB_CONSTRAINTS_NOCONSTRAINTS_HH
#define DUNE_PDELAB_CONSTRAINTS_NOCONSTRAINTS_HH
#include <dune/pdelab/common/geometrywrapper.hh>
namespace Dune {
namespace PDELab {
//! \addtogroup GridFunctionSpace grid function space
//! \ingroup PDELab
//! \{
// Empty constraints assembler class
class NoConstraints
{
public:
enum { doBoundary = false };
enum { doProcessor = false }; // added ParallelStuff
enum { doSkeleton = false };
enum { doVolume = false }; // might be necessary for cell-centered in parallel
// methods are here just to show interfaces; they are never called because doX are false above
template<typename F, typename I, typename LFS, typename T>
void boundary (const F& f, const IntersectionGeometry<I>& ig, const LFS& lfs, T& trafo) const
{
}
template<typename I, typename LFS, typename T>
void processor (const IntersectionGeometry<I>& ig, const LFS& lfs, T& trafo) const
{
}
template<typename I, typename LFS, typename T>
void skeleton (const IntersectionGeometry<I>& ig, const LFS& lfs, T& trafo) const
{
}
template<typename E, typename LFS, typename T>
void volume (const ElementGeometry<E>& eg, const LFS& lfs, T& trafo) const
{
}
};
} // namespace PDELab
} // namespace Dune
#endif // DUNE_PDELAB_CONSTRAINTS_NOCONSTRAINTS_HH
|