Roy,

Unless I'm missing something, I don't think that would solve the problem.

Maybe I'm not explaining my problem clear enough: I have parameters in 
my_equation_system.parameters like "boundary_type_01" with a value like "ramp"  
and "noundary_amp_01" with a value like 10.0 that is my way to implement a ramp 
 dirichlet bc 10*time on boundary_id=1. And there are bunch of different types. 
So if I want a WrappedFunction to construct a DirichletBoundary I need both the 
boundary_id and parameters.

Best,
Ata

On May 15, 2013, at 1:33 PM, Roy Stogner <[email protected]> wrote:

> 
> On Wed, 15 May 2013, Ataollah Mesgarnejad wrote:
> 
>> I want to replace my dirichlet BCs implementation using penalty
>> method with the DrichletBoundary class implementation.
>> 
>> My problem is that I want different inhomogenous dirichlet BCs on
>> different boundary_ids, but as far as I can see none of derived
>> classes from FunctionBase supports functions that get an boundary_id
>> (or something similar?).
>> 
>> I would appreciate if anyone can comment and/or suggest a workaround.
> 
> Add a distinct DirichletBoundary for each boundary_id.
> ---
> Roy


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to