import MorpheusImport from 'Artistoo/src/converter/MorpheusImport.js'
public class | source

MorpheusImport

Extends:

ModelDescription → MorpheusImport

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

xml: *

Method Summary

Public Methods
public

addInitCircle(initXML: *, kindName: *, nCells: *)

public

addInitObject(disp: *, objXML: *, kindName: *)

public

getXMLTag(tag: *, xml: *, index: number): *

public

parameterFromXML(constraintXML: *, paramName: *, kindIndex: *, pType: string): *

public

readCoordinateAttribute(xml: *, attrName: *): *

public

readMorpheusLattice(lattice: *)

public

readVectorAttribute(xml: *, attrName: *): *

public

readXMLTag(tag: *, xml: *, index: number): *

public

setActivityConstraintForKind(constraintXML: *, kindIndex: *)

public

setAdhesionMorpheus(interactionXML: *)

public

setBarrierConstraintForKind(constraintXML: *, kindIndex: *)

public
public
public

setCellPixelList(cellXML: *, kindName: *)

public

setConnectivityConstraintForKind(constraintXML: *, kindIndex: *)

public
public
public
public

setInitCircle(initXML: *, kindName: *)

public

setInitObjects(initXML: *, kindName: *)

public
public

setPerimeterConstraintForKind(constraintXML: *, kindIndex: *)

public

setPersistenceConstraintForKind(constraintXML: *, kindIndex: *)

public

setPreferredDirectionConstraintForKind(constraintXML: *, kindIndex: *)

public
public

setVolumeConstraintForKind(constraintXML: *, kindIndex: *)

public

toCoordinate(string: *): *

public

unknownConstraintWarning(constraintName: *)

Inherited Summary

From class ModelDescription
public

cellKinds: {"name2index": *, "index2name": *, "properties": *, "count": *}

public

constraints: {"constraints": *}

public

conversionWarnings: {"modelInfo": *, "grid": *, "time": *, "cells": *, "kinetics": *, "constraints": *, "init": *, "analysis": *}

public
public

grid: {"geometry": *, "ndim": *, "extents": *, "boundaries": *, "neighborhood": *}

public

kinetics: {"T": *, "seed": *}

public

modelInfo: {"title": *, "desc": *}

public

setup: {"init": *}

public

timeInfo: {"start": *, "stop": *, "duration": *}

public

addConstraint(name: *, conf: *)

public

build()

public
public

getConstraint(name: *, index: number): *

public

getConstraintParameter(constraintName: *, paramName: *, index: number): *

public

getKindIndex(kindName: *): *

public

getKindName(kindIndex: *): *

public

hasConstraint(name: *): *

public

initCellKindMatrix(value: *, includeBackground: boolean): *

public

initCellKindVector(value: *, includeBackground: boolean): *

public

initDimensionVector(value: *): *

public
public
public
public
public
public

setGridGeometry(geomString: *)

public
public
public

Public Constructors

public constructor() source

Override:

ModelDescription#constructor

Public Members

public from: string source

public xml: * source

Public Methods

public addInitCircle(initXML: *, kindName: *, nCells: *) source

Params:

NameTypeAttributeDescription
initXML *
kindName *
nCells *

public addInitObject(disp: *, objXML: *, kindName: *) source

Params:

NameTypeAttributeDescription
disp *
objXML *
kindName *

public getXMLTag(tag: *, xml: *, index: number): * source

Params:

NameTypeAttributeDescription
tag *
xml *
index number
  • optional
  • default: 0

Return:

*

public parameterFromXML(constraintXML: *, paramName: *, kindIndex: *, pType: string): * source

Params:

NameTypeAttributeDescription
constraintXML *
paramName *
kindIndex *
pType string
  • optional
  • default: int

Return:

*

public readCoordinateAttribute(xml: *, attrName: *): * source

Params:

NameTypeAttributeDescription
xml *
attrName *

Return:

*

public readMorpheusLattice(lattice: *) source

Params:

NameTypeAttributeDescription
lattice *

public readVectorAttribute(xml: *, attrName: *): * source

Params:

NameTypeAttributeDescription
xml *
attrName *

Return:

*

public readXMLTag(tag: *, xml: *, index: number): * source

Params:

NameTypeAttributeDescription
tag *
xml *
index number
  • optional
  • default: 0

Return:

*

public setActivityConstraintForKind(constraintXML: *, kindIndex: *) source

Params:

NameTypeAttributeDescription
constraintXML *
kindIndex *

public setAdhesionMorpheus(interactionXML: *) source

Params:

NameTypeAttributeDescription
interactionXML *

public setBarrierConstraintForKind(constraintXML: *, kindIndex: *) source

Params:

NameTypeAttributeDescription
constraintXML *
kindIndex *

public setCPMGeneral() source

Override:

ModelDescription#setCPMGeneral

public setCellKindNames() source

Override:

ModelDescription#setCellKindNames

public setCellPixelList(cellXML: *, kindName: *) source

Params:

NameTypeAttributeDescription
cellXML *
kindName *

public setConnectivityConstraintForKind(constraintXML: *, kindIndex: *) source

Params:

NameTypeAttributeDescription
constraintXML *
kindIndex *

public setConstraints() source

Override:

ModelDescription#setConstraints

public setGridConfiguration() source

Override:

ModelDescription#setGridConfiguration

public setGridInfo() source

Override:

ModelDescription#setGridInfo

public setInitCircle(initXML: *, kindName: *) source

Params:

NameTypeAttributeDescription
initXML *
kindName *

public setInitObjects(initXML: *, kindName: *) source

Params:

NameTypeAttributeDescription
initXML *
kindName *

public setModelInfo() source

Override:

ModelDescription#setModelInfo

public setPerimeterConstraintForKind(constraintXML: *, kindIndex: *) source

Params:

NameTypeAttributeDescription
constraintXML *
kindIndex *

public setPersistenceConstraintForKind(constraintXML: *, kindIndex: *) source

Params:

NameTypeAttributeDescription
constraintXML *
kindIndex *

public setPreferredDirectionConstraintForKind(constraintXML: *, kindIndex: *) source

Params:

NameTypeAttributeDescription
constraintXML *
kindIndex *

public setTimeInfo() source

Override:

ModelDescription#setTimeInfo

public setVolumeConstraintForKind(constraintXML: *, kindIndex: *) source

Params:

NameTypeAttributeDescription
constraintXML *
kindIndex *

public toCoordinate(string: *): * source

Params:

NameTypeAttributeDescription
string *

Return:

*

public unknownConstraintWarning(constraintName: *) source

Params:

NameTypeAttributeDescription
constraintName *