.. _diffusion-poisson_iga: diffusion/poisson_iga.py ======================== **Description** Poisson equation solved in a single patch NURBS domain using the isogeometric analysis (IGA) approach. Find :math:`t` such that: .. math:: \int_{\Omega} c \nabla s \cdot \nabla t = \int_{\Omega_0} f s \;, \quad \forall s \;. Try setting the Dirichlet boundary condition (ebcs) on various sides of the domain (``'Gamma1'``, ..., ``'Gamma4'``). View the results using:: $ ./postproc.py patch2d.vtk --wireframe -b $ ./postproc.py patch2d.vtk --wireframe -b -d't,plot_warp_scalar,rel_scaling=1' .. image:: /../gallery/images/diffusion-poisson_iga.png :download:`source code ` .. literalinclude:: /../examples/diffusion/poisson_iga.py