https://linen.dev logo
```c++ numberOfSubdomains 5; method sco...
# general-help
c
Copy code
c++
numberOfSubdomains  5;

method          scotch;

regions
{
    fin
    {
        method          scotch;
        numberOfSubdomains 1;
    }
    domain
    {
        method          scotch;
        numberOfSubdomains 4;
    }
}

constraints
{
    baffles
    {
        type    preserveBaffles;
        enabled true;
    }
    
    patches
    {
        type    preservePatches;
        patches (domain_to_fin fin_to_domain);
        enabled true;
    }
}