#86: boundary conditions should reshape the value argument if it is a cell or
face variable
-------------------+--------------------------------------------------------
Reporter:  wd15    |       Owner:      
    Type:  defect  |      Status:  new 
Priority:  1       |   Component:  None
 Version:          |    Severity:  Bugs
Keywords:          |  
-------------------+--------------------------------------------------------
 boundary conditions should reshape the value argument if it is a cell or
 face variable. For example if you have a mixed value boundary condition,
 you should be able to write

     FixedFlux(value=(var - var0) * h, face=mesh.getFacesLeft())

 where var is a CellVariable. In this case the value will be a
 CellVariable but it will be made into a FaceVariable than a
 take() can be done to extract the correct elements in _buildMatrix().

-- 
Ticket URL: <https://matdl-osi.org/fipy/ticket/86>
FiPy <http://www.ctcms.nist.gov/fipy>
A Finite Volume PDE Solver Using Python

Reply via email to