Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Kernel assemble methods in AbstractKernel_Class #370

Closed
shishiousan opened this issue Jan 11, 2024 · 0 comments
Closed

Improve Kernel assemble methods in AbstractKernel_Class #370

shishiousan opened this issue Jan 11, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@shishiousan
Copy link
Member

When I use high-order element for space in kernel, an error message come.

code

CALL spaceFE%GetGlobalElemShapeData(elemsd=elemsd, xij=xij, geoElemSD=linElemSD)

error message

[WRONG ARGS] size(xij, 2) .NE. size(geoElemsd%N, 1)

It is because, for example in the case of Quadrangle9, size(xij, 2) has 9 but size(linElemSD%N, 1) always has 4 due to its linear interpolation setting.

My suggestion is replacing the above code with following one

      IF (SIZE(xij, 2) .EQ. SIZE(linElemSD%N, 1)) THEN
        CALL spaceFE%GetGlobalElemShapeData(elemsd=elemsd, xij=xij,  &
          & geoElemSD=linElemSD)
      ELSE
        CALL spaceFE%GetGlobalElemShapeData(elemsd=elemsd, xij=xij)
      END IF
@shishiousan shishiousan added this to the v23.10.2 milestone Jan 11, 2024
@shishiousan shishiousan changed the title Updates Kernel assemble methods in AbstractKernel_Class Improve Kernel assemble methods in AbstractKernel_Class Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants