Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions include/mapping_box.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,13 @@ class MappingBox : public Mapping<dim, spacedim>
virtual bool
preserves_vertex_locations() const override;

#if DEAL_II_VERSION_GTE(9, 8, 0)
virtual bool
is_compatible_with(const ReferenceCell<dim> &reference_cell) const override;
#else
virtual bool
is_compatible_with(const ReferenceCell &reference_cell) const override;
#endif

/**
* @name Mapping points between reference and real cells
Expand Down
5 changes: 5 additions & 0 deletions source/mapping_box.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,13 @@ MappingBox<dim, spacedim>::preserves_vertex_locations() const

template <int dim, int spacedim>
bool
#if DEAL_II_VERSION_GTE(9, 8, 0)
MappingBox<dim, spacedim>::is_compatible_with(
const ReferenceCell<dim> &reference_cell) const
#else
MappingBox<dim, spacedim>::is_compatible_with(
const ReferenceCell &reference_cell) const
#endif
{
Assert(dim == reference_cell.get_dimension(),
ExcMessage("The dimension of your mapping (" +
Expand Down
Loading