In [2]:
import re,os,glob2

def convertToRegex(path,prePathRegex):
    (folder,fileName) = os.path.split(path);
    mo = re.match(prePathRegex, path);
    if(mo):
        s = mo.groups(1)[0];
        fileName2 = fileName.replace(".",r"\."); # replace dots
        replaceString = [
                regexFunc(fileName2,s)
            ]
        #print("Change :", fileName,"-->", s)
        return fileName,replaceString;
        
    else:
        raise NameError("No Match: ", mo)
        
def makeFoldersSubCaps(globbingExp,exceptFolder,exceptRename,relTo):
    renames=[]
    folders = []
    for glob in globbingExp:
        folders += glob2.glob(glob)
        
    # filter with regex
    for reg in exceptFolder:
        l = lambda f : not re.match(reg,os.path.realpath(f))
        folders= list(filter( l , folders))
    
    folders = [ os.path.relpath(f, relTo).split("/") for f in folders ]
    # sort longest path first because we mv folders
    folders.sort(key= lambda x: len(x))
    folders.reverse()
    
    
    for dirs in folders:
            
        # loop over all dirs
        origPath= os.path.join(*dirs)
        # change last dir
        change=True
        for reg in exceptRename:
            m = re.match(reg,dirs[-1])
            if m:
                change = False
                break;
        if change:
            dirs[-1] = dirs[-1][0].lower() + dirs[-1][1:]

        newPath = os.path.join(*dirs)
            
        if  origPath != newPath :
            renames.append("git mv %s %s" % (origPath, newPath))
            
    return renames

In [4]:
def makeReplacementsIncludes(globbingExp, func=convertToRegex):
    replacements =[];
    
    files = []
    for glob in globbingExp:
        files += glob2.glob(glob)
        
    for f in files:
        fileName, RegexS = func(f,".*?(?:src|include)/(.*)");
        replacements += RegexS;
        
    return replacements


def makeReplacementsIncludeGuard(globbingExp):
    commands =[];
    
    files = []
    for glob in globbingExp:
        files += glob2.glob(glob)
        
    for f in files:
            m = re.match(".*?include/(.*)",f)
            if not m:
                raise NameError("No match for file: %s" % f)
                
            newInclude = (m.groups(1)[0]).replace(".","_").replace("/","_")
                
            regex = r'"s@#\s*ifndef\s*(\w*)\s*\n\s*#\s*define\s*(\w*)@#ifndef %s\n#define %s@s"' % (newInclude, newInclude)
            
            
            command = r'fileRegexReplace -f -r %s %s' % (regex, os.path.abspath(f))
            commands.append(command)
    return commands

Granular RigidBody Simulation Framework


In [7]:
folder = "../../../"

In [6]:
# rename all folders to smallcaps
globs = [folder + "**/"]


commands = makeFoldersSubCaps(globs,
                              exceptFolder=[".*?media",".*?external",".*?Doc",".*?Simulations"], 
                              exceptRename=["external", "GRSF", "LMatrixGeneration"], 
                              relTo="../")

f = open("../MoveFolders.sh",'tw');
f.write("#!/bin/bash\nshopt -s expand_aliases\nsource ~/.bash_aliases\n")
for c in commands:
    f.write(c + "\n");
f.close();

In [5]:
regexFunc = lambda fileName2,s : "s@%s@%s@g" % (r'#include\s*(?:\"|<)(?!ApproxMVBB).*?/'+fileName2+r'(?:\"|>)', r'#include \"' + s + r'\"')


globs = [folder + "common/include/**/*.*", 
        folder + "projects/granularRigidBodySimulation/include/**/*.*",
        folder + "projects/granularRigidBodySimulationMPI/include/**/*.*",
        folder + "projects/granularRigidBodySimulationGUI/include/**/*.*",
        folder + "projects/converter/include/**/*.*"]

# #include replacements
replacements = makeReplacementsIncludes(globs)
#print(replacements)
s = [r'-r "%s" ' %s + "  \\\n" for s in replacements]
regex = " ".join(s);
command = r'fileRegexReplace -f %s -R ".*\.(hpp|cpp|icc)" -e "*/external/*" ' % regex + "../"

f = open("../../ReplaceIncludes.sh",'tw');
f.write("#!/bin/bash\nshopt -s expand_aliases\nsource ~/.bash_aliases\n")
f.write(command);
f.close();

regexFunc =  lambda fileName2,s : r"s@%s@%s@g" % (r'(src|include)(?!/ApproxMVBB).*?/'+fileName2 , r'\1/' + s )

globs = [folder + "common/include/**/*.*", 
        folder + "projects/granularRigidBodySimulation/include/**/*.*",
        folder + "projects/granularRigidBodySimulationMPI/include/**/*.*",
        folder + "projects/granularRigidBodySimulationGUI/include/**/*.*",
        folder + "projects/converter/include/**/*.*",
        folder + "common/src/**/*.*", 
        folder + "projects/granularRigidBodySimulation/src/**/*.*",
        folder + "projects/granularRigidBodySimulationMPI/src/**/*.*",
        folder + "projects/granularRigidBodySimulationGUI/src/**/*.*",
        folder + "projects/converter/src/**/*.*"]
# cmake replacements (src and includes)
replacements = makeReplacementsIncludes(globs,convertToRegex)
#print(replacements)
s = [r'-r "%s" ' %s + "  \\\n" for s in replacements]
regex = " ".join(s);
command = r'fileRegexReplace -f %s -R ".*(CMakeLists.txt)" -e "*/external/*" ' % regex + "../"

f = open("../../ReplaceIncludesCmake.sh",'tw');
f.write("#!/bin/bash\nshopt -s expand_aliases\nsource ~/.bash_aliases\n")
f.write(command);
f.close();

In [6]:
globs = [folder + "common/include/**/*.*", 
        folder + "projects/granularRigidBodySimulation/include/**/*.*",
        folder + "projects/granularRigidBodySimulationMPI/include/**/*.*",
        folder + "projects/granularRigidBodySimulationGUI/include/**/*.*",
        folder + "projects/converter/include/**/*.*"]

