Exemple #1
0
 protected override void Context()
 {
     base.Context();
     _compoundProperties    = new CompoundProperties();
     _interactionProperties = new InteractionProperties();
 }
 private Task <CompoundProcessSelection[]> interactionSnapshotFrom(InteractionProperties simulationInteractionProperties)
 {
     return(_processMappingMapper.MapToSnapshots(simulationInteractionProperties.Interactions));
 }
Exemple #3
0
 /// <summary>
 /// Updates the material interaction properties of the pair handler's constraint.
 /// </summary>
 /// <param name="properties">Properties to use.</param>
 public override void UpdateMaterialProperties(InteractionProperties properties)
 {
     ContactConstraint.MaterialInteraction = properties;
 }
Exemple #4
0
 ///<summary>
 /// Forces an update of the pair's material properties.
 ///</summary>
 /// <param name="properties">Properties to use in the collision.</param>
 public abstract void UpdateMaterialProperties(InteractionProperties properties);
Exemple #5
0
 private void addCompoundMolecules(IEnumerable <CompoundProperties> compoundPropertiesList, InteractionProperties interactionProperties)
 {
     compoundPropertiesList.Each(compoundProperties =>
     {
         var drug = _moleculeBuilderFactory.Create(compoundProperties.Compound, compoundProperties, interactionProperties, _moleculeBuildingBlock.FormulaCache);
         addMoleculeToBuildingBlock(drug, compoundProperties);
     });
 }