MBSObjectFactory::MBSObjectFactory(void) { // all objects, that are added in this function are available for the parser objectTypeInfos.SetLen(OFCMaxVal-1); // ATTENTION: the order of the objects of a class MUST coincide with the numbers in AddElement, AddLoad,... // add automatically generated elements AddObjectInfos_Auto(); // add other objects manually AddObjectInfo(OFCSensor, "FVElementSensor", 0, "FVElementSensor.txt", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCSensor, "ElementSensor", 0, "ElementSensor.txt", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCSensor, "LoadSensor", 0, "LoadSensor.txt", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCSensor, "MultipleSensor", 0, "", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCSensor, "SystemSensor", 0, "SystemSensor.txt", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCLoad, "GCLoad", 0, "GCLoad.txt", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCLoad, "BodyLoad", 0, "", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCLoad, "ForceVector2D", 0, "ForceVector2D.txt", ""); AddObjectInfo(OFCLoad, "Moment2D", TAENotInRelease, "", ""); AddObjectInfo(OFCLoad, "ForceVector3D", 0, "ForceVector3D.txt", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCLoad, "MomentVector3D", 0, "", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCLoad, "Gravity", 0, "Gravity.txt", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCLoad, "SurfacePressure", 0, "SurfacePressure.txt", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCGeomElement, "GeomMesh3D", 0, "", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCGeomElement, "GeomCylinder3D", 0, "", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCGeomElement, "GeomSphere3D", 0, "", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCGeomElement, "GeomCube3D", 0, "", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCGeomElement, "GeomOrthoCube3D", 0, "", ""); // flag not used yet, therefore = 0 AddObjectInfo(OFCMaterial, "Material", 0, "Material.txt", ""); AddObjectInfo(OFCBeamProperties, "Beam2DProperties", TAENotInRelease, "", ""); AddObjectInfo(OFCBeamProperties, "Beam3DProperties", 0, "Beam3DProperties.txt", ""); AddObjectInfo(OFCNode, "Node3D", TAENotInRelease, "Node3D.txt", ""); AddObjectInfo(OFCNode, "Node3DS1rot1", 0, "Node3DS1rot1.txt", ""); AddObjectInfo(OFCNode, "Node3DS2S3", 0, "", ""); //AddObjectInfo(OFCNode, "NodeLinearBeam3DTest", 0, "", ""); AddObjectInfo(OFCNode, "Node3DRxyz", 0, "", ""); AddObjectInfo(OFCNode, "Node2DS2", TAENotInRelease, "", ""); AddObjectInfo(OFCNode, "Node3DR123", 0, "", ""); AddObjectInfo(OFCNode, "Node3DS1S2", 0, "", ""); }
void iABlobImplicitFunction::AddObjectInfo (double x1, double y1, double z1, double x2, double y2, double z2, double g) { double pos1[3] = {x1, y1, z1}, pos2[3] = {x2, y2, z2}; AddObjectInfo (pos1, pos2, g); }