Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

step 1
Convert cf_openmi to vs2005 sln (debugging fortran will be easier and is a requirement)

step 2
Define derived types for 1d model:

  • Network
    Type Network
    int nNodes
    Node Nodes nNodes
    int nBranches
    Branch Branches []
    End Type

Type Node
End Type

Type Branch
End Type

  • Model parameters
  • Boundary Conditions
  • Initial Conditions
  • Structures
  • Output variables

step 3
create an adapter inside cf_openmi with an interface to 1d model with at least the following kind of methods:
-setnetwork
-setboundaryandinitial
-setparameters

...