You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: admRemoveNonTransformOptions.m
    path of file: ./repos/d2d/arFramework3/ThirdParty/StrucID/adimat/runtime
    
    the code of the file until where you have to start completion: % function r = admRemoveNonTransformOptions(s)
%
%  Remove fields from admOptions structure that do not influence
%  transformation.
%
% see also admOptions, admCompareOptions, admCheckWhetherToTransformSource
%
% Copyright 2011 Johannes Willkomm, Institute for Scientific Computing
%                     RWTH Aachen University
%
% This file is part of the ADiMat runtime environment.
%
function r = admRemoveNonTransformOptions(s)
  notForTransform = {'jac_nzpattern', 'JPattern', 'clearFunctions', ...
                     'checkoptions', ...
                     'nochecks', ...
                     'checkResultSizes', ...
                     'coloring', 'coloringFunction', ...
                     'coloringFunctionArgs', 'complexStep', ...
                     'taylorClassName', 'derivClassName', 'derivClassType', 'fdMode', 'fdStep', ...
                     'functionEvaluation', 'functionResults', ..
    
function r = admRemoveNonTransformOptions(s)
%
%  Remove fields from admOptions structure that do not influence
%  transformation.
%
% see also admOptions, admCompareOptions, admCheckWhetherToTransformSource
%
% Copyright 2011 Johannes Willkomm, Institute for Scientific Computing
%                     RWTH Aachen University
%
% This file is part of the ADiMat runtime environment.
%
function r = admRemoveNonTransformOptions(s)
  notForTransform = {'jac_nzpattern', 'JPattern', 'clearFunctions', ...
                     'checkoptions', ...
                     'nochecks', ...
                     'checkResultSizes', ...
                     'coloring', 'coloringFunction', ...
                     'coloringFunctionArgs', 'complexStep', ...
                     'taylorClassName', 'derivClassName', 'derivClassType', 'fdMode', 'fdStep', ...
                     'functionEvaluation', 'functionResults', ...
                     'seedRev', ...
                     'hessianStrategy', ...
                     'stack', ...
                     'nargout', 'reverseModeSwitch', 'scalarModeSwitch', ...
                     'derivOrder', ...
                     'admDiffFunction', 'dontPlot'
                    };
  fns = fieldnames(s);
  if isempty(fns)
    r = s;
    return
  end