当前位置: 首页>>代码示例>>C++>>正文


C++ DynamicInputRecord类代码示例

本文整理汇总了C++中DynamicInputRecord的典型用法代码示例。如果您正苦于以下问题:C++ DynamicInputRecord类的具体用法?C++ DynamicInputRecord怎么用?C++ DynamicInputRecord使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了DynamicInputRecord类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: giveInputRecord

void
RotatingBoundary :: giveInputRecord(DynamicInputRecord &input)
{
    GeneralBoundaryCondition :: giveInputRecord(input);
    input.setField(this->axis, _IFT_RotatingBoundary_axis);
    input.setField(this->center, _IFT_RotatingBoundary_center);
}
开发者ID:rreissnerr,项目名称:oofem,代码行数:7,代码来源:rotatingboundary.C

示例2: giveInputRecord

void
TrabBoneNL3D :: giveInputRecord(DynamicInputRecord &input)
{
    TrabBone3D :: giveInputRecord(input);
    input.setField(this->R, _IFT_TrabBoneNL3D_r);
    input.setField(this->mParam, _IFT_TrabBoneNL3D_m);
}
开发者ID:nitramkaroh,项目名称:OOFEM,代码行数:7,代码来源:trabbonenl3d.C

示例3: giveInputRecord

void PLnodeRadius :: giveInputRecord(DynamicInputRecord &input)
{
    int number = 1;
    input.setRecordKeywordField(this->giveInputRecordName(), number);

    input.setField(mRadius, _IFT_PLnodeRadius_Radius);
}
开发者ID:Micket,项目名称:oofem,代码行数:7,代码来源:propagationlaw.C

示例4: giveInputRecord

void PrescribedGradientBCPeriodic :: giveInputRecord(DynamicInputRecord &input)
{
    ActiveBoundaryCondition :: giveInputRecord(input);
    PrescribedGradientHomogenization :: giveInputRecord(input);
    input.setField(this->masterSet, _IFT_PrescribedGradientBCPeriodic_masterSet);
    input.setField(this->jump, _IFT_PrescribedGradientBCPeriodic_jump);
}
开发者ID:johnnyontheweb,项目名称:oofem,代码行数:7,代码来源:prescribedgradientbcperiodic.C

示例5: giveInputRecord

void
TrabBoneNL :: giveInputRecord(DynamicInputRecord &input)
{
    TrabBoneMaterial :: giveInputRecord(input);
    input.setField(this->R, _IFT_TrabBoneNL_r);
    input.setField(this->mParam, _IFT_TrabBoneNL_m);
}
开发者ID:rainbowlqs,项目名称:oofem,代码行数:7,代码来源:trabbonenl.C

示例6: setLoads

void
SolutionbasedShapeFunction :: setLoads(EngngModel *myEngngModel, int d)
{
    DynamicInputRecord ir;
    FloatArray gradP;

    gradP.resize( this->giveDomain()->giveNumberOfSpatialDimensions() );
    gradP.zero();
    gradP.at(d) = 1.0;

    ir.setRecordKeywordField("deadweight", 1);
    ir.setField(gradP, _IFT_Load_components);
    ir.setField(1, _IFT_GeneralBoundaryCondition_timeFunct);

    int bcID = myEngngModel->giveDomain(1)->giveNumberOfBoundaryConditions() + 1;
    GeneralBoundaryCondition *myBodyLoad;
    myBodyLoad = classFactory.createBoundaryCondition( "deadweight", bcID, myEngngModel->giveDomain(1) );
    myBodyLoad->initializeFrom(& ir);
    myEngngModel->giveDomain(1)->setBoundaryCondition(bcID, myBodyLoad);

    for ( int i = 1; i <= myEngngModel->giveDomain(1)->giveNumberOfElements(); i++ ) {
        IntArray *blArray;
        blArray = myEngngModel->giveDomain(1)->giveElement(i)->giveBodyLoadArray();
        blArray->resizeWithValues(blArray->giveSize() + 1);
        blArray->at( blArray->giveSize() ) = bcID;
    }
}
开发者ID:xyuan,项目名称:oofem,代码行数:27,代码来源:solutionbasedshapefunction.C

示例7: giveInputRecord

void
NonlinearFluidMaterial :: giveInputRecord(DynamicInputRecord &input)
{
    FluidDynamicMaterial :: giveInputRecord(input);
    input.setField(this->viscosity, _IFT_NonlinearFluidMaterial_mu);
    input.setField(this->alpha, _IFT_NonlinearFluidMaterial_alpha);
    input.setField(this->c, _IFT_NonlinearFluidMaterial_C);
}
开发者ID:Benjamin-git,项目名称:OOFEM_LargeDef,代码行数:8,代码来源:nonlinearfluidmaterial.C

示例8: giveInputRecord

