var N = null;var searchIndex = {}; searchIndex["lib"]={"doc":"","items":[[3,"Config","lib","Struct tracking Xfoil configuration.",N,N],[3,"XfoilRunner","","",N,N],[0,"error","","",N,N],[4,"XfoilError","lib::error","",N,N],[13,"IoError","","",0,N],[13,"ParseError","","",0,N],[6,"Result","","",N,N],[11,"new","lib","Create new Xfoil configuration structure from the path to an Xfoil executable.",1,[[["str"]],["self"]]],[11,"get_runner","","Construct XfoilRunner from configuration panics: if no airfoil (either from polar file or NACA code) is given.",1,[[["self"]],["result",["xfoilrunner"]]]],[11,"angle_of_attack","","Set angle of attack at which to run xfoil computation. If lift_coefficient was previously called, the state is overwritten to use an angle of attack calculation instead.",1,[[["self"],["f64"]],["self"]]],[11,"lift_coefficient","","Set lift coefficient at which to run xfoil computation. If angle_of_attack was previously called, the state is overwritten to use a lift coefficient calculation instead.",1,[[["self"],["f64"]],["self"]]],[11,"polar_accumulation","","Set path of polar file to save Xfoil data into.",1,[[["self"],["str"]],["self"]]],[11,"naca","","Specify a 4-digit NACA airfoil code.",1,[[["self"],["str"]],["self"]]],[11,"airfoil_polar_file","","Specify a file containing airfoil coordinates to use in Xfoil computation.",1,[[["self"],["str"]],["self"]]],[11,"reynolds","","Set a Reynolds number for a viscous calculation.",1,[[["self"],["usize"]],["self"]]],[11,"dispatch","","Run Xfoil calculation. This method dispatches a child process, and feeds a sequence of commands to its stdin. After the calculation finishes, it outputs the contents of the resulting polar file in a HashMap. This method panics if something goes wrong either executing the child process, or retrieving a handle to its stdin. It may return an XfoilError if anything goes wrong writing to the process or parsing its output.",2,[[["self"]],["result",["hashmap"]]]],[11,"into","","",1,[[["self"]],["u"]]],[11,"from","","",1,[[["t"]],["t"]]],[11,"try_from","","",1,[[["u"]],["result"]]],[11,"borrow","","",1,[[["self"]],["t"]]],[11,"try_into","","",1,[[["self"]],["result"]]],[11,"borrow_mut","","",1,[[["self"]],["t"]]],[11,"get_type_id","","",1,[[["self"]],["typeid"]]],[11,"into","","",2,[[["self"]],["u"]]],[11,"from","","",2,[[["t"]],["t"]]],[11,"try_from","","",2,[[["u"]],["result"]]],[11,"borrow","","",2,[[["self"]],["t"]]],[11,"try_into","","",2,[[["self"]],["result"]]],[11,"borrow_mut","","",2,[[["self"]],["t"]]],[11,"get_type_id","","",2,[[["self"]],["typeid"]]],[11,"into","lib::error","",0,[[["self"]],["u"]]],[11,"to_string","","",0,[[["self"]],["string"]]],[11,"from","","",0,[[["t"]],["t"]]],[11,"try_from","","",0,[[["u"]],["result"]]],[11,"borrow","","",0,[[["self"]],["t"]]],[11,"try_into","","",0,[[["self"]],["result"]]],[11,"borrow_mut","","",0,[[["self"]],["t"]]],[11,"get_type_id","","",0,[[["self"]],["typeid"]]],[11,"from","","",0,[[["error"]],["self"]]],[11,"from","","",0,[[["parsefloaterror"]],["self"]]],[11,"fmt","","",0,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",0,[[["self"],["formatter"]],["result"]]],[11,"description","","",0,[[["self"]],["str"]]],[11,"cause","","",0,[[["self"]],["option",["error"]]]]],"paths":[[4,"XfoilError"],[3,"Config"],[3,"XfoilRunner"]]}; initSearch(searchIndex);addSearchOptions(searchIndex);