# How to define trial and test functions for mixed problems

**URL:** <https://fenicsproject.discourse.group/t/how-to-define-trial-and-test-functions-for-mixed-problems/11685>\
**Category:** General\
**Created:** [July 7, 2023, 3:11pm UTC](https://fenicsproject.discourse.group/t/how-to-define-trial-and-test-functions-for-mixed-problems/11685 "2023-07-07T15:11:26Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![violetus](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/violetus/32/5122_2.png) [@violetus](https://fenicsproject.discourse.group/u/violetus)\
**Post date:** [July 8, 2023, 12:40am UTC](https://fenicsproject.discourse.group/t/how-to-define-trial-and-test-functions-for-mixed-problems/11685/5 "2023-07-08T00:40:57Z")

</div>

Please consider reading @dokken solution on this post [Conversion from array to PETSc and from PETSc to array](https://fenicsproject.discourse.group/t/conversion-from-array-to-petsc-and-from-petsc-to-array/6941).

---

_[View the full topic](https://fenicsproject.discourse.group/t/how-to-define-trial-and-test-functions-for-mixed-problems/11685)._
