FastTransmissionGathering#
- class ansys.speos.core.fast_transmission_gathering.FastTransmissionGathering(project, fast_transmission_gathering=None)#
Speos feature: fast transmission gathering (FTG).
The fast transmission gathering accelerates the simulation by neglecting the light refraction that occurs when the light is being transmitted through the selected transparent geometries.
Only one fast transmission gathering feature per project.
- Parameters:
- project
ansys.speos.core.project.Project Project that will own the feature.
- fast_transmission_gathering
ansys.api.speos.scene.v2.scene_pb2.Scene.FastTransmissionGathering,optional Protobuf message to provide if the feature does not have to be created from scratch. By default,
None, means that the feature is created from scratch.
- project
- Parameters:
project (FastTransmissionGathering.__init__.project)
fast_transmission_gathering (Optional[ansys.speos.core.kernel.scene.ProtoScene.FastTransmissionGathering])
Notes
The geometries selected here are only taken into account if the fast transmission gathering is activated at simulation level, via the
fast_transmission_gatheringproperty ofansys.speos.core.simulation.SimulationDirectoransys.speos.core.simulation.SimulationInverse.
Overview#
Get dictionary corresponding to the fast transmission gathering - read only. |
|
Save feature: send the local data to the speos server database. |
|
Reset feature: override local data by the one from the speos server database. |
|
Delete feature: delete data from the speos server database. |
Geometries with fast transmission gathering applied. |
Return the string representation of the fast transmission gathering. |
Import detail#
from ansys.speos.core.fast_transmission_gathering import FastTransmissionGathering
Property detail#
- property FastTransmissionGathering.geometries: List[str] | None#
Geometries with fast transmission gathering applied.
This property gets and sets the geo paths on which the fast transmission gathering is applied.
- Parameters:
- geometries
Optional[List[Union[ansys.speos.core.geo_ref.GeoRef,ansys.speos.core.body.Body]]] Geometries on which the fast transmission gathering is applied. Pass
Noneor an empty list to clear the geometries.
- geometries
- Returns:
Optional[List[str]]Geo paths with fast transmission gathering applied.
Notes
The geometries selected here are only taken into account if the fast transmission gathering is activated at simulation level, via the
fast_transmission_gatheringproperty of the direct or inverse simulation features.
Method detail#
- FastTransmissionGathering.get(key='')#
Get dictionary corresponding to the fast transmission gathering - read only.
- FastTransmissionGathering.__str__()#
Return the string representation of the fast transmission gathering.
- FastTransmissionGathering.commit()#
Save feature: send the local data to the speos server database.
- Returns:
ansys.speos.core.fast_transmission_gathering.FastTransmissionGatheringFast transmission gathering feature.
- FastTransmissionGathering.reset()#
Reset feature: override local data by the one from the speos server database.
- Returns:
ansys.speos.core.fast_transmission_gathering.FastTransmissionGatheringFast transmission gathering feature.
- FastTransmissionGathering.delete()#
Delete feature: delete data from the speos server database.
The local data are still available.
- Returns:
ansys.speos.core.fast_transmission_gathering.FastTransmissionGatheringFast transmission gathering feature.