Skip to content

Ghost Dofs incorrectly defined as internal on home rank. #169

@farg967

Description

@farg967

This problem is seen when running monodomain_2D_HH in parallel.

I have narrowed the main cause of the problem down to DOMAIN_MAPPINGS_NODES_DOFS_CALCULATE, line 4554

IF(NUMBER_OF_DOMAINS==1) THEN

should be

IF(MAX_NUMBER_DOMAINS==1) THEN

This bug causes boundary nodes/dofs one element away from the boundary plane between computational domains to be incorrectly defined as internal dofs. I think the problem originates from a double up on the meaning of "boundary". In some places, "boundary" means it is another domains ghost. In other places, "boundary" means it is on the physical boundary plane between ranks. Unless advised otherwise I will use "boundaryPlane" for the latter from now on.

There is a bit more to the fix than the above line, which I am working on atm.

Note: This will only be a temporary fix, as NODES_DOFS_CALCULATE will be done locally soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions