protected override void Context() { base.Context(); _compoundProperties = new CompoundProperties(); _interactionProperties = new InteractionProperties(); }
private Task <CompoundProcessSelection[]> interactionSnapshotFrom(InteractionProperties simulationInteractionProperties) { return(_processMappingMapper.MapToSnapshots(simulationInteractionProperties.Interactions)); }
/// <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; }
///<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);
private void addCompoundMolecules(IEnumerable <CompoundProperties> compoundPropertiesList, InteractionProperties interactionProperties) { compoundPropertiesList.Each(compoundProperties => { var drug = _moleculeBuilderFactory.Create(compoundProperties.Compound, compoundProperties, interactionProperties, _moleculeBuildingBlock.FormulaCache); addMoleculeToBuildingBlock(drug, compoundProperties); }); }