commands = makeReplacementsIncludeGuard(globs)
print(commands)
s = "\n".join(commands);
f = open("../../ReplaceIncludeGuards.sh",'tw');
f.write("#!/bin/bash\nshopt -s expand_aliases\nsource ~/.bash_aliases\n")
f.write(s);
f.close();


['fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_DemangleTypes_hpp\\n#define GRSF_common_DemangleTypes_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/DemangleTypes.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_CPUTimer_hpp\\n#define GRSF_common_CPUTimer_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/CPUTimer.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_SerializationHelpersTuple_hpp\\n#define GRSF_common_SerializationHelpersTuple_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/SerializationHelpersTuple.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_GetFileDescriptorInfo_hpp\\n#define GRSF_common_GetFileDescriptorInfo_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/GetFileDescriptorInfo.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_ProgressBarCL_hpp\\n#define GRSF_common_ProgressBarCL_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/ProgressBarCL.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_BitCount_hpp\\n#define GRSF_common_BitCount_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/BitCount.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_HDF5Helpers_hpp\\n#define GRSF_common_HDF5Helpers_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/HDF5Helpers.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_SfinaeMacros_hpp\\n#define GRSF_common_SfinaeMacros_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/SfinaeMacros.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_ApplicationCLOptions_hpp\\n#define GRSF_common_ApplicationCLOptions_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/ApplicationCLOptions.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_ContainerTag_hpp\\n#define GRSF_common_ContainerTag_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/ContainerTag.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_UnorderedContainerHelpers_hpp\\n#define GRSF_common_UnorderedContainerHelpers_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/UnorderedContainerHelpers.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_BitRepresentation_hpp\\n#define GRSF_common_BitRepresentation_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/BitRepresentation.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_XMLMacros_hpp\\n#define GRSF_common_XMLMacros_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/XMLMacros.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_TupleHelper_hpp\\n#define GRSF_common_TupleHelper_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/TupleHelper.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_EnumClassHelper_hpp\\n#define GRSF_common_EnumClassHelper_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/EnumClassHelper.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_LinearReusableStorage_hpp\\n#define GRSF_common_LinearReusableStorage_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/LinearReusableStorage.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_TypenameComparision_hpp\\n#define GRSF_common_TypenameComparision_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/TypenameComparision.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_StaticAssert_hpp\\n#define GRSF_common_StaticAssert_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/StaticAssert.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_Range_hpp\\n#define GRSF_common_Range_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/Range.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_HasMemberFunction_hpp\\n#define GRSF_common_HasMemberFunction_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/HasMemberFunction.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_ApplicationSignalHandler_hpp\\n#define GRSF_common_ApplicationSignalHandler_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/ApplicationSignalHandler.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_BinaryFile_hpp\\n#define GRSF_common_BinaryFile_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/BinaryFile.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_ExpandParameterPack_hpp\\n#define GRSF_common_ExpandParameterPack_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/ExpandParameterPack.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_FastStringConversion_hpp\\n#define GRSF_common_FastStringConversion_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/FastStringConversion.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_ColorGradient_hpp\\n#define GRSF_common_ColorGradient_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/ColorGradient.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_SimpleLogger_hpp\\n#define GRSF_common_SimpleLogger_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/SimpleLogger.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_MetaHelper_hpp\\n#define GRSF_common_MetaHelper_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/MetaHelper.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_Singleton_hpp\\n#define GRSF_common_Singleton_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/Singleton.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_PlatformDefines_hpp\\n#define GRSF_common_PlatformDefines_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/PlatformDefines.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_CompileTimeArray_hpp\\n#define GRSF_common_CompileTimeArray_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/CompileTimeArray.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_CommonFunctions_hpp\\n#define GRSF_common_CommonFunctions_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/CommonFunctions.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_FloatingPointType_hpp\\n#define GRSF_common_FloatingPointType_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/FloatingPointType.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_SerializationHelpersEigen_hpp\\n#define GRSF_common_SerializationHelpersEigen_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/SerializationHelpersEigen.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_Exception_hpp\\n#define GRSF_common_Exception_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/Exception.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_Delegates_hpp\\n#define GRSF_common_Delegates_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/Delegates.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_foreach_macro_hpp\\n#define GRSF_common_foreach_macro_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/common/foreach_macro.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_singeltons_FileManager_hpp\\n#define GRSF_singeltons_FileManager_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/singeltons/FileManager.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_systems_SceneParserModules_hpp\\n#define GRSF_systems_SceneParserModules_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/systems/SceneParserModules.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_systems_SceneParserBaseTraits_hpp\\n#define GRSF_systems_SceneParserBaseTraits_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/systems/SceneParserBaseTraits.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_systems_SceneParser_hpp\\n#define GRSF_systems_SceneParser_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/systems/SceneParser.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_systems_SharedBufferDynSys_hpp\\n#define GRSF_systems_SharedBufferDynSys_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/systems/SharedBufferDynSys.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_StopNode_hpp\\n#define GRSF_logic_StopNode_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/StopNode.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_ConstantNode_hpp\\n#define GRSF_logic_ConstantNode_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/ConstantNode.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_SimpleFunction_hpp\\n#define GRSF_logic_SimpleFunction_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/SimpleFunction.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_InnerProductNode_hpp\\n#define GRSF_logic_InnerProductNode_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/InnerProductNode.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_LogicNodeGroup_hpp\\n#define GRSF_logic_LogicNodeGroup_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/LogicNodeGroup.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_ExecutionTreeInOut_hpp\\n#define GRSF_logic_ExecutionTreeInOut_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/ExecutionTreeInOut.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_StringFormatNode_hpp\\n#define GRSF_logic_StringFormatNode_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/StringFormatNode.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_LogicCommon_hpp\\n#define GRSF_logic_LogicCommon_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/LogicCommon.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_DummyNode_hpp\\n#define GRSF_logic_DummyNode_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/DummyNode.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_LogicNode_hpp\\n#define GRSF_logic_LogicNode_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/LogicNode.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_LogicSocket_hpp\\n#define GRSF_logic_LogicSocket_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/LogicSocket.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_XMLLineWriter_hpp\\n#define GRSF_logic_XMLLineWriter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/XMLLineWriter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_LineWriter_hpp\\n#define GRSF_logic_LineWriter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/LineWriter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_NormNode_hpp\\n#define GRSF_logic_NormNode_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/NormNode.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_VectorToComponentsNode_hpp\\n#define GRSF_logic_VectorToComponentsNode_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/VectorToComponentsNode.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_Transform3DNode_hpp\\n#define GRSF_logic_Transform3DNode_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/Transform3DNode.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_LookUpTable_hpp\\n#define GRSF_logic_LookUpTable_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/logic/LookUpTable.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_SharedBufferPlayback_hpp\\n#define GRSF_dynamics_buffers_SharedBufferPlayback_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/SharedBufferPlayback.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_StateRecorderResampler_hpp\\n#define GRSF_dynamics_buffers_StateRecorderResampler_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/StateRecorderResampler.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_StatePoolVisBackFront_hpp\\n#define GRSF_dynamics_buffers_StatePoolVisBackFront_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/StatePoolVisBackFront.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_StateRecorder_hpp\\n#define GRSF_dynamics_buffers_StateRecorder_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/StateRecorder.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_StatePool_hpp\\n#define GRSF_dynamics_buffers_StatePool_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/StatePool.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_StateRingPoolVisBackFront_hpp\\n#define GRSF_dynamics_buffers_StateRingPoolVisBackFront_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/StateRingPoolVisBackFront.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_StateRecorderBody_hpp\\n#define GRSF_dynamics_buffers_StateRecorderBody_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/StateRecorderBody.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_FrontBackBuffer_hpp\\n#define GRSF_dynamics_buffers_FrontBackBuffer_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/FrontBackBuffer.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_DynamicsState_hpp\\n#define GRSF_dynamics_buffers_DynamicsState_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/DynamicsState.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_StateRecorderProcess_hpp\\n#define GRSF_dynamics_buffers_StateRecorderProcess_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/StateRecorderProcess.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_RecorderSettings_hpp\\n#define GRSF_dynamics_buffers_RecorderSettings_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/RecorderSettings.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_RigidBodyState_hpp\\n#define GRSF_dynamics_buffers_RigidBodyState_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/buffers/RigidBodyState.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_KdTree_hpp\\n#define GRSF_dynamics_general_KdTree_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/KdTree.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_SerializationHelpersKdTree_hpp\\n#define GRSF_dynamics_general_SerializationHelpersKdTree_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/SerializationHelpersKdTree.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_QuaternionHelpers_hpp\\n#define GRSF_dynamics_general_QuaternionHelpers_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/QuaternionHelpers.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MultiBodySimFile_hpp\\n#define GRSF_dynamics_general_MultiBodySimFile_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/MultiBodySimFile.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MultiBodySimFileIOHelpers_hpp\\n#define GRSF_dynamics_general_MultiBodySimFileIOHelpers_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/MultiBodySimFileIOHelpers.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_AddGyroTermVisitor_hpp\\n#define GRSF_dynamics_general_AddGyroTermVisitor_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/AddGyroTermVisitor.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_ParserFunctions_hpp\\n#define GRSF_dynamics_general_ParserFunctions_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/ParserFunctions.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_RigidBodyFunctions_hpp\\n#define GRSF_dynamics_general_RigidBodyFunctions_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/RigidBodyFunctions.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_DynamicsSystem_hpp\\n#define GRSF_dynamics_general_DynamicsSystem_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/DynamicsSystem.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_AdditionalBodyData_hpp\\n#define GRSF_dynamics_general_AdditionalBodyData_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/AdditionalBodyData.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_RigidBodyContainer_hpp\\n#define GRSF_dynamics_general_RigidBodyContainer_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/RigidBodyContainer.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MoreauTimeStepper_hpp\\n#define GRSF_dynamics_general_MoreauTimeStepper_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/MoreauTimeStepper.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_TimeStepperBase_icc\\n#define GRSF_dynamics_general_TimeStepperBase_icc@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/TimeStepperBase.icc', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_VectorToSkewMatrix_hpp\\n#define GRSF_dynamics_general_VectorToSkewMatrix_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/VectorToSkewMatrix.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_TimeStepperSettings_hpp\\n#define GRSF_dynamics_general_TimeStepperSettings_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/TimeStepperSettings.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MatrixHelpers_hpp\\n#define GRSF_dynamics_general_MatrixHelpers_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/MatrixHelpers.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_DynamicsSystemBase_hpp\\n#define GRSF_dynamics_general_DynamicsSystemBase_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/DynamicsSystemBase.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_PapesTimeStepper_hpp\\n#define GRSF_dynamics_general_PapesTimeStepper_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/PapesTimeStepper.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_PrintGeometryDetails_hpp\\n#define GRSF_dynamics_general_PrintGeometryDetails_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/PrintGeometryDetails.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_RigidBodyId_hpp\\n#define GRSF_dynamics_general_RigidBodyId_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/RigidBodyId.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_TimeStepperBase_hpp\\n#define GRSF_dynamics_general_TimeStepperBase_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/TimeStepperBase.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_RigidBodySolverData_hpp\\n#define GRSF_dynamics_general_RigidBodySolverData_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/RigidBodySolverData.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MakeCoordinateSystem_hpp\\n#define GRSF_dynamics_general_MakeCoordinateSystem_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/MakeCoordinateSystem.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_RigidBody_hpp\\n#define GRSF_dynamics_general_RigidBody_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/RigidBody.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_InertiaTensorCalculations_hpp\\n#define GRSF_dynamics_general_InertiaTensorCalculations_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/InertiaTensorCalculations.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MyContainerTypeDefs_hpp\\n#define GRSF_dynamics_general_MyContainerTypeDefs_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/MyContainerTypeDefs.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MeshData_hpp\\n#define GRSF_dynamics_general_MeshData_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/MeshData.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_CartesianGrid_hpp\\n#define GRSF_dynamics_general_CartesianGrid_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/CartesianGrid.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_ExternalForces_hpp\\n#define GRSF_dynamics_general_ExternalForces_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/ExternalForces.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MyMatrixTypeDefs_hpp\\n#define GRSF_dynamics_general_MyMatrixTypeDefs_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/MyMatrixTypeDefs.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_InitialConditionBodies_hpp\\n#define GRSF_dynamics_general_InitialConditionBodies_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/InitialConditionBodies.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_LayoutConfigTypeDefs_hpp\\n#define GRSF_dynamics_general_LayoutConfigTypeDefs_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/general/LayoutConfigTypeDefs.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_ColliderRay_hpp\\n#define GRSF_dynamics_collision_ColliderRay_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/ColliderRay.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_SerializationHelpersGeometries_hpp\\n#define GRSF_dynamics_collision_SerializationHelpersGeometries_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/SerializationHelpersGeometries.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_CollisionSolver_hpp\\n#define GRSF_dynamics_collision_CollisionSolver_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/CollisionSolver.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_Collider_hpp\\n#define GRSF_dynamics_collision_Collider_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/Collider.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_ContactFrame_hpp\\n#define GRSF_dynamics_collision_ContactFrame_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/ContactFrame.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_ContactTag_hpp\\n#define GRSF_dynamics_collision_ContactTag_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/ContactTag.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_CollisionFunctions_hpp\\n#define GRSF_dynamics_collision_CollisionFunctions_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/CollisionFunctions.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_CollisionData_hpp\\n#define GRSF_dynamics_collision_CollisionData_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/CollisionData.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_Geometries_hpp\\n#define GRSF_dynamics_collision_Geometries_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/Geometries.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_ContactDelegateSupport_hpp\\n#define GRSF_dynamics_collision_ContactDelegateSupport_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/ContactDelegateSupport.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactParameterMap_hpp\\n#define GRSF_dynamics_inclusion_ContactParameterMap_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ContactParameterMap.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactPercussion_hpp\\n#define GRSF_dynamics_inclusion_ContactPercussion_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ContactPercussion.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactGraphVisitors_hpp\\n#define GRSF_dynamics_inclusion_ContactGraphVisitors_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ContactGraphVisitors.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionSolverNTContactOrdered_hpp\\n#define GRSF_dynamics_inclusion_InclusionSolverNTContactOrdered_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/InclusionSolverNTContactOrdered.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactGraphNodeData_hpp\\n#define GRSF_dynamics_inclusion_ContactGraphNodeData_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ContactGraphNodeData.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_PercussionPool_hpp\\n#define GRSF_dynamics_inclusion_PercussionPool_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/PercussionPool.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionSolverSettings_hpp\\n#define GRSF_dynamics_inclusion_InclusionSolverSettings_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/InclusionSolverSettings.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionSolverCONoG_hpp\\n#define GRSF_dynamics_inclusion_InclusionSolverCONoG_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/InclusionSolverCONoG.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactFeasibilityTable_hpp\\n#define GRSF_dynamics_inclusion_ContactFeasibilityTable_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ContactFeasibilityTable.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionSolverNT_hpp\\n#define GRSF_dynamics_inclusion_InclusionSolverNT_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/InclusionSolverNT.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionSolverCO_hpp\\n#define GRSF_dynamics_inclusion_InclusionSolverCO_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/InclusionSolverCO.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ConvexSets_hpp\\n#define GRSF_dynamics_inclusion_ConvexSets_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ConvexSets.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactGraph_hpp\\n#define GRSF_dynamics_inclusion_ContactGraph_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ContactGraph.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_GeneralGraph_hpp\\n#define GRSF_dynamics_inclusion_GeneralGraph_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/GeneralGraph.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionSolverParameters_hpp\\n#define GRSF_dynamics_inclusion_InclusionSolverParameters_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/InclusionSolverParameters.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactParameter_hpp\\n#define GRSF_dynamics_inclusion_ContactParameter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ContactParameter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactModels_hpp\\n#define GRSF_dynamics_inclusion_ContactModels_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ContactModels.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ProxFunctions_hpp\\n#define GRSF_dynamics_inclusion_ProxFunctions_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/inclusion/ProxFunctions.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_geometry_HalfspaceGeometry_hpp\\n#define GRSF_dynamics_collision_geometry_HalfspaceGeometry_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/geometry/HalfspaceGeometry.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_geometry_PlaneGeometry_hpp\\n#define GRSF_dynamics_collision_geometry_PlaneGeometry_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/geometry/PlaneGeometry.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_geometry_Ray_hpp\\n#define GRSF_dynamics_collision_geometry_Ray_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/geometry/Ray.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_geometry_MeshGeometry_hpp\\n#define GRSF_dynamics_collision_geometry_MeshGeometry_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/geometry/MeshGeometry.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_geometry_SphereGeometry_hpp\\n#define GRSF_dynamics_collision_geometry_SphereGeometry_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/geometry/SphereGeometry.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_geometry_CapsuleGeometry_hpp\\n#define GRSF_dynamics_collision_geometry_CapsuleGeometry_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/geometry/CapsuleGeometry.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_geometry_BoxGeometry_hpp\\n#define GRSF_dynamics_collision_geometry_BoxGeometry_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/geometry/BoxGeometry.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_geometry_AABB_hpp\\n#define GRSF_dynamics_collision_geometry_AABB_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/geometry/AABB.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_geometry_OOBB_hpp\\n#define GRSF_dynamics_collision_geometry_OOBB_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/common/include/GRSF/dynamics/collision/geometry/OOBB.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_LogDefines_hpp\\n#define GRSF_common_LogDefines_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulation/include/GRSF/common/LogDefines.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_TypeDefs_hpp\\n#define GRSF_common_TypeDefs_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulation/include/GRSF/common/TypeDefs.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_simulationManager_SimulationManager_hpp\\n#define GRSF_states_simulationManager_SimulationManager_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulation/include/GRSF/states/simulationManager/SimulationManager.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_LogDefines_hpp\\n#define GRSF_common_LogDefines_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/common/LogDefines.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_MortonKey_hpp\\n#define GRSF_common_MortonKey_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/common/MortonKey.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_TypeDefs_hpp\\n#define GRSF_common_TypeDefs_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/common/TypeDefs.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_AssertionDebug_hpp\\n#define GRSF_common_AssertionDebug_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/common/Asserts.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_RedirectOutput_hpp\\n#define GRSF_common_RedirectOutput_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/common/RedirectOutput.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_singeltons_MPIGlobalCommunicators_hpp\\n#define GRSF_singeltons_MPIGlobalCommunicators_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/singeltons/MPIGlobalCommunicators.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_systems_SceneParserModulesMPI_hpp\\n#define GRSF_systems_SceneParserModulesMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/systems/SceneParserModulesMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_systems_SceneParserModulesCreatorTB_hpp\\n#define GRSF_systems_SceneParserModulesCreatorTB_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/systems/SceneParserModulesCreatorTB.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_systems_SceneParserMPI_hpp\\n#define GRSF_systems_SceneParserMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/systems/SceneParserMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_configFiles_ConfigureFile_hpp_in\\n#define GRSF_configFiles_ConfigureFile_hpp_in@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/configFiles/ConfigureFile.hpp.in', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_simulationManager_SimulationManagerMPI_icc\\n#define GRSF_states_simulationManager_SimulationManagerMPI_icc@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/states/simulationManager/SimulationManagerMPI.icc', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_simulationManager_SimulationManagerMPI_hpp\\n#define GRSF_states_simulationManager_SimulationManagerMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/states/simulationManager/SimulationManagerMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_buffers_StateRecorderMPI_hpp\\n#define GRSF_dynamics_buffers_StateRecorderMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/buffers/StateRecorderMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPITopologyBuilderSettings_hpp\\n#define GRSF_dynamics_general_MPITopologyBuilderSettings_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPITopologyBuilderSettings.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_RigidBodyGarbageCollector_hpp\\n#define GRSF_dynamics_general_RigidBodyGarbageCollector_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/RigidBodyGarbageCollector.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_BodyInfoMap_hpp\\n#define GRSF_dynamics_general_BodyInfoMap_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/BodyInfoMap.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_RigidBodyMPI_hpp\\n#define GRSF_dynamics_general_RigidBodyMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/RigidBodyMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPICommunicatorId_hpp\\n#define GRSF_dynamics_general_MPICommunicatorId_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPICommunicatorId.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPIInformation_hpp\\n#define GRSF_dynamics_general_MPIInformation_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPIInformation.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPITopologyKdTree_hpp\\n#define GRSF_dynamics_general_MPITopologyKdTree_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPITopologyKdTree.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_NeighbourData_hpp\\n#define GRSF_dynamics_general_NeighbourData_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/NeighbourData.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_NeighbourMap_hpp\\n#define GRSF_dynamics_general_NeighbourMap_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/NeighbourMap.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPITopologyBuilder_fwd_hpp\\n#define GRSF_dynamics_general_MPITopologyBuilder_fwd_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPITopologyBuilder_fwd.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_NeighbourDataBodyCommunication_hpp\\n#define GRSF_dynamics_general_NeighbourDataBodyCommunication_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/NeighbourDataBodyCommunication.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPITopologyBuilder_hpp\\n#define GRSF_dynamics_general_MPITopologyBuilder_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPITopologyBuilder.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPIMessageTag_hpp\\n#define GRSF_dynamics_general_MPIMessageTag_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPIMessageTag.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPITopologyVisitors_hpp\\n#define GRSF_dynamics_general_MPITopologyVisitors_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPITopologyVisitors.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MultiBodySimFilePart_hpp\\n#define GRSF_dynamics_general_MultiBodySimFilePart_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MultiBodySimFilePart.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_DynamicsSystemMPI_hpp\\n#define GRSF_dynamics_general_DynamicsSystemMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/DynamicsSystemMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_BodyCommunicator_hpp\\n#define GRSF_dynamics_general_BodyCommunicator_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/BodyCommunicator.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPITopology_hpp\\n#define GRSF_dynamics_general_MPITopology_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPITopology.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPIRankId_hpp\\n#define GRSF_dynamics_general_MPIRankId_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPIRankId.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MultiBodySimFileMPI_hpp\\n#define GRSF_dynamics_general_MultiBodySimFileMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MultiBodySimFileMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MoreauTimeStepperMPI_hpp\\n#define GRSF_dynamics_general_MoreauTimeStepperMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MoreauTimeStepperMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPICommunication_hpp\\n#define GRSF_dynamics_general_MPICommunication_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPICommunication.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPITopologyGrid_hpp\\n#define GRSF_dynamics_general_MPITopologyGrid_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPITopologyGrid.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPIMessages_hpp\\n#define GRSF_dynamics_general_MPIMessages_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPIMessages.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_MPIDataTypes_hpp\\n#define GRSF_dynamics_general_MPIDataTypes_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/MPIDataTypes.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_RigidBodyFunctionsMPI_hpp\\n#define GRSF_dynamics_general_RigidBodyFunctionsMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/RigidBodyFunctionsMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_RigidBodySolverDataMPI_hpp\\n#define GRSF_dynamics_general_RigidBodySolverDataMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/general/RigidBodySolverDataMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_collision_CollisionSolverMPI_hpp\\n#define GRSF_dynamics_collision_CollisionSolverMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/collision/CollisionSolverMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactGraphMPI_icc\\n#define GRSF_dynamics_inclusion_ContactGraphMPI_icc@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/ContactGraphMPI.icc', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionSolverCONoGMPI_hpp\\n#define GRSF_dynamics_inclusion_InclusionSolverCONoGMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/InclusionSolverCONoGMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactGraphNodeDataMPI_hpp\\n#define GRSF_dynamics_inclusion_ContactGraphNodeDataMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/ContactGraphNodeDataMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionSolverSettingsMPI_hpp\\n#define GRSF_dynamics_inclusion_InclusionSolverSettingsMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/InclusionSolverSettingsMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionCommunicator_icc\\n#define GRSF_dynamics_inclusion_InclusionCommunicator_icc@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/InclusionCommunicator.icc', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_NeighbourDataInclusionCommunication_hpp\\n#define GRSF_dynamics_inclusion_NeighbourDataInclusionCommunication_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/NeighbourDataInclusionCommunication.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_InclusionCommunicator_hpp\\n#define GRSF_dynamics_inclusion_InclusionCommunicator_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/InclusionCommunicator.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactGraphMPI_hpp\\n#define GRSF_dynamics_inclusion_ContactGraphMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/ContactGraphMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_ContactGraphVisitorsMPI_hpp\\n#define GRSF_dynamics_inclusion_ContactGraphVisitorsMPI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/ContactGraphVisitorsMPI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_LMatrixGeneration_MultiProcessorProx2_nb\\n#define GRSF_dynamics_inclusion_LMatrixGeneration_MultiProcessorProx2_nb@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/LMatrixGeneration/MultiProcessorProx2.nb', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_LMatrixGeneration_BatchGenerateCode-MultProcessorProx2_nb\\n#define GRSF_dynamics_inclusion_LMatrixGeneration_BatchGenerateCode-MultProcessorProx2_nb@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/LMatrixGeneration/BatchGenerateCode-MultProcessorProx2.nb', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_inclusion_LMatrixGeneration_generate_LInvMatrix_Multiplicity_hpp\\n#define GRSF_dynamics_inclusion_LMatrixGeneration_generate_LInvMatrix_Multiplicity_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationMPI/include/GRSF/dynamics/inclusion/LMatrixGeneration/generate_LInvMatrix_Multiplicity.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_DoxygenModules_hpp\\n#define GRSF_DoxygenModules_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/DoxygenModules.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_OgrePointCloud_hpp\\n#define GRSF_common_OgrePointCloud_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/OgrePointCloud.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_Line3D_h\\n#define GRSF_common_Line3D_h@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/Line3D.h', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_OgreMeshExtraction_hpp\\n#define GRSF_common_OgreMeshExtraction_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/OgreMeshExtraction.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_LogDefines_hpp\\n#define GRSF_common_LogDefines_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/LogDefines.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_DynamicRenderable_hpp\\n#define GRSF_common_DynamicRenderable_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/DynamicRenderable.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_CommonFunctionsOgre_hpp\\n#define GRSF_common_CommonFunctionsOgre_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/CommonFunctionsOgre.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_DynamicCoordinateFrames_hpp\\n#define GRSF_common_DynamicCoordinateFrames_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/DynamicCoordinateFrames.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_AxisObject_hpp\\n#define GRSF_common_AxisObject_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/AxisObject.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_TypeDefs_hpp\\n#define GRSF_common_TypeDefs_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/TypeDefs.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_OgreSceneManagerDeleter_hpp\\n#define GRSF_common_OgreSceneManagerDeleter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/OgreSceneManagerDeleter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_DynamicLines_hpp\\n#define GRSF_common_DynamicLines_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/DynamicLines.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_AssertionDebug_hpp\\n#define GRSF_common_AssertionDebug_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/common/Asserts.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_systems_SceneParserGUI_hpp\\n#define GRSF_systems_SceneParserGUI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/systems/SceneParserGUI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_SimulationState_hpp\\n#define GRSF_states_SimulationState_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/SimulationState.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_VideoDropper_hpp\\n#define GRSF_states_VideoDropper_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/VideoDropper.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_PlaybackState_hpp\\n#define GRSF_states_PlaybackState_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/PlaybackState.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_AppStateManager_hpp\\n#define GRSF_states_AppStateManager_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/AppStateManager.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_AppState_hpp\\n#define GRSF_states_AppState_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/AppState.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_app_MenuMouse_hpp\\n#define GRSF_app_MenuMouse_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/app/MenuMouse.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_app_App_hpp\\n#define GRSF_app_App_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/app/App.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_app_OrbitCamera_hpp\\n#define GRSF_app_OrbitCamera_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/app/OrbitCamera.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_configFiles_ConfigureFile_hpp_in\\n#define GRSF_configFiles_ConfigureFile_hpp_in@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/configFiles/ConfigureFile.hpp.in', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_singeltons_contexts_InputContext_hpp\\n#define GRSF_singeltons_contexts_InputContext_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/singeltons/contexts/InputContext.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_singeltons_contexts_RenderContext_hpp\\n#define GRSF_singeltons_contexts_RenderContext_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/singeltons/contexts/RenderContext.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_singeltons_contexts_GuiContext_hpp\\n#define GRSF_singeltons_contexts_GuiContext_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/singeltons/contexts/GuiContext.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_simulationManager_PlaybackManagerBase_hpp\\n#define GRSF_states_simulationManager_PlaybackManagerBase_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/simulationManager/PlaybackManagerBase.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_simulationManager_SimulationManagerBase_hpp\\n#define GRSF_states_simulationManager_SimulationManagerBase_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/simulationManager/SimulationManagerBase.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_simulationManager_SimulationManagerGUI_hpp\\n#define GRSF_states_simulationManager_SimulationManagerGUI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/simulationManager/SimulationManagerGUI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_simulationManager_PlaybackManager_hpp\\n#define GRSF_states_simulationManager_PlaybackManager_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/simulationManager/PlaybackManager.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_states_simulationManager_PlaybackLoader_hpp\\n#define GRSF_states_simulationManager_PlaybackLoader_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/states/simulationManager/PlaybackLoader.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_dynamics_general_DynamicsSystemGUI_hpp\\n#define GRSF_dynamics_general_DynamicsSystemGUI_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/granularRigidBodySimulationGUI/include/GRSF/dynamics/general/DynamicsSystemGUI.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_LogDefines_hpp\\n#define GRSF_common_LogDefines_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/common/LogDefines.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_TypeDefs_hpp\\n#define GRSF_common_TypeDefs_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/common/TypeDefs.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_common_ApplicationCLOptionsConverter_hpp\\n#define GRSF_common_ApplicationCLOptionsConverter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/common/ApplicationCLOptionsConverter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_SimFileConverter_hpp\\n#define GRSF_converters_SimFileConverter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/SimFileConverter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_general_LogicParserBaseTraits_hpp\\n#define GRSF_general_LogicParserBaseTraits_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/general/LogicParserBaseTraits.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_general_LogicParserTraits_hpp\\n#define GRSF_general_LogicParserTraits_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/general/LogicParserTraits.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_general_LogicParserTraitsMacro_hpp\\n#define GRSF_general_LogicParserTraitsMacro_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/general/LogicParserTraitsMacro.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_general_LogicParser_hpp\\n#define GRSF_general_LogicParser_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/general/LogicParser.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_general_SimFileExecutionGraphNodes_hpp\\n#define GRSF_general_SimFileExecutionGraphNodes_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/general/SimFileExecutionGraphNodes.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_general_LogicParserModules_hpp\\n#define GRSF_general_LogicParserModules_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/general/LogicParserModules.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_general_SimFileExecutionGraph_hpp\\n#define GRSF_general_SimFileExecutionGraph_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/general/SimFileExecutionGraph.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_general_LogicParserBaseTraitsMacro_hpp\\n#define GRSF_general_LogicParserBaseTraitsMacro_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/general/LogicParserBaseTraitsMacro.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_logic_LogicTypes_hpp\\n#define GRSF_logic_LogicTypes_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/logic/LogicTypes.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_gridder_GridderData_hpp\\n#define GRSF_converters_gridder_GridderData_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/gridder/GridderData.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_gridder_GridExtractionSettings_hpp\\n#define GRSF_converters_gridder_GridExtractionSettings_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/gridder/GridExtractionSettings.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_gridder_GridderLogicParserGenerators_hpp\\n#define GRSF_converters_gridder_GridderLogicParserGenerators_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/gridder/GridderLogicParserGenerators.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_gridder_GridderLogicParserTraits_hpp\\n#define GRSF_converters_gridder_GridderLogicParserTraits_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/gridder/GridderLogicParserTraits.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_gridder_GridderLogicParser_hpp\\n#define GRSF_converters_gridder_GridderLogicParser_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/gridder/GridderLogicParser.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_gridder_GridExtractor_hpp\\n#define GRSF_converters_gridder_GridExtractor_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/gridder/GridExtractor.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_gridder_GridderLogicParserTraitsMacro_hpp\\n#define GRSF_converters_gridder_GridderLogicParserTraitsMacro_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/gridder/GridderLogicParserTraitsMacro.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_gridder_GridderLogicParserModules_hpp\\n#define GRSF_converters_gridder_GridderLogicParserModules_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/gridder/GridderLogicParserModules.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_gridder_GridderConverter_hpp\\n#define GRSF_converters_gridder_GridderConverter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/gridder/GridderConverter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_simInfo_SimFileInfo_hpp\\n#define GRSF_converters_simInfo_SimFileInfo_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/simInfo/SimFileInfo.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_simResampler_SimFileResampler_hpp\\n#define GRSF_converters_simResampler_SimFileResampler_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/simResampler/SimFileResampler.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_analyzer_AnalyzerLogicParserTraits_hpp\\n#define GRSF_converters_analyzer_AnalyzerLogicParserTraits_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/analyzer/AnalyzerLogicParserTraits.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_analyzer_AnalyzerConverter_hpp\\n#define GRSF_converters_analyzer_AnalyzerConverter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/analyzer/AnalyzerConverter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_analyzer_AnalyzerLogicParser_hpp\\n#define GRSF_converters_analyzer_AnalyzerLogicParser_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/analyzer/AnalyzerLogicParser.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_analyzer_AnalyzerLogicParserGenerators_hpp\\n#define GRSF_converters_analyzer_AnalyzerLogicParserGenerators_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/analyzer/AnalyzerLogicParserGenerators.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_analyzer_AnalyzerLogicParserTraitsMacro_hpp\\n#define GRSF_converters_analyzer_AnalyzerLogicParserTraitsMacro_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/analyzer/AnalyzerLogicParserTraitsMacro.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderLogicParserModules_hpp\\n#define GRSF_converters_renderer_RenderLogicParserModules_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderLogicParserModules.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderExecutionGraphNodes_hpp\\n#define GRSF_converters_renderer_RenderExecutionGraphNodes_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderExecutionGraphNodes.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderConverter_hpp\\n#define GRSF_converters_renderer_RenderConverter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderConverter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderMaterial_hpp\\n#define GRSF_converters_renderer_RenderMaterial_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderMaterial.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RendermanGeometryWriter_hpp\\n#define GRSF_converters_renderer_RendermanGeometryWriter_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RendermanGeometryWriter.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderData_hpp\\n#define GRSF_converters_renderer_RenderData_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderData.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderLogicParserTraits_hpp\\n#define GRSF_converters_renderer_RenderLogicParserTraits_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderLogicParserTraits.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderLogicParserTraitsMacro_hpp\\n#define GRSF_converters_renderer_RenderLogicParserTraitsMacro_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderLogicParserTraitsMacro.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderLogicParser_hpp\\n#define GRSF_converters_renderer_RenderLogicParser_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderLogicParser.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderLogicParserGenerators_hpp\\n#define GRSF_converters_renderer_RenderLogicParserGenerators_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderLogicParserGenerators.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_renderer_RenderExecutionGraph_hpp\\n#define GRSF_converters_renderer_RenderExecutionGraph_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/renderer/RenderExecutionGraph.hpp', 'fileRegexReplace -f -r "s@#\\s*ifndef\\s*(\\w*)\\s*\\n\\s*#\\s*define\\s*(\\w*)@#ifndef GRSF_converters_simJoiner_SimFileJoiner_hpp\\n#define GRSF_converters_simJoiner_SimFileJoiner_hpp@s" /home/zfmgpu/Desktop/Repository/GRSFramework/projects/converter/include/GRSF/converters/simJoiner/SimFileJoiner.hpp']

In [5]:
## replace CmakeList.files
fileRegexReplace -r 's@\$\{(\w*)\}/(include|src)/@\${\1}/\2/GRSF/@g' -R ".*CMakeLists.txt" -e ".*external.*" \
/home/zfmgpu/Desktop/Repository/SimulationFramework/SourceCode/Projects/SimulationFramework


fileRegexReplace -r 's@\$\{(\w*)\}/(include|src)/@\${\1}/\2/GRSF/@g' -R ".*IncludeModulesSimulationFramework.cmake" -e ".*external.*" \
/home/zfmgpu/Desktop/Repository/SimulationFramework/SourceCode/Projects/


  File "<ipython-input-5-979e1449f35e>", line 2
    fileRegexReplace -r 's@\$\{(\w*)\}/(include|src)/@\${\1}/\2/GRSF/@g' -R ".*CMakeLists.txt" -e ".*external.*" /home/zfmgpu/Desktop/Repository/SimulationFramework/SourceCode/Projects/SimulationFramework
                                                                       ^
SyntaxError: invalid syntax

In [38]:
globs = [folder + "common/include/**/*.*", 
        folder + "projects/granularRigidBodySimulation/include/**/*.*",
        folder + "projects/granularRigidBodySimulationMPI/include/**/*.*",
        folder + "projects/granularRigidBodySimulationGUI/include/**/*.*",
        folder + "projects/converter/include/**/*.*",
        folder + "common/src/**/*.*", 
        folder + "projects/granularRigidBodySimulation/src/**/*.*",
        folder + "projects/granularRigidBodySimulationMPI/src/**/*.*",
        folder + "projects/granularRigidBodySimulationGUI/src/**/*.*",
        folder + "projects/converter/src/**/*.*"]

files =[]
for g in globs:
    files += glob2.glob(g)



replace = [ 
            [".*?/GRSFramework/projects/granularRigidBodySimulation/", "[SIM]/" ] ,
            [".*?/GRSFramework/projects/granularRigidBodySimulationGUI/", "[GUI]/" ],
            [".*?/GRSFramework/projects/granularRigidBodySimulationMPI/", "[MPI]/" ],
            [".*?/GRSFramework/projects/converter/", "[CV]/" ],
            [".*?/GRSFramework/common/","[CS]/"] ,
            [".*?/ApproxMVBB/", "[A]/" ]
          ]

#make regex list
regexList = []
for i,f in enumerate(files):
    files[i] = f= os.path.abspath(f)
    
    # replace main folders
    for r in replace:
        s=re.sub(r[0],r[1],f)
        if s!=f:
            files[i] = f = s
            break
    
    base,ext = os.path.splitext(f)
    l = f.split("/")
    t = "".join([ r"(?:" + s + "/)?" for s in l[:-1] ] + [l[-1].replace(".","\.")])
    
    regex = r"\&\s*\\\path{.*?}(.*?)\%\s*regex:\s*"+ r"(%s)"   %  t
    repl  = r"&\\\path{%s}" % f + r"\1% regex:\2"
    
    regexList += [[regex,repl]]


s = [r'-r "s@%s@%s@g" ' % (reg[0],reg[1]) + "  \\\n" for reg in regexList]
regex = " ".join(s);
command = r'fileRegexReplace -f %s' % regex + "file.txt"
f = open("../../ReplaceThesis.sh",'tw');
f.write("#!/bin/bash\nshopt -s expand_aliases\nsource ~/.bash_aliases\n")
f.write(command);
f.close();

ApproxMVBB


In [ ]:
dirs = ["/home/zfmgpu/Desktop/Repository/ApproxMVBB/include",
       "/home/zfmgpu/Desktop/Repository/ApproxMVBB/src",
       "/home/zfmgpu/Desktop/Repository/ApproxMVBB/external/Diameter/include",
        "/home/zfmgpu/Desktop/Repository/ApproxMVBB/external/GeometryPredicates/include",
       "/home/zfmgpu/Desktop/Repository/ApproxMVBB/external/pugixml/include",
       "/home/zfmgpu/Desktop/Repository/ApproxMVBB/external/meta/include"]
commands = makeReplacementsIncludeGuard(dirs)
print(commands)
s = "\n".join(commands);
f = open("../ReplaceIncludeGuards.sh",'tw');
f.write("#!/bin/bash\nshopt -s expand_aliases\nsource ~/.bash_aliases\n")
f.write(s);
f.close();

In [ ]:
dirs = ["../../../MinimumVolumeBox/external/Diameter/include"]
        
replacements = makeReplacements(dirs)
print(replacements)
s = [r'-r "%s"' %s for s in replacements]
regex = " ".join(s);

command = r'fileRegexReplace -f %s -R ".*\.(hpp|cpp|icc)" -e "*/external/*" /home/zfmgpu/Desktop/Repository/SimulationFramework/SourceCode/Projects/MinimumVolumeBox/'  % regex
f = open("../ReplaceIncludes.sh",'tw');
f.write("#!/bin/bash\nshopt -s expand_aliases\nsource ~/.bash_aliases\n")
f.write(command);
f.close();

In [ ]:
fileRegexReplace -r 's@\$\{(\w*)\}/(include|src)/@\${\1}/\2/GMSF/@g' -R ".*CMakeLists.txt" -e ".*external.*" \
/home/zfmgpu/Desktop/Repository/SimulationFramework/SourceCode/Projects/MinimumVolumeBox/

CudaFramework


In [ ]:
dirs = ["/home/zfmgpu/Desktop/Repository/CudaFramework/include/"]
        
replacements = makeReplacements(dirs)
print(replacements)
s = [r'-r "%s"' %s for s in replacements]
regex = " \\\n".join(s);

f = open("../ReplaceIncludes.sh",'tw');
f.write("#!/bin/bash\nshopt -s expand_aliases\nsource ~/.bash_aliases\n")

command = r'fileRegexReplace -f %s -R ".*\.(hpp|cpp|icc|cu|cuh)" -e "*/external/*" /home/zfmgpu/Desktop/Repository/CudaFramework/src'  % regex
f.write(command);
f.write('\n')
command = r'fileRegexReplace -f %s -R ".*\.(hpp|cpp|icc|cu|cuh)" -e "*/external/*" /home/zfmgpu/Desktop/Repository/CudaFramework/include'  % regex
f.write(command);

command = r'fileRegexReplace -f %s -R ".*\.(hpp|cpp|icc|cu|cuh)" -e "*/external/*" /home/zfmgpu/Desktop/Repository/CudaFramework/projects'  % regex
f.write(command);

f.close();

In [ ]:
commands = makeReplacementsIncludeGuard(dirs)
print(commands)
s = "\n".join(commands);
f = open("../ReplaceIncludeGuards.sh",'tw');
f.write("#!/bin/bash\nshopt -s expand_aliases\nsource ~/.bash_aliases\n")
f.write(s);
f.close();

In [ ]: