Next: Parallel operator
Up: Out-of-core extension
Previous: Vector
Out of core operations are done by the SEP.operator.oc.
This class inherits from both the SEP.operator.operator class
and SEP.operator.run_oc. The SEP.operator.run_oc
class handles building the command line.
The class has no required options but several optional arguments.
- pars
- A SEP.par.sep_pars object containing the list
of command line arguments to run with operator call.
- add_com
- The argument to add to the function call when
adding (defaults to add=y).
- restart_com
- The argument to add to the function call when
restarting.
- adjoint_com
- The argument to add to the function call when
running the adjoint (defaults to adj=y)
- data_tag
- The tag associated with the data
(defaults to data=)
- model_tag
- The tag associated with the model
(defaults to model=)
The SEP.operator.oc is initialized
by the name of the program to run and
a domain and range vectors of the type sep_vector,
and arbitrary additional arguments. The additional
arguments are passed to initialize the SEP.perator.oc_run.
The adjoint_op and forward_op use the SEP.operator.oc_run
class to build the commands string and then executes the
program.
Next: Parallel operator
Up: Out-of-core extension
Previous: Vector
Stanford Exploration Project
10/23/2004