Hi all,

I am solving a problem where one of the functions in the assembly process 
requires the knowledge of the boundary coordinate of the mesh, which moves 
at each timestep. 

My solution should be only varying in the y-direction (it is indeed with 
the current output) and I have a known linear function independent of x so 
I only need the y coordinate of the top boundary above the relevant x-y 
coordinate at each assembly. (I basically need the hydrostatic pressure 
function that is dependent on the depth only).

ie. I need to calculate p = 1.5*(top-boundary-coordinate directly above the 
actually coordinate - coordinate in question) + 1 for each cell vertex in 
the assembly. 


I've tried looking a cell->face(face_no)->at_boundary() type input within 
the cell iterator and by using something like cell->vertex(v)(1) but I 
can't quite get my head around how to find the y coordinate of the top 
boundary for every cell/quadrature point calculation. 

I'd appreciate any help. 

Thanks

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to