A method to be used in a computer program product, that connects elements to sources and receivers during Spectrum Element Method and Finite Element Method seismic wave modeling, the method comprising:
- acquiring elements, source, and receiver coordinate grid locations from a survey region;
- storing the acquired elements, source, and receiver coordinate grid locations to a memory resource;
- generating a coordinates map from the element coordinate grid locations;
- storing the generated coordinates map to the memory resource;
- splitting the stored coordinates map into cubes having coordinate grid locations;
- generating a cubed coordinates map;
- storing the generated cubed coordinates map to the memory resource;
- computing an algorithm index for the stored cube coordinates map;
- generating an indexed cube coordinates map;
- retrieving the stored elements coordinate grid locations from the memory resource;
- generating an elements map applying the retrieved elements coordinate grid location;
- storing the generated elements map to the memory resource;
- superimposing the generated indexed cube coordinates map over the stored elements map to generate an updated indexed cube coordinates maps;
- retrieving the acquired source, and receiver coordinate grid locations from the memory resource;
- superimposing the retrieved source and receiver coordinate grid locations over the updated indexed cube coordinates maps;
- generating an indexed cubed elements maps having each retrieved source and receiver location;
- and
- storing the generated indexed cubed elements maps having each retrieved source and receiver location to the memory resource.