From: John on
Dear All

I am using Matlab to solve the Laplace equation on a unit cube (by ‘inverting’ a large sparse finite difference matrix subject to the appropriate boundary conditions, see e.g. http://ocw.mit.edu/NR/rdonlyres/Mathematics/18-086Spring-2006/4595EB63-3505-407A-9083-164CD33DE8C2/0/am61.pdf).

This works fine when I have a single type of boundary condition on each face of the cube (i.e. Neumann on some faces and Dirichlet on the others). However, I now need to mix both types of boundary condition on a single face of the cube, such that some nodes on that face are governed by Neumann boundary conditions and the rest by Dirichlet boundary conditions. (This is an either/or situation so there are no Robbins type boundary conditions).

Please could somebody explain to me how this might be done or point me towards a suitable reference. Any advice would be greatly appreciated!

Many thanks

John
 | 
Pages: 1
Prev: Calculating and plotting CCDF?
Next: for loop