From 0f548e5c46afd82b83817b1225d120c04e6d52cf Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 20 Dec 2010 04:05:44 +0000 Subject: [PATCH] Add a comment. git-svn-id: https://svn.dealii.org/trunk@23016 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/fe/mapping_q1.cc | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/deal.II/source/fe/mapping_q1.cc b/deal.II/source/fe/mapping_q1.cc index 34f474b93b..9a8485f722 100644 --- a/deal.II/source/fe/mapping_q1.cc +++ b/deal.II/source/fe/mapping_q1.cc @@ -1087,11 +1087,19 @@ namespace internal // tangent and the cell // normal: if ( (dim==1) && (spacedim==2) ) - // need to think how to - // figure out whether we - // need to point to the - // left or right - Assert (false, ExcNotImplemented()) + { + // need to think how to + // do this. the code + // should be something + // like the below, but + // I can't test it + // right now since we + // can't use + // FEFaceValues in 1d + Assert (false, ExcNotImplemented()); + cross_product (boundary_forms[point], + (face_no == 0 ? 1 : -1) * cell_normal); + } else if ( (dim==2) && (spacedim==3) ) cross_product (boundary_forms[point], data.aux[0][point], cell_normal); -- 2.39.5