fw.write("#include <raw.h>\n\n");
fw.write("#include <raw.h>\n"); fw.write("#include <math.h>\n\n");
    private static void joinerCode(FlatNode joiner)     {	try {	    FileWriter fw = 		new FileWriter("tile" + Layout.getTileNumber(Layout.getTile(joiner)) 			       + ".c");	    	    fw.write("#include <raw.h>\n\n");	    	    fw.write(createJoinerWork(joiner));	    	    	    //write the extern for the function to init the 	    //switch	    fw.write("void raw_init();\n\n");	    fw.write("void begin(void) {\n");	    fw.write("  raw_init();\n");	    fw.write("  work();\n");	    fw.write("}\n");	    fw.close();	    System.out.println("Code for " + Namer.getName(joiner.contents) +			       " written to tile" + Layout.getTileNumber(Layout.getTile(joiner)) +			       ".c");	}	catch (Exception e) {	    e.printStackTrace();	    	    Utils.fail("Error writing switch code for tile " +		       Layout.getTileNumber(Layout.getTile(joiner)));	}    }