On 3/7/21 5:30 AM, Nikki Holtzer wrote:

For a 1d problem, I would like to implement a "boundary matrix" for an absorbing boundary condition such as the one presented in Step 24 for only the left boundary. Is it necessary to have the 'if' statement be a conditional over faces like in Step 24 even though it is a 1d problem or is something like

if (cell->at_boundary() && (face->boundary_id() == 1)) {
}
acceptable?

The statement is ok I believe (have you tried?), the question is what you want to do after that.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/0d2f8ad0-2651-0416-fc25-5bc2f3d482f0%40colostate.edu.

Reply via email to