[Dune] Dune-grid-how-to finitevolume.cc example

CERRITO Samuel EUROGICIEL INGENIERIE Samuel.CERRITO at cea.fr
Thu Feb 5 11:22:23 CET 2015


Hi all,

I'm having a hard time understanding what is done in "transportproblem2.hh" at this point :

// the boundary condition b on inflow boundary
template<int dimworld, class ct>
double b (const Dune::FieldVector<ct,dimworld>& x, double t)
{
  return 0.0;
  if (x.two_norm()<t+0.125)
  return 1.0;
  else
  return 0.0;
}

Can someone explain what is "t" here and what this boundary condition represents physically speaking ?

Thanks for your help !

Cheers,

Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150205/d780b2c6/attachment.html>


More information about the Dune mailing list