<ServerManagerConfiguration>
  <ProxyGroup name="sources">
    <!-- ================================================================== -->
    <SourceProxy class="vtkACosmoReader" name="AdaptiveCosmoCore">
      <Documentation
        long_help="Reads a cosmology file into a vtkUnstructuredGrid."
        short_help="Read a cosmology file.">
             The Adaptive Cosmo reader reads in multi-resolution, sampled
             binary data written in the LANL cosmo Format.
      </Documentation>
      <StringVectorProperty clean_command="RemoveAllFileNames"
                            command="AddFileName"
                            name="FileName"
                            number_of_elements="1"
                            panel_visibility="never"
                            repeat_command="1">
        <FileListDomain name="files" />
        <Documentation>
          The list of files to be read by the reader. The list is treated as a
          sequence as per a predefined adaptive structure generated from a
          preprocessor.
        </Documentation>
      </StringVectorProperty>

      <IntVectorProperty command="SetByteSwap"
                         default_values="0"
                         name="ByteSwap"
                         number_of_elements="1">
        <BooleanDomain name="bool" />
        <Documentation>
          If checked, the data will be read and byte-swapped.
        </Documentation>
      </IntVectorProperty>

      <IntVectorProperty command="SetTagSize"
                         default_values="0"
                         name="TagSize"
                         number_of_elements="1">
        <EnumerationDomain name="file_byte_order">
          <Entry value="0" text="32-bit" />
          <Entry value="1" text="64-bit" />
        </EnumerationDomain>
        <Documentation>
          Set the endian of the file.
        </Documentation>
      </IntVectorProperty>

      <DoubleVectorProperty command="SetBoxSize"
                            default_values="100"
                            name="BoxSize"
                            number_of_elements="1">
        <DoubleRangeDomain min="0" name="range" />
        <Documentation>
          The box side length is used to wrap particles around if
          they exceed rL (or less than 0) in any dimension.
        </Documentation>
      </DoubleVectorProperty>

      <IntVectorProperty command="SetLevel"
                         default_values="1"
                         name="Level"
                         number_of_elements="1">
        <IntRangeDomain min="1" max="100" name="range" />
        <Documentation>
          Specify the desired level of resolution.
        </Documentation>
      </IntVectorProperty>

      <Hints>
        <ReaderFactory extensions="cosmo"
                       file_description="Adaptive cosmo files" />
      </Hints>
    </SourceProxy>
  </ProxyGroup>
  <!-- End Filters Group -->
</ServerManagerConfiguration>
