specfem::io::kernel_writer¶
-
template<typename OutputLibrary>
class kernel_writer : public specfem::io::writer¶ Writer for outputting sensitivity kernels to disk.
Template-based writer for adjoint sensitivity kernel data supporting multiple I/O backends. Kernels represent the gradient of a misfit function with respect to material properties.
- Template Parameters:
OutputLibrary – Backend library type (HDF5, ASCII, NPY, NPZ, or ADIOS2)
Constructors
-
kernel_writer(const std::string &output_folder)¶
Construct a writer object.
- Parameters:
assembly – SPECFEM++ assembly
output_folder – Path to output location (will be an .h5 file if using HDF5, and a folder if using ASCII)