From: Wolfgang Bangerth Date: Mon, 20 Dec 2010 04:05:44 +0000 (+0000) Subject: Add a comment. X-Git-Tag: v8.0.0~4643 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f548e5c46afd82b83817b1225d120c04e6d52cf;p=dealii.git Add a comment. git-svn-id: https://svn.dealii.org/trunk@23016 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);