⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vdp_acc.h

📁 (有源代码)数值分析作业,本文主要包括两个部分,第一部分是常微分方程(ODE)的三个实验题,第二部分是有关的拓展讨论,包括高阶常微分的求解和边值问题的求解(BVP).文中的算法和算例都是基于Matla
💻 H
字号:
/*
 * vdp_acc.h
 *
 * Real-Time Workshop code generation for Simulink model "vdp_acc.mdl".
 *
 * Model Version              : 1.2
 * Real-Time Workshop version : 6.0  (R14)  05-May-2004
 * C source code generated on : Sun May 04 10:34:30 2008
 */
#ifndef _RTW_HEADER_vdp_acc_h_
#define _RTW_HEADER_vdp_acc_h_

#include <math.h>
#include <stdlib.h>
#define S_FUNCTION_NAME                 simulink_only_sfcn
#define S_FUNCTION_LEVEL                2
#define RTW_GENERATED_S_FUNCTION

#include "rtwtypes.h"
#include "simstruc.h"
#include "fixedpoint.h"
#include "rtlibsrc.h"

#include "vdp_acc_types.h"

/* Block signals (auto storage) */
typedef struct _vdp_BlockIO {
  real_T x1;                            /* '<Root>/x1' */
  real_T x2;                            /* '<Root>/x2' */
  real_T Sum;                           /* '<Root>/Sum' */
} vdp_BlockIO;

/* Block states (auto storage) for system: '<Root>' */
typedef struct vdp_D_Work_tag {
  struct {
    void *LoggedData;
  } Scope_PWORK;                        /* '<Root>/Scope' */
  char pad_Scope_PWORK[4];
} vdp_D_Work;

/* Continuous states (auto storage) */
typedef struct _vdp_ContinuousStates {
  real_T x1_CSTATE;                     /* '<Root>/x1' */
  real_T x2_CSTATE;                     /* '<Root>/x2' */
} vdp_ContinuousStates;

/* State derivatives (auto storage) */
typedef struct _vdp_StateDerivatives {
  real_T x1_CSTATE;                     /* '<Root>/x1' */
  real_T x2_CSTATE;                     /* '<Root>/x2' */
} vdp_StateDerivatives;

/* State disabled  */
typedef struct _vdp_StateDisabled {
  boolean_T x1_CSTATE;                  /* '<Root>/x1' */
  boolean_T x2_CSTATE;                  /* '<Root>/x2' */
} vdp_StateDisabled;

/* External outputs (root outports fed by signals with auto storage) */
typedef struct _vdp_ExternalOutputs_tag {
  real_T *Out1;                         /* '<Root>/Out1' */
  real_T *Out2;                         /* '<Root>/Out2' */
} vdp_ExternalOutputs;

/* Parameters (auto storage) */
struct _vdp_Parameters {
  real_T x1_IC;                         /* Expression: 2
                                         * '<Root>/x1'
                                         */
  real_T x2_IC;                         /* Expression: 0
                                         * '<Root>/x2'
                                         */
  real_T Mu_Gain;                       /* Expression: 1
                                         * '<Root>/Mu'
                                         */
};

extern vdp_Parameters vdp_DefaultParameters; /* parameters */

#endif                                  /* _RTW_HEADER_vdp_acc_h_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -