- 16 Jun, 2021 2 commits
- 15 Jun, 2021 7 commits
-
-
sparonuz authored
-
sparonuz authored
[run_@r14986]: Updated function escape_string to not add \b if string is ending in a something different than a letter
-
sparonuz authored
[run_@r14986]: New function is_array has only to be used inside the remove indexing, so that function get_type stays untouched. Fix for cast specification with kind key_word since look_up table was updated.
-
sparonuz authored
-
sparonuz authored
-
sparonuz authored
-
sparonuz authored
[Issue#77]: Fix bug in update_blocks: the father block was not correctely set [Issue#77]: Remove CodeCleaner.py [Issue#77]: function read_file removed from ReadSourceFile class. class ReadSourceFile moved to SourceFile [Issue#77]: Removed SourceManager: it was containing functions that belonged somwhere else. [Issue#77]: Fix for issue sparonuz/AutoRPE#147: these scripts are now useless [Issue#77]: Added parameter working precision to function that checks if two types are equivalent [Issue#77]: FIX: get_type_of_content was giving char for argument that are function with char argument, but the function per se was not char [Issue#77]: Module class was loading again lines from source file, which is kind of overkill, since this is already done by SourceFile class. This is moreover wrong is some changes were done in between [Issue#77]: SubprogramCall has now a member to store the block were the call is done [Issue#77]: Functions to add cast to non coherent calls: for the moment has been tested on the firs calls found [Issue#77]: Added function to create a regex for name occurrence: was failing if name contained parenthesis [Issue#77]: Now adds the # include \"single_precision_substitute.h90\" clause [Issue#77]: Added fix for reshapes [Issue#77]: Dependece were not propagated correctely because the id property was used: it did't make much sense [Issue#77]: For the moment commented out the part that should suggest to create an interface [Issue#77]: added function to escape string to put them in regex
-
- 18 May, 2021 2 commits
-
-
sparonuz authored
[Issue#147]: Added flag to mark variables used in external calls [Issue#147]: Function to fill vault has been excorporated. Now makeVault assigns ids to all real variables: these were lines that got lost in refactoring. [Issue#147]: Modified main of Modify code. Now 1) read the banned_var list + vault 2) add var used in external calls to ban list 3) propagate dependency of the ban list [Issue#147]: Moved function change_code form inserter to ModifyCode [Issue#147]: Moved function from Inseter + var used in external have to be banned just if they are RPE type [Issue#147]: Added additional parameter "var_type" for tracking function [Issue#147]: Added incremental_id to variables, to be used during tracking. [Issue#147]: Added var_type to function that propagate dependency. Now var_identifier uses var.incremental_number [Issue#147]: Added tracking of RPE variables [Issue#147]: Modified function load_sources to take extension as input, and to be able to read files in subdirectories [Issue#147]: Extension is now passed to create ReadSourceFile objects, to properly set module_name [Issue#147]: Updated rebuild_text, so as to split lines with \n marker in module.lines [Issue#147]: Moved all function to deal with non preprocessed code into a single file [Issue#147]: Added parameter to read file to avoid removing spaces when reading. Fixed bug in write_file that was adding a last empty line to every file. [Issue#147]: Check that, when looking for allocation of a var we did not match a member with the same name: a_i will also match %a_i [Issue#147]: Storing precision with and without KIND keyword specification was useless: removed
-
sparonuz authored
[run_with_ICE]: Issue sparonuz/AutoRPE#150, now fix_parameter_declaration has been refactored in somethin comprehensible [run_with_ICE]: Added ret val to EPSILON intrinsic [run_with_ICE]: Added escape for . in numbers in function replace variables exact match
-
- 10 May, 2021 1 commit
-
-
sparonuz authored
[ReintroducingExceptionManager]: This changes were done in an old branch, and never merged into master
-
- 29 Apr, 2021 1 commit
-
-
sparonuz authored
-
- 16 Apr, 2021 5 commits
-
-
sparonuz authored
[Issue#142]: Separation between allocatable and non allocatables array was not exlusive, variable were duplicated ( introduced while fixing sparonuz/AutoRPE#132) [Issue#142]: BUGIFX: some variables had the id not set, because it was added to an arg obj instead.
-
sparonuz authored
-
-
sparonuz authored
-
erodrigu authored
Create a function to read the argument params Get the variable from namelist Search the variable based on the namelist name
-
- 08 Apr, 2021 1 commit
-
-
erodrigu authored
Transformed external_types to set return when finding the first ALLOCATE
-
- 07 Apr, 2021 1 commit
-
-
sparonuz authored
-
- 01 Apr, 2021 2 commits
- 31 Mar, 2021 2 commits
-
-
sparonuz authored
[Issue#130]: Fixed error in assignation of rpe with an array reshape. [Issue#130]: Removing multiple spaces from code makes it easier to fix things afterwards [Issue#130]: Fix for intrinsic used as array indexing [Issue#130]: Fixed problem of wrong subtitution with parameter declaration with reshape assignment.
-
erodrigu authored
Put sbits correctly for members after ALLOCATE and removed func find_module_and_line_of_allocation Fixed error with getting the variable name and simplified functions
-
- 30 Mar, 2021 1 commit
-
-
erodrigu authored
Use remove_if_conditionals Loop the arguments searching for the variable we want Split by allocatables or pointer variables
-
- 25 Mar, 2021 1 commit
-
-
[Issue#125]: Now the end of the sbr is searched by name, this implies changes in some source files: https://earth.bsc.es/gitlab/svn/nemo-mirror/-/issues/37 [Issue#125]: Register if a subroutine is defining other subroutine, and if so add public var of this sbr to defined sbr accessible variables [Issue#125]: get_variable does not have to find variables if they are inside intrinsics, we have to clean string in advance if we want the var to be found. [Issue#125]: Fix for Issue sparonuz/AutoRPE#126 [Issue#125]: Fix for keyword argument which have the same name of the actual argument Issue sparonuz/AutoRPE#127
-
- 17 Mar, 2021 1 commit
-
-
sparonuz authored
[Issue#122]: Data statement are no more used, I moved corresponding code for fix in code in https://earth.bsc.es/gitlab/otinto/AutoRPE/-/snippets/75 [Issue#122]: dummy_argument was a never used member of Procedure class. It can be filled and used + Issue #61
-
- 16 Mar, 2021 4 commits
- 15 Mar, 2021 4 commits
- 12 Mar, 2021 1 commit
-
-
sparonuz authored
-
- 11 Mar, 2021 2 commits
- 10 Mar, 2021 2 commits
-
-
sparonuz authored
-
sparonuz authored
[Issue#114]: Variable's precision was not setted correctly: removed most of the array declared in VariablePrecision.py. Now just a dictionary and a lookup table to encode the types defined in the code [Issue#114]: Added type to function that add cast to reals [Issue#114]: Fixed codeChecker to work again, it was needed to change get_real_inline function to check for all INTENT type [Issue#114]: BugFix: get_procedure_inline failed to indentify the call if a variable with a name similar to the called procedure preceded the call (x_solfrack(i,j) = solfrac([...])) [Issue#114]: Removed horrible workaround to calculate type result of operation. There is now a dictionary containing the results
-