From: bangerth Date: Mon, 20 Dec 2010 04:05:44 +0000 (+0000) Subject: Add a comment. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c54aabe3e1bdc1f7e1889c06df6e123b562e3e59;p=dealii-svn.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);