class SimulationInfo

Simple class containing metadata info for the simulation that produced the model database.

A simulation info contains:

  • Title

  • Description

  • Filename

  • Source filename (filename of the source simulation)

  • Simulation type (structural, fluid, thermal,…)

  • Solution type (static, steady state, transient, …)

  • Interface name

  • Source interface name (the source simulation interface)

Metadata for a simulation is accessed from the data source directory.

Public Functions


Constructs an empty object.

SimulationInfo(const SimulationInfo &other)

Construct a SimulationInfo as a copy of other.

SimulationInfo &operator=(const SimulationInfo &rhs)

Assigns other to this and returns a reference to this simulation info.

Str title() const

Returns the simulation title.

void setTitle(const Str &title)

Sets the simulation title.

Str description() const

Returns the simulation description.

void setDescription(const Str &description)

Sets the simulation description.

Str filename() const

Returns the simulation filename.

void setFilename(const Str &filename)

Sets the simulation filename.

Str interfaceName() const

Returns the name of the interface for this simulation.

void setInterfaceName(const Str &interfacename)

Sets the name of the interface.

Str sourceFilename() const

Returns the simulation source filename.

void setSourceFilename(const Str &filename)

Sets the simulation source filename.

Str sourceInterfaceName() const

Returns the name of the interface of the source simulation.

For instance, if the interface name is “VTFx”, the source interface name can be “Nastran” indicating that the original source of this simulation was a Nastran model.

void setSourceInterfaceName(const Str &interfacename)

Sets the name of the interface of the source simulation.

SimulationType type() const

Returns the simulation type.

void setType(SimulationType type)

Sets the simulation info type.

SolutionType solutionType() const

Returns the solution type.

void setSolutionType(SolutionType type)

Sets the solution type.