void PLCrackPrescribedDir :: giveInputRecord(DynamicInputRecord &input)
{
	int number = 1;
    input.setRecordKeywordField(this->giveInputRecordName(), number);

    input.setField(mAngle			, _IFT_PLCrackPrescribedDir_Dir);
    input.setField(mIncrementLength	, _IFT_PLCrackPrescribedDir_IncLength);
}
开发者ID:Benjamin-git,项目名称:OOFEM_LargeDef,代码行数:8,代码来源:propagationlaw.C

示例9: giveInputRecord

void AbaqusUserMaterial :: giveInputRecord(DynamicInputRecord &input)
{
    StructuralMaterial :: giveInputRecord(input);

    input.setField(this->numState, _IFT_AbaqusUserMaterial_numState);
    input.setField(this->properties, _IFT_AbaqusUserMaterial_properties);
    input.setField(this->filename, _IFT_AbaqusUserMaterial_userMaterial);
    input.setField(std::string(this->cmname), _IFT_AbaqusUserMaterial_name);
}
开发者ID:aishugang,项目名称:oofem,代码行数:9,代码来源:abaqususermaterial.C

示例10: giveInputRecord

void
TutorialMaterial :: giveInputRecord(DynamicInputRecord &ir)
{
    StructuralMaterial :: giveInputRecord(ir);
    D.giveInputRecord(ir);
    
    ir.setField(this->sig0, _IFT_TutorialMaterial_yieldstress);
    ir.setField(this->H, _IFT_TutorialMaterial_hardeningmoduli);
}
开发者ID:erisve,项目名称:oofem,代码行数:9,代码来源:tutorialmaterial.C

示例11: giveInputRecord

void
SimpleInterfaceMaterial :: giveInputRecord(DynamicInputRecord &input)
{
    StructuralMaterial :: giveInputRecord(input);
    input.setField(this->kn, _IFT_SimpleInterfaceMaterial_kn);
    input.setField(this->frictCoeff, _IFT_SimpleInterfaceMaterial_frictCoeff);
    input.setField(this->stiffCoeff, _IFT_SimpleInterfaceMaterial_stiffCoeff);
    input.setField(this->normalClearance, _IFT_SimpleInterfaceMaterial_normalClearance);
}
开发者ID:JimBrouzoulis,项目名称:OOFEM_Jim,代码行数:9,代码来源:simpleinterfacemat.C

示例12: giveInputRecord

void PLMaterialForce :: giveInputRecord(DynamicInputRecord &input)
{
    int number = 1;
    input.setRecordKeywordField(this->giveInputRecordName(), number);

    input.setField(mRadius,                     _IFT_PLMaterialForce_Radius);
    input.setField(mIncrementLength,            _IFT_PLMaterialForce_IncLength);
    input.setField(mCrackPropThreshold,         _IFT_PLMaterialForce_CrackPropThreshold);
}
开发者ID:erisve,项目名称:oofem,代码行数:9,代码来源:plmaterialforce.C

示例13: giveInputRecord

void
CohesiveInterfaceMaterial :: giveInputRecord(DynamicInputRecord &input)
{
    StructuralInterfaceMaterial :: giveInputRecord(input);
    input.setField(this->kn, _IFT_CohesiveInterfaceMaterial_kn);
    input.setField(this->ks, _IFT_CohesiveInterfaceMaterial_ks);
    input.setField(this->stiffCoeffKn, _IFT_CohesiveInterfaceMaterial_stiffCoeffKn);
    input.setField(this->stiffCoeffKn, _IFT_CohesiveInterfaceMaterial_transitionopening);
}
开发者ID:aishugang,项目名称:oofem,代码行数:9,代码来源:cohint.C

示例14: giveInputRecord

void
IntMatCoulombContact :: giveInputRecord(DynamicInputRecord &input)
{
    StructuralInterfaceMaterial :: giveInputRecord(input);
    input.setField(this->kn, _IFT_IntMatCoulombContact_kn);
    input.setField(this->frictCoeff, _IFT_IntMatCoulombContact_frictCoeff);
    input.setField(this->stiffCoeff, _IFT_IntMatCoulombContact_stiffCoeff);
    input.setField(this->normalClearance, _IFT_IntMatCoulombContact_normalClearance);
}
开发者ID:framby,项目名称:OOFEM_Johannes,代码行数:9,代码来源:intmatcoulombcontact.C

示例15: giveInputRecord

void TransportGradientPeriodic :: giveInputRecord(DynamicInputRecord &input)
{
    ActiveBoundaryCondition :: giveInputRecord(input);
    //PrescribedGradientHomogenization :: giveInputRecord(input);
    input.setField(this->mGradient, _IFT_TransportGradientPeriodic_gradient);
    input.setField(this->mCenterCoord, _IFT_TransportGradientPeriodic_centerCoords);
    
    input.setField(this->masterSet, _IFT_TransportGradientPeriodic_masterSet);
    input.setField(this->jump, _IFT_TransportGradientPeriodic_jump);
}
开发者ID:johnnyontheweb,项目名称:oofem,代码行数:10,代码来源:transportgradientperiodic.C


注:本文中的DynamicInputRecord类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。