- Timestamp:
- Mar 11, 2011, 7:00:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/pmesh2domain.py
r7937 r8148 12 12 13 13 14 ##15 # @brief Convert a mesh file to a Domain instance.16 # @param source Name of the file to convert (TSH or MSH), or a mesh.17 # @param DomainClass Class of return instance.18 # @param use_cache True if caching is to be used.19 # @param verbose True if this function is to be verbose.20 # @return An instance of 'DomainClass' containing the file data.21 14 def pmesh_to_domain_instance(source, DomainClass, use_cache=False, 22 15 verbose=False): … … 41 34 42 35 43 ##44 # @brief Convert a mesh file to a Domain instance.45 # @param file_name Name of the file to convert (TSH or MSH).46 # @param DomainClass Class of return instance.47 # @return The DomainClass instance containing the file data.48 36 def _pmesh_to_domain_instance(source, DomainClass): 49 37 """Converts a mesh file(.tsh or .msh), to a Domain instance. … … 94 82 95 83 96 ##97 # @brief Convert pmesh file/instance to list(s) that can instantiate a Domain.98 # @param file_name Path to file to convert.99 # @param mesh_instance Instance to convert.100 # @param use_cache True if we are to cache.101 # @param verbose True if this function is to be verbose.102 # @return ??103 84 def pmesh_to_domain(file_name=None, mesh_instance=None, use_cache=False, 104 85 verbose=False): … … 120 101 121 102 122 ##123 # @brief Convert pmesh file/instance to list(s) that can instantiate a Domain.124 # @param file_name Path to file to convert.125 # @param mesh_instance Instance to convert.126 # @param use_cache True if we are to cache.127 # @param verbose True if this function is to be verbose.128 # @return ??129 103 def _pmesh_to_domain(file_name=None, mesh_instance=None, use_cache=False, 130 104 verbose=False):
Note: See TracChangeset
for help on using the changeset viewer.