void* _Underworld_MaxVelocity_DefaultNew( Name name  ) {
/**
 * 	\Purpose
 * 		Registers the 'key' StGermain functions that will be used by this plugin.
 * 		The 'key' functions are called during the different StGermain 'phases'.
 * 		The important 'phases' are: Construct, Build, Initialise, Exectute, Destroy.
 *
 * 	\Inputs
 * 		Inputs are all automatic.
 *
 * 	\Interactions
 * 		The Instantiation funtion calls a New function that contains either 
 * 		functions defined within this plugin OR a parent plugin. Depending on the level
 * 		of complexity of the plugin you may need to defined custom _Build or _Initialise
 * 		functions; in this case the plugin is straight forward and no overriding is
 * 		needed  
 */
	return Codelet_New(
		Underworld_MaxVelocity_Type,
		_Underworld_MaxVelocity_DefaultNew,
		_Underworld_MaxVelocity_AssignFromXML,
		_Codelet_Build,
		_Codelet_Initialise,
		_Codelet_Execute,
		_Codelet_Destroy,
		name );
}
Exemplo n.º 2
0
void* _StgFEM_Toolbox_DefaultNew( Name name ) {
   return Codelet_New(
      StgFEM_Toolbox_Type,
      _StgFEM_Toolbox_DefaultNew,
      _StgFEM_Toolbox_AssignFromXML,
      _Codelet_Build,
      _Codelet_Initialise,
      _Codelet_Execute,
      _Codelet_Destroy,
      name );
}
/* This function will provide StGermain the abilty to instantiate (create) this codelet on demand. */
void* _Viscoelastic_ViscoelasticCantileverBeam_DefaultNew( Name name ) {
	return Codelet_New(
			Viscoelastic_ViscoelasticCantileverBeam_Type,
			_Viscoelastic_ViscoelasticCantileverBeam_DefaultNew,
			_Viscoelastic_ViscoelasticCantileverBeam_AssignFromXML,
			_Codelet_Build,
			_Codelet_Initialise,
			_Codelet_Execute,
			_Codelet_Destroy,
			name );
}
void* _StGermain_VaryingCornerAttractors_DefaultNew( Name name ) {
	return Codelet_New(
			StGermain_VaryingCornerAttractors_Type,
			_StGermain_VaryingCornerAttractors_DefaultNew,
			_StGermain_VaryingCornerAttractors_AssignFromXML,
			_Codelet_Build,
			_Codelet_Initialise,
			_Codelet_Execute,
			_Codelet_Destroy,
			name );
	}
Exemplo n.º 5
0
/* Plugins are compnents, so they need a DefaultNew() function. */
void* _LocalPlugin_DefaultNew( Name name ) {
	return Codelet_New(
		LocalPlugin_Type,
		_LocalPlugin_DefaultNew,
		_LocalPlugin_Construct,
		_Codelet_Build,
		_Codelet_Initialise,
		_Codelet_Execute,
		_Codelet_Destroy,
		name );
}
Exemplo n.º 6
0
void* _StGermain_SingleAttractor_DefaultNew( Name name ) {
	return Codelet_New(
			StGermain_SingleAttractor_Type,
			_StGermain_SingleAttractor_DefaultNew,
			_StGermain_SingleAttractor_Construct,
			_Codelet_Build,
			_Codelet_Initialise,
			_Codelet_Execute,
			_Codelet_Destroy,
			name );
	}
Exemplo n.º 7
0
void* _StGermain_Bouncer_DefaultNew( Name name ) {
	return Codelet_New(
			StGermain_Bouncer_Type,
			_StGermain_Bouncer_DefaultNew,
			_StGermain_Bouncer_AssignFromXML,
			_Codelet_Build,
			_Codelet_Initialise,
			_Codelet_Execute,
			_Codelet_Destroy,
			name );
	}
Exemplo n.º 8
0
void* _PICellerator_Toolbox_DefaultNew( Name name ) {
   return Codelet_New(
      PICellerator_Toolbox_Type,
      _PICellerator_Toolbox_DefaultNew,
      _PICellerator_Toolbox_AssignFromXML,
      _Codelet_Build,
      _Codelet_Initialise,
      _Codelet_Execute,
      _Codelet_Destroy,
      name );
}