voxcity.simulator_gpu.domain.Surfaces ===================================== .. py:class:: voxcity.simulator_gpu.domain.Surfaces(max_surfaces: int) Collection of surface elements for radiation calculations. Each surface has: - Position (grid indices i, j, k) - Direction (normal direction index) - Area - Albedo (reflectivity) .. py:attribute:: max_surfaces .. py:attribute:: n_surfaces .. py:attribute:: position .. py:attribute:: direction .. py:attribute:: center .. py:attribute:: normal .. py:attribute:: area .. py:attribute:: albedo .. py:attribute:: sw_in_direct .. py:attribute:: sw_in_diffuse .. py:attribute:: sw_out .. py:attribute:: svf .. py:attribute:: svf_urban .. py:attribute:: shadow .. py:attribute:: shadow_factor .. py:attribute:: canopy_transmissivity .. py:method:: add_surface(i: taichi.i32, j: taichi.i32, k: taichi.i32, direction: taichi.i32, center: voxcity.simulator_gpu.solar.core.Point3, normal: voxcity.simulator_gpu.solar.core.Vector3, area: taichi.f32, albedo: taichi.f32 = 0.2) -> taichi.i32 Add a surface and return its index. .. py:property:: count :type: int Get current number of surfaces. .. py:method:: get_count() -> int Get current number of surfaces (alias for count property). .. py:method:: reset_fluxes() Reset all radiation fluxes to zero.