-
Notifications
You must be signed in to change notification settings - Fork 2
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
Converting node/element type to integer values #69
Conversation
Stefan,
I have looked it up. It looks good. Any particular reason why are you switching from `medg’ to ‘medge’ ?
What can I help with at this point ?
L
|
Since we introduced a global parameter |
Understood. L
… Since we introduced a global parameter MEDG in the data structure module, I needed to resolve conflicts with subroutines that had local variables named medg (due to Fortran's case insensitivity). I changed the local parameters from medg to medge to resolve the conflict.
> Stefan, I have looked it up. It looks good. Any particular reason why are you switching from `medg’ to ‘medge’ ? What can I help with at this point ? L
|
Merging this into |
* Introducing type parameters in data structure. * Converting type to integer value in src code. * minor * type conversion of VECTOR_POISSON * type conversion of MAXWELL GALERKIN * type conversion of MPI TEST program * type conversion of POISSON GALERKIN * type conversion of POISSON PRIMAL DPG * type conversion of SHEATHED HOSE * type conversion of LASER COMMON * type conversion of LASER UW_COUPLED * bug fix * remove unused * minor change to gitignore * fix bug in href * minor * implicit none and consistent style * minor
Defines
integer
parameters for node and element types inmodule node_types
which are then used inELEMS(element)%etype
andNODES(node)%ntype
instead of the previouscharacter(len=4)
typesELEMS(element)%type
andNODES(node)%type
.This change increases the performance of type comparisons significantly. See also: #67