src/solvers/fc2d_thunderegg/fc2d_thunderegg_physical_bc.c
/* This is needed by other routines, so we don't set it to static. */
This is needed by other routines, so we don't set it to static.
This is needed by other routines so we don ' t set it to static .
void fc2d_thunderegg_physical_get_bc(fclaw2d_global_t *glob,
                                    int blockno,
                                    int patchno,
                                    int *intersects_bdry)
{
    int bdry[4];
    fclaw2d_patch_boundary_type(glob->domain,blockno,patchno,bdry);
    int i;
    for(i = 0; i < 4; i++)
    {
        intersects_bdry[i] = bdry[i] == 1;
    }
}
void fc2d_thunderegg_physical_get_bc ( fclaw2d_global_t * glob , int blockno , int patchno , int * intersects_bdry ) { int bdry [ 4 ] ; fclaw2d_patch_boundary_type ( glob -> domain , blockno , patchno , bdry ) ; int i ; for ( i = 0 ; i < 4 ; i ++ ) { intersects_bdry [ i ] = bdry [ i ] == 1 ; } }
This is needed by other routines, so we don't set it to static.
This is needed by other routines so we don ' t set it to static .
// const int numfaces = get_faces_per_patch(domain); // Physical boundary conditions