On May 21, 2013, at 10:07 AM, Roy Stogner <[email protected]> wrote:

> 
> On Mon, 20 May 2013, Ataollah Mesgarnejad wrote:
> 
>> I think there is a bug in DirichletBoundary API that always passes
>> time=0. I checked by using an AnalyticFunction for the BC and then
>> checking the time in the fptr that I passed.
>> 
>> You can easily check this changing systems_of_equations_ex4.
> 
> DirichletBoundary should pass the time of the system as of the time
> the boundary constraint equations get calculated.  This is generally
> just when you call init() or reinit() on your EquationSystems.  To
> handle transient boundaries you'll need to reinit() after updating the
> time.

Thanks Roy worked like a charm. 

One last question, does DirichletBoundary work with petsc_dm NonlinearSystem 
too? 

Ata

> ---
> Roy


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to