parameters: (hfname="temp", max_ncomp=40, debug=False)
return_statement: return ccode
docstring: Generates a valid C/C++ source file for multicomponent enrichment cascades.
docstring_summary: Generates a valid C/C++ source file for multicomponent enrichment cascades.
docstring_tokens: Generates a valid C / C ++ source file for multicomponent enrichment cascades .
function: def cgen_source_file(hfname="temp", max_ncomp=40, debug=False):
      """ Generates a valid C/C++ source file for multicomponent enrichment cascades.
      """
      ccode = _source_file_header_template.format(hfname=os.path.split(hfname)[-1])
      ccode += cgen_func(max_ncomp, debug=debug)
      return ccode
function_tokens: def cgen_source_file ( hfname = "temp" , max_ncomp = 40 , debug = False ) : ccode = _source_file_header_template . format ( hfname = os . path . split ( hfname ) [ - 1 ] ) ccode += cgen_func ( max_ncomp , debug = debug ) return ccode