5.1.1. Create OcTree MeshΒΆ

Here, the code create_octree_mesh_dcip.exe and the input file octree_mesh.inp (see format) are used to create an OcTree mesh based on the set of electrode locations and surface topography. Files relevant to this part of the example are in the sub-folder octree_mesh.

Before running this example, you may want to do the following:

For our example, the survey file uses the surface format , which means there are no elevations provided for the electrode locations. In this case, we assume all electrodes live on the discrete surface topography that is defined when creating the mesh.

To generate the OcTree mesh, the following input file was used:

../../_images/octree_input1.png

Below we plot the resulting OcTree mesh and original topography (left) as well as the active cells model (right). The active cells model defines the discrete surface topography by assigning a 1 to cells that are in the ground and a 0 to cells that are in the air.

../../_images/octree_mesh1.png