f90wrap package¶
Submodules¶
- f90wrap.codegen module
- f90wrap.f90wrapgen module
F90WrapperGeneratorF90WrapperGenerator.is_class()F90WrapperGenerator.visit_Module()F90WrapperGenerator.visit_Procedure()F90WrapperGenerator.visit_Root()F90WrapperGenerator.visit_Type()F90WrapperGenerator.write_arg_decl_lines()F90WrapperGenerator.write_call_lines()F90WrapperGenerator.write_class_lines()F90WrapperGenerator.write_finalise_lines()F90WrapperGenerator.write_init_lines()F90WrapperGenerator.write_super_type_lines()F90WrapperGenerator.write_transfer_in_lines()F90WrapperGenerator.write_transfer_out_lines()F90WrapperGenerator.write_type_lines()F90WrapperGenerator.write_type_or_class_lines()F90WrapperGenerator.write_uses_lines()
- f90wrap.fortran module
AccessUpdaterArgumentBindingDeclarationElementFortranFortranTransformerFortranTreeDumperFortranVisitorFunctionInterfaceLowerCaseConverterModulePrivateSymbolsRemoverProcedureProgramPrototypeRepeatedInterfaceCollapserRootSubroutineTypederived_typename()dump()f2c_type()f2numpy_type()f2py_type()find()find_procedure_module()find_source()find_types()fix_argument_attributes()fortran_array_type()is_class()is_derived_type()iter_child_nodes()iter_fields()normalise_type()print_source()remove_private_symbols()split_type_kind()strip_type()walk()walk_modules()walk_procedures()
- f90wrap.fortrantype module
- f90wrap.latex module
- f90wrap.parser module
F90Fileadd_external_packages()check_abstract_interface()check_arg()check_binding()check_cont()check_decl()check_deferred_binding()check_doc()check_doc_rv()check_funct()check_interface()check_interface_decl()check_module()check_program()check_prototype()check_subt()check_type()check_uses()dump_package()implicit_to_explicit_arguments()implicit_type_rule()read_files()recover_delimited()remove_delimited()split_attribs()splitnames()
- f90wrap.pywrapgen module
PythonWrapperGeneratorPythonWrapperGenerator.visit_Binding()PythonWrapperGenerator.visit_Interface()PythonWrapperGenerator.visit_Module()PythonWrapperGenerator.visit_Procedure()PythonWrapperGenerator.visit_Root()PythonWrapperGenerator.visit_Type()PythonWrapperGenerator.write_classmethod()PythonWrapperGenerator.write_constructor()PythonWrapperGenerator.write_destructor()PythonWrapperGenerator.write_dt_array_wrapper()PythonWrapperGenerator.write_dt_wrappers()PythonWrapperGenerator.write_exception_handler()PythonWrapperGenerator.write_imports()PythonWrapperGenerator.write_member_variables()PythonWrapperGenerator.write_repr()PythonWrapperGenerator.write_sc_array_wrapper()PythonWrapperGenerator.write_scalar_wrappers()PythonWrapperGenerator.write_type_checks()
normalise_class_name()py_arg_value()
- f90wrap.transform module
AccessUpdaterArgumentNameConflictResolverArrayDimensionConverterBindConstructorInterfacesConstructorExcessToClassMethodDuplicateAbstractImplementationFunctionToSubroutineConverterIntentOutToReturnValuesLinkBoundDTypeMethodFinderNormaliseTypesOnlyAndSkipPrivateSymbolsRemoverRenameArgumentsPythonRenameInterfacesBindingsPythonRenameReservedWordsReorderForInheritanceReorderOptionalArgumentsPythonResolveBindingPrototypesResolveInterfacePrototypesSetInterfaceProcedureCallNamesStringLengthConverterUnwrappablesRemoveradd_missing_constructors()add_missing_destructors()append_type_dimension()collapse_single_interfaces()convert_array_intent_out_to_intent_inout()convert_derived_type_arguments()create_super_types()extract_dimensions_parameters()find_inheritence_relations()find_referenced_modules()find_referenced_types()fix_element_uses_clauses()fix_subroutine_type_arrays()fix_subroutine_uses_clauses()procedures_and_abstract_interfaces()remove_private_symbols()set_intent()shorten_long_name()transform_to_f90_wrapper()transform_to_generic_wrapper()transform_to_py_wrapper()
Module contents¶
f90wrap package
Add support for Fortran derived types and interfaces to f2py by wrapping Fortran code with a simple f90 interface layer.
James Kermode 2011-2024 <james.kermode@gmail.com>