A simulation component that writes a 3d field to a file.  
 More...
 | 
| procedure, pass(this)  | init (this, json, case) | 
|   | Constructor from json, wrapping the actual constructor.  
  | 
|   | 
| procedure, pass(this)  | init_from_attributes (this, fields, filename, precision) | 
|   | Actual constructor.  
  | 
|   | 
| procedure, pass(this)  | free (this) | 
|   | Destructor.  
  | 
|   | 
| procedure, pass(this)  | compute_ (this, t, tstep) | 
|   | Here to compy with the interface, does nothing.  
  | 
|   | 
| procedure, pass(this)  | init_base (this, json, case) | 
|   | Constructor for the simulation_component_t (base) class.  
  | 
|   | 
| procedure, pass(this)  | free_base (this) | 
|   | Destructor for the simulation_component_t (base) class.  
  | 
|   | 
| procedure, pass(this)  | restart (this, t) | 
|   | Wrapper for calling set_counter for the time based controllers. Serves as the public interface.  
  | 
|   | 
| procedure, pass(this)  | preprocess (this, t, tstep) | 
|   | Wrapper for calling preprocess_ based on the preprocess_controller. Serves as the public interface.  
  | 
|   | 
| procedure, pass(this)  | compute (this, t, tstep) | 
|   | Wrapper for calling compute_ based on the compute_controller. Serves as the public interface.  
  | 
|   | 
| procedure(simulation_component_init), deferred, pass  | init (this, json, case) | 
|   | The common constructor using a JSON dictionary.  
  | 
|   | 
| procedure(simulation_component_free), deferred, pass  | free (this) | 
|   | Destructor.  
  | 
|   | 
| procedure, pass(this)  | preprocess_ (this, t, tstep) | 
|   | The preprocessing function to be executed during the run.  
  | 
|   | 
| procedure, pass(this)  | compute_ (this, t, tstep) | 
|   | The main function to be executed during the run.  
  | 
|   | 
| procedure, pass(this)  | restart_ (this, t) | 
|   | The restart function to be called upon restarting simulation.  
  | 
|   | 
Definition at line 50 of file field_writer.f90.
 
◆ compute()
◆ compute_() [1/2]
- Parameters
 - 
  
    | t | The time value.  | 
    | tstep | The current time-step  | 
  
   
Definition at line 63 of file field_writer.f90.
 
 
◆ compute_() [2/2]
◆ free() [1/2]
◆ free() [2/2]
◆ free_base()
◆ init() [1/2]
- Parameters
 - 
  
    | json | JSON object with the parameters.  | 
    | case | The case object.  | 
  
   
Definition at line 56 of file field_writer.f90.
 
 
◆ init() [2/2]
◆ init_base()
- Parameters
 - 
  
    | object | The object to be created and initialized.  | 
    | json | JSON object initializing the simulation component.  | 
    | case | The simulation case. Constructor for the simulation_component_t (base) class.  | 
  
   
Definition at line 61 of file simulation_component.f90.
 
 
◆ init_from_attributes()
      
        
          | procedure, pass(this) field_writer::field_writer_t::init_from_attributes  | 
          ( | 
          class(field_writer_t), intent(inout)  | 
          this,  | 
        
        
           | 
           | 
          character(len=20), dimension(:), intent(in), allocatable  | 
          fields,  | 
        
        
           | 
           | 
          character(len=*), intent(in), optional  | 
          filename,  | 
        
        
           | 
           | 
          integer, intent(in), optional  | 
          precision  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | fields | Array of field names to be sampled.  | 
    | filename | The name of the file save the fields to. Optional, if not provided, fields are added to the main output file.  | 
    | precision | The real precision of the output data. Optional, defaults to single precision.  | 
  
   
Definition at line 58 of file field_writer.f90.
 
 
◆ preprocess()
◆ preprocess_()
◆ restart()
◆ restart_()
◆ case
  
  
      
        
          | type(case_t), pointer simulation_component::simulation_component_t::case | 
         
       
   | 
  
inherited   | 
  
 
 
◆ compute_controller
  
  
      
        
          | type(time_based_controller_t) simulation_component::simulation_component_t::compute_controller | 
         
       
   | 
  
inherited   | 
  
 
 
◆ order
  
  
      
        
          | integer simulation_component::simulation_component_t::order | 
         
       
   | 
  
inherited   | 
  
 
 
◆ output
◆ output_controller
  
  
      
        
          | type(time_based_controller_t) simulation_component::simulation_component_t::output_controller | 
         
       
   | 
  
inherited   | 
  
 
 
◆ preprocess_controller
  
  
      
        
          | type(time_based_controller_t) simulation_component::simulation_component_t::preprocess_controller | 
         
       
   | 
  
inherited   | 
  
 
 
The documentation for this type was generated from the following file: