# Discontinuous fields

**URL:** <https://community.freefem.org/t/discontinuous-fields/4081>\
**Category:** General Discussion\
**Created:** [September 26, 2025, 5:32pm UTC](https://community.freefem.org/t/discontinuous-fields/4081 "2025-09-26T17:32:29Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![fb77](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/fb77/32/3796_2.png) [@fb77](https://community.freefem.org/u/fb77)\
**Post date:** [October 3, 2025, 9:46am UTC](https://community.freefem.org/t/discontinuous-fields/4081/5 "2025-10-03T09:46:33Z")

</div>

There is an example here

> [@Problem in implementation of DG code for Stokes-Darcy interface problem](https://community.freefem.org/t/problem-in-implementation-of-dg-code-for-stokes-darcy-interface-problem/3616/6):
>
> Sorry for the DG implementation the code was wrong. A correct version is [composite-space-DGStokesDarcy.edp](https://community.freefem.org/uploads/short-url/nJQLZPcMuzN3uLBzurdFy3y66jO.edp) (4.4 KB)

(with composite and discontinuous Galerkin together)  
The description of the problem is in a pdf at the top of that page.  
In the .edp code the coupling terms are marked by “//interface” comment.  
These terms are written as `int1d` of each of the two meshes.

---

_[View the full topic](https://community.freefem.org/t/discontinuous-fields/4081)._
