List of functions available in pylmgc90.chipy.lmgc90 python module:

pylmgc90.chipy.lmgc90.ALpxx_CleanMemory(*args)[source]

void ALpxx_CleanMemory(void)

Free all memory allocated within ALpxx module.

python usage : ALpxx_CleanMemory()

pylmgc90.chipy.lmgc90.ALpxx_LoadTactors(*args)[source]

void ALpxx_LoadTactors(void)

load ALpxx from MAILx and initialize existing_entities

python usage : ALpxx_LoadTactors()

pylmgc90.chipy.lmgc90.ALpxx_PushPreconNodes(*args)[source]

void ALpxx_PushPreconNodes(void)

set ALpxx supporting nodes as precon

python usage : ALpxx_PushPreconNodes()

pylmgc90.chipy.lmgc90.ASpxx_CleanMemory(*args)[source]

void ASpxx_CleanMemory(void)

Free all memory allocated within ASpxx module.

python usage : ASpxx_CleanMemory()

pylmgc90.chipy.lmgc90.ASpxx_LoadTactors(*args)[source]

void ASpxx_LoadTactors(void)

Load ASpxx from MAILx and Initialize existing_entities.

python usage : ASpxx_LoadTactors()

pylmgc90.chipy.lmgc90.ASpxx_PushPreconNodes(*args)[source]

void ASpxx_PushPreconNodes(void)

set ASpxx supporting nodes as precon

python usage : ASpxx_PushPreconNodes()

pylmgc90.chipy.lmgc90.CDCDx_CleanMemory(*args)[source]

void CDCDx_CleanMemory(void)

Free all memory allocated within CDCDx module.

python usage : CDCDx_CleanMemory()

pylmgc90.chipy.lmgc90.CDCDx_DisplayOutVlocRloc(*args)[source]

void CDCDx_DisplayOutVlocRloc(void)

display local values of all CDCDx contacts

python usage : CDCDx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CDCDx_DisplayProxTactors(*args)[source]

void CDCDx_DisplayProxTactors(void)

display detected contacts

python usage : CDCDx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.CDCDx_GetAll(*args)[source]

void CDCDx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = CDCDx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.CDCDx_GetNbCDCDx(*args)[source]

int CDCDx_GetNbCDCDx(void)

return the number of CDCDx contact found

python usage : nb_CDCDx = CDCDx_GetNbCDCDx() nb_CDCDx (integer) : number of CDCDx found

pylmgc90.chipy.lmgc90.CDCDx_GetNbvCDCDx(*args)[source]

int CDCDx_GetNbvCDCDx(void)

return the number of CDCDx stored

python usage : nb_vCDCDx = CDCDx_GetNbvCDCDx() nb_vCDCDx (integer) : number of CDCDx stored

pylmgc90.chipy.lmgc90.CDCDx_ReadIniVlocRloc(*args)[source]

void CDCDx_ReadIniVlocRloc(void)

python usage : CDCDx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.CDCDx_RecupRloc(*args)[source]

void CDCDx_RecupRloc(void)

recup values of local contact forces from stored values

python usage : CDCDx_RecupRloc()

pylmgc90.chipy.lmgc90.CDCDx_SelectProxTactors(*args)[source]

void CDCDx_SelectProxTactors(int reset=0)

contact detection between CYLND and CYLND tactors

python usage : CDCDx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.CDCDx_SetContactRadius(*args)[source]

void CDCDx_SetContactRadius(double radius)

define the contact radius (experimental)

python usage : CDCDx_SetContactRadius(radius)

pylmgc90.chipy.lmgc90.CDCDx_SetNumberInterByContact(*args)[source]

void CDCDx_SetNumberInterByContact(int nb_interactions)

define the number of interaction by contact (experimental)

python usage : CDCDx_SetNumberInterByContact(nb_interactions)

pylmgc90.chipy.lmgc90.CDCDx_SetXPeriodicCondition(*args)[source]

void CDCDx_SetXPeriodicCondition(double xperiod)

initialise data for simulation using periodic condition along X

python usage : CDCDx_SetXPeriodicCondition(xperiod)

pylmgc90.chipy.lmgc90.CDCDx_SetYPeriodicCondition(*args)[source]

void CDCDx_SetYPeriodicCondition(double yperiod)

initialise data for simulation using periodic condition along Y

python usage : CDCDx_SetYPeriodicCondition(yperiod)

pylmgc90.chipy.lmgc90.CDCDx_SmoothForceComputation(*args)[source]

void CDCDx_SmoothForceComputation(void)

computes smooth contact forces (if any)

python usage : CDCDx_SmoothForceComputation()

pylmgc90.chipy.lmgc90.CDCDx_StockRloc(*args)[source]

void CDCDx_StockRloc(void)

store values of local contact forces

python usage : CDCDx_StockRloc()

pylmgc90.chipy.lmgc90.CDCDx_WriteLastVlocRloc(*args)[source]

void CDCDx_WriteLastVlocRloc(void)

write last local values of all CDCDx contacts

python usage : CDCDx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CDCDx_WriteOutVlocRloc(*args)[source]

void CDCDx_WriteOutVlocRloc(void)

write local values of all CDCDx contacts

python usage : CDCDx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CDPLx_CleanMemory(*args)[source]

void CDPLx_CleanMemory(void)

Free all memory allocated within CDPLx module.

python usage : CDPLx_CleanMemory()

pylmgc90.chipy.lmgc90.CDPLx_DisplayOutVlocRloc(*args)[source]

void CDPLx_DisplayOutVlocRloc(void)

display local values of all CDPLx contacts

python usage : CDPLx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CDPLx_DisplayProxTactors(*args)[source]

void CDPLx_DisplayProxTactors(void)

display contacts

python usage : CDPLx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.CDPLx_GetAll(*args)[source]

void CDPLx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = CDPLx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.CDPLx_GetNbCDPLx(*args)[source]

int CDPLx_GetNbCDPLx(void)

return the number of CDPLx contact found

python usage : nb_CDPLx = CDPLx_GetNbCDPLx()

nb_CDPLx (integer) : number of CDPLx found

pylmgc90.chipy.lmgc90.CDPLx_GetNbvCDPLx(*args)[source]

int CDPLx_GetNbvCDPLx(void)

return the number of CDPLx stored

python usage : nb_vCDPLx = CDPLx_GetNbvCDPLx() nb_vCDPLx (integer) : number of CDPLx stored

pylmgc90.chipy.lmgc90.CDPLx_ReadIniVlocRloc(*args)[source]

void CDPLx_ReadIniVlocRloc(void)

python usage : CDPLx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.CDPLx_RecupRloc(*args)[source]

void CDPLx_RecupRloc(void)

recover values of local contact forces from stored values

python usage : CDPLx_RecupRloc()

pylmgc90.chipy.lmgc90.CDPLx_SelectProxTactors(*args)[source]

void CDPLx_SelectProxTactors(int reset=0)

contact detection between CYLND and PLANx tactors

python usage : CDPLx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.CDPLx_SmoothForceComputation(*args)[source]

void CDPLx_SmoothForceComputation(void)

computes smooth forces (if any)

python usage : CDPLx_SmoothForceComputation()

pylmgc90.chipy.lmgc90.CDPLx_StockRloc(*args)[source]

void CDPLx_StockRloc(void)

stores values of local contact forces

python usage : CDPLx_StockRloc()

pylmgc90.chipy.lmgc90.CDPLx_WriteLastVlocRloc(*args)[source]

void CDPLx_WriteLastVlocRloc(void)

write last local values of all CDPLx contacts

python usage : CDPLx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CDPLx_WriteOutVlocRloc(*args)[source]

void CDPLx_WriteOutVlocRloc(void)

write local values of all CDPLx contacts

python usage : CDPLx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CLALp_CleanMemory(*args)[source]

void CLALp_CleanMemory(void)

Free all memory allocated within CLALp module.

python usage : CLALp_CleanMemory()

pylmgc90.chipy.lmgc90.CLALp_DisplayOutVlocRloc(*args)[source]

void CLALp_DisplayOutVlocRloc(void)

display local values of all CLALp contacts

python usage : CLALp_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CLALp_DisplayProxTactors(*args)[source]

void CLALp_DisplayProxTactors(void)

display contacts

python usage : CLALp_DisplayProxTactors()

pylmgc90.chipy.lmgc90.CLALp_GetAll(*args)[source]

void CLALp_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = CLALp_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.CLALp_GetAllInternal(*args)[source]

void CLALp_GetAllInternal(double **matrix_out, int *dim1, int *dim2)

return contact point internal variables

python usage : array = CLALp_GetAllInternal() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.CLALp_GetNbCLALp(*args)[source]

int CLALp_GetNbCLALp(void)

return the number of CLALp contact found

python usage : nb_CLALp = CLALp_GetNbCLALp() nb_CLALp (integer) : number of CLALp found

pylmgc90.chipy.lmgc90.CLALp_GetNbRecup(*args)[source]

int CLALp_GetNbRecup(void)

return the number of recup CLALp contact found

python usage : nb_CLALp = CLALp_GetNbRecup() nb_CLALp (integer) : number of recup CLALp found

pylmgc90.chipy.lmgc90.CLALp_GetNbRough(*args)[source]

int CLALp_GetNbRough(void)

return the number of rough CLALp contact found

python usage : nb_CLALp = CLALp_GetNbRough() nb_CLALp (integer) : number of rough CLALp found

pylmgc90.chipy.lmgc90.CLALp_GetNbvCLALp(*args)[source]

int CLALp_GetNbvCLALp(void)

return the number of CLALp stored

python usage : nb_vCLALp = CLALp_GetNbvCLALp() nb_vCLALp (integer) : number of CLALp stored

pylmgc90.chipy.lmgc90.CLALp_ReadIniVlocRloc(*args)[source]

void CLALp_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : CLALp_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.CLALp_RecupRloc(*args)[source]

void CLALp_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : CLALp_RecupRloc()

pylmgc90.chipy.lmgc90.CLALp_SelectProxTactors(*args)[source]

void CLALp_SelectProxTactors(int reset=0)

contact detection between CLxxx and ALpxx tactors

python usage : CLALp_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list If reset not equal to 0, the initialization flag is reset and detection skipped

pylmgc90.chipy.lmgc90.CLALp_SetNonSymetricDetection(*args)[source]

void CLALp_SetNonSymetricDetection(void)

this function allows non symetric detection i.e. only one interaction is kept when two bodies with candidate and antagonist contactors see each other

python usage : CLALp_SetNonSymetricDetection(void)

pylmgc90.chipy.lmgc90.CLALp_StockRloc(*args)[source]

void CLALp_StockRloc(void)

stock values of local contact forces for the next time step

python usage : CLALp_StockRloc()

pylmgc90.chipy.lmgc90.CLALp_Trim(*args)[source]

void CLALp_Trim(void)

trim contact (only contact within an line - not with extremities)

python usage : CLALp_Trim()

pylmgc90.chipy.lmgc90.CLALp_UpdateWear(*args)[source]

void CLALp_UpdateWear(void)

python usage : CLALp_UpdateWear()

pylmgc90.chipy.lmgc90.CLALp_WriteLastVlocRloc(*args)[source]

void CLALp_WriteLastVlocRloc(void)

write last local values of all CLALp contacts

python usage : CLALp_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CLALp_WriteOutVlocRloc(*args)[source]

void CLALp_WriteOutVlocRloc(void)

write local values of all CLALp contacts

python usage : CLALp_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CLJCx_CleanMemory(*args)[source]

void CLJCx_CleanMemory(void)

Free all memory allocated within CLJCx module.

python usage : CLJCx_CleanMemory()

pylmgc90.chipy.lmgc90.CLJCx_DisplayOutVlocRloc(*args)[source]

void CLJCx_DisplayOutVlocRloc(void)

display local values of all CLJCx contacts

python usage : CLJCx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CLJCx_DisplayProxTactors(*args)[source]

void CLJCx_DisplayProxTactors(void)

display contacts

python usage : CLJCx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.CLJCx_GetAll(*args)[source]

void CLJCx_GetAll(double **matrix_out, int *dim1, int *dim2)

return some mechanical ...

python usage : array = CLJCx_GetAll() array (double 2D-array) : mechanical data (nb_CLJCx,6)

pylmgc90.chipy.lmgc90.CLJCx_GetNbCLJCx(*args)[source]

int CLJCx_GetNbCLJCx(void)

return the number of CLJCx contact found

python usage : nb_CLJCx = CLJCx_GetNbCLJCx() nb_CLJCx (integer) : number of CLJCx found

pylmgc90.chipy.lmgc90.CLJCx_GetNbvCLJCx(*args)[source]

int CLJCx_GetNbvCLJCx(void)

return the number of CLJCx stored

python usage : nb_vCLJCx = CLJCx_GetNbvCLJCx() nb_vCLJCx (integer) : number of CLJCx stored

pylmgc90.chipy.lmgc90.CLJCx_ReadIniVlocRloc(*args)[source]

void CLJCx_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : CLJCx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.CLJCx_RecupRloc(*args)[source]

void CLJCx_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : CLJCx_RecupRloc()

pylmgc90.chipy.lmgc90.CLJCx_SelectProxTactors(*args)[source]

void CLJCx_SelectProxTactors(int reset=0)

contact detection between CLxxx and JCxxx tactors

python usage : CLJCx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.CLJCx_StockRloc(*args)[source]

void CLJCx_StockRloc(void)

stock values of local contact forces for the next time step

python usage : CLJCx_StockRloc()

pylmgc90.chipy.lmgc90.CLJCx_WriteLastVlocRloc(*args)[source]

void CLJCx_WriteLastVlocRloc(void)

write last local values of all CLJCx contacts

python usage : CLJCx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CLJCx_WriteOutVlocRloc(*args)[source]

void CLJCx_WriteOutVlocRloc(void)

write local values of all CLJCx contacts

python usage : CLJCx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CLxxx_CleanMemory(*args)[source]

void CLxxx_CleanMemory(void)

Free all memory allocated within CLxxx module.

python usage : CLxxx_CleanMemory()

pylmgc90.chipy.lmgc90.CLxxx_LoadTactors(*args)[source]

void CLxxx_LoadTactors(void)

load CLxxx from MAILx and Initialize existing_entities

python usage : CLxxx_LoadTactors()

pylmgc90.chipy.lmgc90.CLxxx_PushPreconNodes(*args)[source]

void CLxxx_PushPreconNodes(void)

set CLxxx supporting nodes as precon

python usage : CLxxx_PushPreconNodes()

pylmgc90.chipy.lmgc90.CLxxx_SetNbNodesByCLxxx(*args)[source]

void CLxxx_SetNbNodesByCLxxx(int ivalue)

Set the number of CL nodes by edges. It helps to compute the length associated to a contact node. Default is 2.

python usage : CLxxx_SetNbNodesByCLxxx(nb_nodes)

pylmgc90.chipy.lmgc90.CSASp_CleanMemory(*args)[source]

void CSASp_CleanMemory(void)

Free all memory allocated within CSASp module.

python usage : CSASp_CleanMemory()

pylmgc90.chipy.lmgc90.CSASp_DisplayOutVlocRloc(*args)[source]

void CSASp_DisplayOutVlocRloc(void)

display local values of all CSASp contacts

python usage : CSASp_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CSASp_DisplayProxTactors(*args)[source]

void CSASp_DisplayProxTactors(void)

display contacts

python usage : CSASp_DisplayProxTactors()

pylmgc90.chipy.lmgc90.CSASp_GetAll(*args)[source]

void CSASp_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = CSASp_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.CSASp_GetAllInternal(*args)[source]

void CSASp_GetAllInternal(double **matrix_out, int *dim1, int *dim2)

return contact point internal variables

python usage : array = CSASp_GetAllInternal() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.CSASp_GetNbCSASp(*args)[source]

int CSASp_GetNbCSASp(void)

return the number of CSASp contact found

python usage : nb_CSASp = CSASp_GetNbCSASp()

nb_CSASp (integer) : number of CSASp found

pylmgc90.chipy.lmgc90.CSASp_GetNbvCSASp(*args)[source]

int CSASp_GetNbvCSASp(void)

return the number of CSASp stored

python usage : nb_vCSASp = CSASp_GetNbvCSASp() nb_vCSASp (integer) : number of CSASp stored

pylmgc90.chipy.lmgc90.CSASp_ReadIniVlocRloc(*args)[source]

void CSASp_ReadIniVlocRloc(void)

python usage : CSASp_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.CSASp_RecupRloc(*args)[source]

void CSASp_RecupRloc(void)

recover values of local contact forces from stored values

python usage : CSASp_RecupRloc()

pylmgc90.chipy.lmgc90.CSASp_SelectProxTactors(*args)[source]

void CSASp_SelectProxTactors(int reset=0)

contact detection between CSxxx and ASpxx tactors

python usage : CSASp_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list If reset not equal to 0, the initialization flag is reset and detection skipped

pylmgc90.chipy.lmgc90.CSASp_SkipAutoContact(*args)[source]

void CSASp_SkipAutoContact(void)

avoid CSxxx/ASpxx contact detection when they belong to the same entity

python usage : CSASp_SkipAutoContact()

pylmgc90.chipy.lmgc90.CSASp_StockRloc(*args)[source]

void CSASp_StockRloc(void)

stores values of local contact forces

python usage : CSASp_StockRloc()

pylmgc90.chipy.lmgc90.CSASp_WriteLastVlocRloc(*args)[source]

void CSASp_WriteLastVlocRloc(void)

write last local values of all CSASp contacts

python usage : CSASp_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CSASp_WriteOutVlocRloc(*args)[source]

void CSASp_WriteOutVlocRloc(void)

write local values of all CSASp contacts

python usage : CSASp_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CSPRx_CleanMemory(*args)[source]

void CSPRx_CleanMemory(void)

Free all memory allocated within CSPRx module.

python usage : CSPRx_CleanMemory()

pylmgc90.chipy.lmgc90.CSPRx_DisplayOutVlocRloc(*args)[source]

void CSPRx_DisplayOutVlocRloc(void)

display local values of all CSPRx contacts

python usage : CSPRx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CSPRx_DisplayProxTactors(*args)[source]

void CSPRx_DisplayProxTactors(void)

display contacts

python usage : CSPRx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.CSPRx_GetAll(*args)[source]

void CSPRx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = CSPRx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.CSPRx_GetInfo(*args)[source]

void CSPRx_GetInfo(int icdan, int **i4_vector, int *i4_size)

return contact info for the icdan CSPRx contact

python usage : a = CSPRx_GetInfo(icdan)

pylmgc90.chipy.lmgc90.CSPRx_GetNbCSPRx(*args)[source]

int CSPRx_GetNbCSPRx(void)

Get the number of CSPRx contact found.

python usage : nb_CSPRx = CSPRx_GetNbCSPRx()

nb_CSPRx (integer) : number of CSPRx found

pylmgc90.chipy.lmgc90.CSPRx_GetNbvCSPRx(*args)[source]

int CSPRx_GetNbvCSPRx(void)

return the number of CSPRx stored

python usage : nb_vCSPRx = CSPRx_GetNbvCSPRx() nb_vCSPRx (integer) : number of CSPRx stored

pylmgc90.chipy.lmgc90.CSPRx_ReadIniVlocRloc(*args)[source]

void CSPRx_ReadIniVlocRloc(void)

python usage : CSPRx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.CSPRx_RecupRloc(*args)[source]

void CSPRx_RecupRloc(void)

recover values of local contact forces from stored values

python usage : CSPRx_RecupRloc()

pylmgc90.chipy.lmgc90.CSPRx_SelectProxTactors(*args)[source]

void CSPRx_SelectProxTactors(int reset=0)

contact detection between CSxxx and PRxxx tactors

python usage : CSPRx_SelectProxTactors(int reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.CSPRx_Smoothing(*args)[source]

void CSPRx_Smoothing(void)

smooth contact reaction

python usage : CSPRx_Smmothing()

pylmgc90.chipy.lmgc90.CSPRx_StockRloc(*args)[source]

void CSPRx_StockRloc(void)

stores values of local contact forces

python usage : CSPRx_StockRloc()

pylmgc90.chipy.lmgc90.CSPRx_Trim(*args)[source]

void CSPRx_Trim(void)

trim contact (only node face contact)

python usage : CSPRx_Trim()

pylmgc90.chipy.lmgc90.CSPRx_WriteLastVlocRloc(*args)[source]

void CSPRx_WriteLastVlocRloc(void)

write last local values of all CSPRx contacts

python usage : CSPRx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CSPRx_WriteOutVlocRloc(*args)[source]

void CSPRx_WriteOutVlocRloc(void)

write local values of all CSPRx contacts

python usage : CSPRx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.CSpxx_ApplyPressure(*args)[source]

void CSpxx_ApplyPressure(int ivalue, double rvalue)

Apply an external pressure on a CSpxx.

python usage : CSpxx_ApplyPressure(ivalue,rvalue)

pylmgc90.chipy.lmgc90.CSpxx_ApplySurfaceLoad(*args)[source]

void CSpxx_ApplySurfaceLoad(int ivalue, double *rvector_in, int rlength_in)

pylmgc90.chipy.lmgc90.CSxxx_AddReac(*args)[source]

void CSxxx_AddReac(char *cvalue1_c, int ivalue, double *rvector_in, int rlength_in)

Apply an external reaction on a CSxxx.

python usage : CSxxx_AddReac(datatype, iCSxxx, reac)

pylmgc90.chipy.lmgc90.CSxxx_CleanMemory(*args)[source]

void CSxxx_CleanMemory(void)

Free all memory allocated within CSxxx module.

python usage : CSxxx_CleanMemory()

pylmgc90.chipy.lmgc90.CSxxx_FlipOrientation(*args)[source]

void CSxxx_FlipOrientation(int ibdyty)

Flip normal of all CSxxx of a given MAILx body.

python usage : CSxxx_FlipOrientation(ibdyty)

pylmgc90.chipy.lmgc90.CSxxx_FlipOrientationOnePatch(*args)[source]

void CSxxx_FlipOrientationOnePatch(int ibdyty, int icspxx)

Flip normal of CSxxx belonging to given patch of a given MAILx body.

python usage : CSxxx_FlipOrientationOnePatch(ibdyty,icspxx)

pylmgc90.chipy.lmgc90.CSxxx_LoadTactors(*args)[source]

void CSxxx_LoadTactors(void)

Load CSxxx from MAILx and Initialize existing_entities.

python usage : CSxxx_LoadTactors()

pylmgc90.chipy.lmgc90.CSxxx_PushPreconNodes(*args)[source]

void CSxxx_PushPreconNodes(void)

set CSxxx supporting nodes as precon

python usage : CSxxx_PushPreconNodes()

pylmgc90.chipy.lmgc90.CSxxx_SetQuadrature(*args)[source]

void CSxxx_SetQuadrature(int ivalue)

Set the contact quadrature rule of a CSxxx face. It helps to compute the surface associated to a contact node.

python usage : CSxxx_SetQuadrature(ivalue)

pylmgc90.chipy.lmgc90.CSxxx_SetShrink(*args)[source]

void CSxxx_SetShrink(double shrink)

shrink position of nodes in CSxxx contactors

python usage : CSxxx_SetShrink(shrink)

pylmgc90.chipy.lmgc90.CYLND_CleanMemory(*args)[source]

void CYLND_CleanMemory(void)

Free all memory allocated within CYLND module.

python usage : CYLND_CleanMemory()

pylmgc90.chipy.lmgc90.CYLND_GetNbCYLND(*args)[source]

int CYLND_GetNbCYLND(void)

Get the number of CYLND.

python usage : nb_CYLND = CYLND_GetNbCYLND()

nb_CYLND (integer) : the number of CYLND

pylmgc90.chipy.lmgc90.CYLND_GetNbPointOutlines(*args)[source]

void CYLND_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = CYLND_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the CYLND

pylmgc90.chipy.lmgc90.CYLND_GetNbScalarFields(*args)[source]

int CYLND_GetNbScalarFields(void)

Get the number of scalar fields of a CYLND.

python usage : nb_scalarfields = CYLND_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a CYLND

pylmgc90.chipy.lmgc90.CYLND_GetPtrAllConnectivities(*args)[source]

void CYLND_GetPtrAllConnectivities(int **pointer_out, int *length)

Get a reference on the connectivities of all CYLND.

usage : connec = CYLND_GetPtrAllConnectivities() connec (integer array) : a reference on all_connectivities

pylmgc90.chipy.lmgc90.CYLND_GetPtrCYLND2RBDY3(*args)[source]

void CYLND_GetPtrCYLND2RBDY3(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map cylnd2rbdy3

python usage : cylnd2rbdy3 = CYLND_GetPtrCYLND2RBDY3()

cylnd2rbdy3 (integer array) : reference on map between cylnd rank and body rank

pylmgc90.chipy.lmgc90.CYLND_InitOutlines(*args)[source]

void CYLND_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all CYLND.

usage : outlines = CYLND_InitOutlines() outlines (double array) : a reference on outlines_CYLND

pylmgc90.chipy.lmgc90.CYLND_InitScalarFields(*args)[source]

void CYLND_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all CYLND.

usage : scalarfields = CYLND_InitScalarfields() scalarfields (double array) : reference on scalarfields_CYLND array

pylmgc90.chipy.lmgc90.CYLND_LoadTactors(*args)[source]

void CYLND_LoadTactors(void)

load CYLND from RBDY3 and initialize existing_entites

python usage : CYLND_LoadTactors()

pylmgc90.chipy.lmgc90.CYLND_UpdatePostdata(*args)[source]

void CYLND_UpdatePostdata(void)

Update values of outlines_CYLND and scalarfields_CYLND pointers.

usage : CYLND_UpdatePostdata

pylmgc90.chipy.lmgc90.DISKL_CleanMemory(*args)[source]

void DISKL_CleanMemory(void)

Free all memory allocated within DISKL module.

python usage : DISKL_CleanMemory()

pylmgc90.chipy.lmgc90.DISKL_LoadTactors(*args)[source]

void DISKL_LoadTactors(void)

Load DISKL from MAILx and Initialize existing_entities.

python usage : DISKL_LoadTactors()

pylmgc90.chipy.lmgc90.DISKL_PushPreconNodes(*args)[source]

void DISKL_PushPreconNodes(void)

declare the DISKL supporting nodes as precon

python usage : DISKL_PushPreconNodes()

pylmgc90.chipy.lmgc90.DISKx_CleanMemory(*args)[source]

void DISKx_CleanMemory(void)

Free all memory allocated within DISKx module.

python usage : DISKx_CleanMemory()

pylmgc90.chipy.lmgc90.DISKx_GetContactorColor(*args)[source]

void DISKx_GetContactorColor(int itact, char **string_out, int *string_size)

Get the color of a given DISKx.

python usage : color = DISKx_GetContactorColor(itact)

pylmgc90.chipy.lmgc90.DISKx_GetContactorCoor(*args)[source]

void DISKx_GetContactorCoor(int itacty, double **r8_vector, int *r8_size)

get coordinates of the center of a given DISKx

usage : vector = DISKx_GetContactorCoor(itacty)

pylmgc90.chipy.lmgc90.DISKx_GetContactorRadius(*args)[source]

double DISKx_GetContactorRadius(int itact)

Get the radius of a given DISKx.

python usage : radius = DISKx_GetContactorRadius(itact)

pylmgc90.chipy.lmgc90.DISKx_GetDISKx2RBDY2(*args)[source]

void DISKx_GetDISKx2RBDY2(int **i4_vector, int *i4_size)

return a copy of the map diskx2rbdy2

python usage : diskx2rbdy2 = DISKx_GetDISKx2RBDY2() diskx2rbdy2 (integer array) : map between diskx rank and body rank

pylmgc90.chipy.lmgc90.DISKx_GetMaxRadius(*args)[source]

double DISKx_GetMaxRadius(void)

Get the max radius of DISKx in the container.

python usage : radius = DISKx_GetMaxRadius()

radius (double) : the max radius of DISKx in the contactor

pylmgc90.chipy.lmgc90.DISKx_GetMeanRadius(*args)[source]

double DISKx_GetMeanRadius(void)

Get the mean radius of DISKx in the container.

python usage : radius = DISKx_GetMeanRadius()

radius (double) : the mean radius of DISKx in the container

pylmgc90.chipy.lmgc90.DISKx_GetMinRadius(*args)[source]

double DISKx_GetMinRadius(void)

Get the min radius of DISKx in the container.

python usage : radius = DISKx_GetMinRadius()

radius (double) : the min radius of DISKx in the container

pylmgc90.chipy.lmgc90.DISKx_GetNbDISKx(*args)[source]

int DISKx_GetNbDISKx(void)

Get the number of DISKx in the container.

python usage : nb_diskx = DISKx_GetNbDISKx()

nb_DISKx (integer) : the number of DISKx in container

pylmgc90.chipy.lmgc90.DISKx_GetNbPointOutlines(*args)[source]

void DISKx_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = DISKx_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the DISKx

pylmgc90.chipy.lmgc90.DISKx_GetNbScalarFields(*args)[source]

int DISKx_GetNbScalarFields(void)

Get the number of scalar fields of a DISKx.

python usage : nb_scalarfields = DISKx_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a DISKx

pylmgc90.chipy.lmgc90.DISKx_GetPtrDISKx2RBDY2(*args)[source]

void DISKx_GetPtrDISKx2RBDY2(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map diskx2rbdy2

python usage : diskx2rbdy2 = DISKx_GetPtrDISKx2RBDY2()

diskx2rbdy2 (integer array) : reference on map between diskx rank and body rank

pylmgc90.chipy.lmgc90.DISKx_GetRadius(*args)[source]

double DISKx_GetRadius(int ibdyty)

get radius of the DISKx owned by body ibdyty (0 if doesn’t exist). Doesn’t work properly with clusters

python usage : radius = DISKx_GetRadius(ibdyty)

pylmgc90.chipy.lmgc90.DISKx_InitOutlines(*args)[source]

void DISKx_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all DISKx.

usage : outlines = DISKx_InitOutlines() outlines (double array) : a reference on outlines_DISKx

pylmgc90.chipy.lmgc90.DISKx_InitScalarFields(*args)[source]

void DISKx_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all DISKx.

usage : scalarfields = DISKx_InitScalarfields() scalarfields (double array) : reference on scalarfields_DISKx array

pylmgc90.chipy.lmgc90.DISKx_LoadTactors(*args)[source]

void DISKx_LoadTactors(void)

load DISKx from RBDY2 file and initialize existing_entites

python usage : DISKx_LoadTactors()

pylmgc90.chipy.lmgc90.DISKx_SetVther(*args)[source]

void DISKx_SetVther(int itacty, double v)

pylmgc90.chipy.lmgc90.DISKx_SetXther(*args)[source]

void DISKx_SetXther(int itacty, double x)

pylmgc90.chipy.lmgc90.DISKx_UpdatePostdata(*args)[source]

void DISKx_UpdatePostdata(void)

Update values of outlines_DISKx and scalarfields_DISKx pointers.

usage : DISKx_UpdatePostdata

pylmgc90.chipy.lmgc90.DISPx_CleanMemory(*args)[source]

void DISPx_CleanMemory(void)

Free all memory allocated within DISPx module.

python usage : DISPx_CleanMemory()

pylmgc90.chipy.lmgc90.DISPx_GetContactorColor(*args)[source]

char * DISPx_GetContactorColor(int itact)

Get the color of a given DISPx.

python usage : color = DISPx_GetContactorColor(itact)

pylmgc90.chipy.lmgc90.DISPx_GetContactorRadius(*args)[source]

double DISPx_GetContactorRadius(int itact)

Get the radius of a given DISPx.

python usage : radius = DISPx_GetContactorRadius(itact)

pylmgc90.chipy.lmgc90.DISPx_GetDISPx2RBDY2(*args)[source]

void DISPx_GetDISPx2RBDY2(int **i4_vector, int *i4_size)

return the table dispx2rbdy2

python usage : dispx2rbdy2 = DISPx_GetDISPx2RBDY2() dispx2rbdy2 (integer array) : map between dispx rank and body rank

pylmgc90.chipy.lmgc90.DISPx_GetMaxRadius(*args)[source]

double DISPx_GetMaxRadius(void)

Get the max radius of DISPx contactors.

python usage : max_radius = DISPx_GetMaxRadius()

max_radius (double) : the max radius of DISPx in the contactor

pylmgc90.chipy.lmgc90.DISPx_GetMeanRadius(*args)[source]

double DISPx_GetMeanRadius(void)

Get the mean radius of DISPx contactors.

python usage : mean_radius = DISPx_GetMeanRadius()

mean_radius (double) : the mean radius of DISPx in the container

pylmgc90.chipy.lmgc90.DISPx_GetMinRadius(*args)[source]

double DISPx_GetMinRadius(void)

Get the min radius of DISPx contactors.

python usage : min_radius = DISPx_GetMinRadius()

radius (double) : the min radius of DISPx in the container

pylmgc90.chipy.lmgc90.DISPx_GetNbDISPx(*args)[source]

int DISPx_GetNbDISPx(void)

Get the number of DISPx in container.

python usage : nb_DISPx = DISPx_GetNbDISPx()

nb_DISPx (integer) : the number of DISPx

pylmgc90.chipy.lmgc90.DISPx_GetNbPointOutlines(*args)[source]

void DISPx_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = DISPx_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the DISPx

pylmgc90.chipy.lmgc90.DISPx_GetNbScalarFields(*args)[source]

int DISPx_GetNbScalarFields(void)

Get the number of scalar fields of a DISPx.

python usage : nb_scalarfields = DISPx_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a DISPx

pylmgc90.chipy.lmgc90.DISPx_GetPtrDISPx2RBDY2(*args)[source]

void DISPx_GetPtrDISPx2RBDY2(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map dispx2rbdy2

python usage : dispx2rbdy2 = DISPx_GetPtrDISPx2RBDY2()

dispx2rbdy2 (integer array) : reference on map between diskx rank and body rank

pylmgc90.chipy.lmgc90.DISPx_InitOutlines(*args)[source]

void DISPx_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all DISPx.

usage : outlines = DISPx_InitOutlines() outlines (double array) : a reference on outlines_DISPx

pylmgc90.chipy.lmgc90.DISPx_InitScalarFields(*args)[source]

void DISPx_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all DISPx.

usage : scalarfields = DISPx_InitScalarfields() scalarfields (double array) : reference on scalarfields_DISPx array

pylmgc90.chipy.lmgc90.DISPx_LoadTactors(*args)[source]

void DISPx_LoadTactors()

load DISPx from file and initialize existing_entites

python usage : DISPx_LoadTactors()

pylmgc90.chipy.lmgc90.DISPx_UpdatePostdata(*args)[source]

void DISPx_UpdatePostdata(void)

Update values of outlines_DISPx and scalarfields_DISPx pointers.

usage : DISPx_UpdatePostdata

pylmgc90.chipy.lmgc90.DKALp_CleanMemory(*args)[source]

void DKALp_CleanMemory(void)

Free all memory allocated within DKALp module.

python usage : DKALp_CleanMemory()

pylmgc90.chipy.lmgc90.DKALp_DisplayOutVlocRloc(*args)[source]

void DKALp_DisplayOutVlocRloc(void)

display local values of all DKALp contacts

python usage : DKALp_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKALp_DisplayProxTactors(*args)[source]

void DKALp_DisplayProxTactors(void)

display contacts

python usage : DKALp_DisplayProxTactors()

pylmgc90.chipy.lmgc90.DKALp_GetAll(*args)[source]

void DKALp_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = DKALp_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DKALp_GetNbDKALp(*args)[source]

int DKALp_GetNbDKALp(void)

return the number of DKALp contact found

python usage : nb_DKALp = DKALp_GetNbDKALp() nb_DKALp (integer) : number of DKALp found

pylmgc90.chipy.lmgc90.DKALp_GetNbvDKALp(*args)[source]

int DKALp_GetNbvDKALp(void)

return the number of DKALp stored

python usage : nb_vDKALp = DKALp_GetNbvDKALp() nb_vDKALp (integer) : number of DKALp stored

pylmgc90.chipy.lmgc90.DKALp_ReadIniVlocRloc(*args)[source]

void DKALp_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : DKALp_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.DKALp_RecupRloc(*args)[source]

void DKALp_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : DKALp_RecupRloc()

pylmgc90.chipy.lmgc90.DKALp_SelectProxTactors(*args)[source]

void DKALp_SelectProxTactors(int reset=0)

contact detection between DISKx and ALpxx tactors

python usage : DKALp_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.DKALp_StockRloc(*args)[source]

void DKALp_StockRloc(void)

stock values of local contact forces for the next time step

python usage : DKALp_StockRloc()

pylmgc90.chipy.lmgc90.DKALp_WriteLastVlocRloc(*args)[source]

void DKALp_WriteLastVlocRloc(void)

write last local values of all DKALp contacts

python usage : DKALp_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKALp_WriteOutVlocRloc(*args)[source]

void DKALp_WriteOutVlocRloc(void)

write local values of all DKALp contacts

python usage : DKALp_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKDKL_CleanMemory(*args)[source]

void DKDKL_CleanMemory(void)

Free all memory allocated within DKDKL module.

python usage : DKDKL_CleanMemory()

pylmgc90.chipy.lmgc90.DKDKL_DisplayOutVlocRloc(*args)[source]

void DKDKL_DisplayOutVlocRloc(void)

display local values of all DKDKL contacts

python usage : DKDKL_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKDKL_DisplayProxTactors(*args)[source]

void DKDKL_DisplayProxTactors(void)

display contacts

python usage : DKDKL_DisplayProxTactors()

pylmgc90.chipy.lmgc90.DKDKL_GetAll(*args)[source]

void DKDKL_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = DKDKL_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DKDKL_GetNbDKDKL(*args)[source]

int DKDKL_GetNbDKDKL(void)

return the number of DKDKL contact found

python usage : nb_DKDKL = DKDKL_GetNbDKDKL() nb_DKDKL (integer) : number of DKDKL found

pylmgc90.chipy.lmgc90.DKDKL_GetNbvDKDKL(*args)[source]

int DKDKL_GetNbvDKDKL(void)

return the number of DKDKL stored

python usage : nb_vDKDKL = DKDKL_GetNbvDKDKL() nb_vDKDKL (integer) : number of DKDKL stored

pylmgc90.chipy.lmgc90.DKDKL_ReadIniVlocRloc(*args)[source]

void DKDKL_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : DKDKL_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.DKDKL_RecupRloc(*args)[source]

void DKDKL_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : DKDKL_RecupRloc()

pylmgc90.chipy.lmgc90.DKDKL_SelectProxTactors(*args)[source]

void DKDKL_SelectProxTactors(int reset=0)

contact detection between DISKx and DISKL tactors

python usage : DKDKL_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.DKDKL_SetPeriodicCondition(*args)[source]

void DKDKL_SetPeriodicCondition(double period)

initialize data for simulation using periodic condition

python usage : DKDKL_SetPeriodicCondition(period)

pylmgc90.chipy.lmgc90.DKDKL_SmoothForceComputation(*args)[source]

void DKDKL_SmoothForceComputation(void)

explicit computation of contact forces

python usage : DKDKL_SmoothForceComputation

pylmgc90.chipy.lmgc90.DKDKL_StockRloc(*args)[source]

void DKDKL_StockRloc(void)

stock values of local contact forces for the next time step

python usage : DKDKL_StockRloc()

pylmgc90.chipy.lmgc90.DKDKL_WriteLastVlocRloc(*args)[source]

void DKDKL_WriteLastVlocRloc(void)

write last local values of all DKDKL contacts

python usage : DKDKL_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKDKL_WriteOutVlocRloc(*args)[source]

void DKDKL_WriteOutVlocRloc(void)

write local values of all DKDKL contacts

python usage : DKDKL_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKDKx_CleanMemory(*args)[source]

void DKDKx_CleanMemory(void)

Free all memory allocated within DKDKx module.

python usage : DKDKx_CleanMemory()

pylmgc90.chipy.lmgc90.DKDKx_ComputeBetai(*args)[source]

void DKDKx_ComputeBetai(void)

compute equivalent damage parameter

python usage : DKDKx_ComputeBetai()

pylmgc90.chipy.lmgc90.DKDKx_ComputeCZMEnergy(*args)[source]

void DKDKx_ComputeCZMEnergy(void)

compute and decompose local contact energy with CZM law

python usage : DKDKx_ComputeCZMEnergy()

pylmgc90.chipy.lmgc90.DKDKx_ComputeStress(*args)[source]

void DKDKx_ComputeStress(void)

update surface energy sector

python usage : DKDKx_ComputeStress()

pylmgc90.chipy.lmgc90.DKDKx_DisplayOutVlocRloc(*args)[source]

void DKDKx_DisplayOutVlocRloc(void)

display local values of all DKDKx contacts

python usage : DKDKx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKDKx_DisplayProxTactors(*args)[source]

void DKDKx_DisplayProxTactors(void)

display contacts

python usage : DKDKx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.DKDKx_GetAdjszDKDKx(*args)[source]

int DKDKx_GetAdjszDKDKx(int icdtac)

number of contact of diskx icdtac

python usage : nb_adj = DKDKx_GetAdjszDKDKx(icdtac)

pylmgc90.chipy.lmgc90.DKDKx_GetAll(*args)[source]

void DKDKx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = DKDKx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DKDKx_GetAllInternal(*args)[source]

void DKDKx_GetAllInternal(double **matrix_out, int *dim1, int *dim2)

return contact point internal variables

python usage : array = DKDKx_GetAllInternal() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DKDKx_GetAntagonist(*args)[source]

int DKDKx_GetAntagonist(int icdtac, int iadj)

return the antagonist identifiant of the contact iadj for tactor icdtac

python usage : iantac = DKDKx_GetAntagonist(icdtac,iadj)

pylmgc90.chipy.lmgc90.DKDKx_GetAntagonistId(*args)[source]

int DKDKx_GetAntagonistId(int icdan)

return the antagonist identifiant for the icdan DKDKx contact

python usage : ianbdy = DKDKx_GetAntagonistId(icdan)

pylmgc90.chipy.lmgc90.DKDKx_GetCZMEnergy(*args)[source]

void DKDKx_GetCZMEnergy(int icdan, double *energy)

Get the CZM energy of a given contact.

pylmgc90.chipy.lmgc90.DKDKx_GetCandidatId(*args)[source]

int DKDKx_GetCandidatId(int icdan)

return the candidate identifiant for the icdan DKDKx contact

python usage : icdbdy = DKDKx_GetCandidatId(icdan)

pylmgc90.chipy.lmgc90.DKDKx_GetGap(*args)[source]

double DKDKx_GetGap(int icdan)

return the gap of icdan DKDKx contact

The function returns the value gapTTbegin of an interaction which represents the gap between two particles in detection position at begining ot time step.

python usage : gap = DKDKx_GetGap(icdan)

pylmgc90.chipy.lmgc90.DKDKx_GetGlobal2Local(*args)[source]

void DKDKx_GetGlobal2Local(int ivalue1, double **matrix_out, int *dim1, int *dim2)

return the matrix (copy) allowing to compute relavite velocities from velocities of the bodies in interaction

usage : jacobian_H = DKDKx_GetGlobal2Local(icdan)

pylmgc90.chipy.lmgc90.DKDKx_GetInteractions(*args)[source]

void DKDKx_GetInteractions(int **matrix_out, int *dim1, int *dim2)

return the full list of candidate/antagonist couple The vector is ordered as [cd1, an1, cd2, an2, cd3, an3...]

python usage : array = DKDKx_GetInteractions() array (int 2D-array) : list of candidats and antagonists of DKDKx interactions

pylmgc90.chipy.lmgc90.DKDKx_GetNbDKDKx(*args)[source]

int DKDKx_GetNbDKDKx(void)

return the number of DKDKx contact found

python usage : nb_DKDKx = DKDKx_GetNbDKDKx() nb_DKDKx (integer) : number of DKDKx found

pylmgc90.chipy.lmgc90.DKDKx_GetNbvDKDKx(*args)[source]

int DKDKx_GetNbvDKDKx(void)

return the number of DKDKx stored

python usage : nb_DKDKx = DKDKx_GetNbvDKDKx() nb_DKDKx (integer) : number of DKDKx found

pylmgc90.chipy.lmgc90.DKDKx_GetOldIndex(*args)[source]

int DKDKx_GetOldIndex(int icdan)

return the old index of an interaction

python usage : old_index = DKDKx_GetOldIndex(icdan)

pylmgc90.chipy.lmgc90.DKDKx_ReadIniVlocRloc(*args)[source]

void DKDKx_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : DKDKx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.DKDKx_RecupRloc(*args)[source]

void DKDKx_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : DKDKx_RecupRloc()

pylmgc90.chipy.lmgc90.DKDKx_SelectProxTactors(*args)[source]

void DKDKx_SelectProxTactors(int reset=0)

contact detection between CLxxx and JCxxx tactors

python usage : DKDKx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.DKDKx_SetPeriodicCondition(*args)[source]

void DKDKx_SetPeriodicCondition(double period)

initialize data for simulation using periodic condition

python usage : DKDKx_SetPeriodicCondition(period)

pylmgc90.chipy.lmgc90.DKDKx_SetSurfaceSectors(*args)[source]

void DKDKx_SetSurfaceSectors(int nbsect)

Set the number of angular sectors of the surface of contactors.

python usage : DKDKx_SetSurfaceSectors(nbsect)

pylmgc90.chipy.lmgc90.DKDKx_SmoothForceComputation(*args)[source]

void DKDKx_SmoothForceComputation(void)

explicit computation of contact forces

python usage : DKDKx_SmoothForceComputation()

pylmgc90.chipy.lmgc90.DKDKx_StockRloc(*args)[source]

void DKDKx_StockRloc(void)

stock values of local contact forces for the next time step

python usage : DKDKx_StockRloc()

pylmgc90.chipy.lmgc90.DKDKx_UpdateSurfaceEnergySector(*args)[source]

void DKDKx_UpdateSurfaceEnergySector(void)

update surface energy sector

python usage : DKDKx_UpdateSurfaceEnergySector()

pylmgc90.chipy.lmgc90.DKDKx_UseVaVDetection(*args)[source]

void DKDKx_UseVaVDetection(int nb)

allow to increase the number of contact for a pair cd/an.

python usage : DKDKx_UseVaVDetection(nb)

pylmgc90.chipy.lmgc90.DKDKx_WriteLastVlocRloc(*args)[source]

void DKDKx_WriteLastVlocRloc(void)

write last local values of all DKDKx contacts

python usage : DKDKx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKDKx_WriteOutVlocRloc(*args)[source]

void DKDKx_WriteOutVlocRloc(void)

write local values of all DKDKx contacts

python usage : DKDKx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKDPx_CleanMemory(*args)[source]

void DKDPx_CleanMemory(void)

Free all memory allocated within DKDPx module.

python usage : DKDPx_CleanMemory()

pylmgc90.chipy.lmgc90.DKDPx_DisplayOutVlocRloc(*args)[source]

void DKDPx_DisplayOutVlocRloc(void)

display local values of all DKDPx contacts

python usage : DKDPx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKDPx_DisplayProxTactors(*args)[source]

void DKDPx_DisplayProxTactors(void)

display contacts

python usage : DKDPx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.DKDPx_GetAll(*args)[source]

void DKDPx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = DKDPx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DKDPx_GetNbDKDPx(*args)[source]

int DKDPx_GetNbDKDPx(void)

return the number of DKDPx contact found

python usage : nb_DKDPx = DKDPx_GetNbDKDPx() nb_DKDPx (integer) : number of DKDPx found

pylmgc90.chipy.lmgc90.DKDPx_GetNbvDKDPx(*args)[source]

int DKDPx_GetNbvDKDPx(void)

return the number of DKDPx stored

python usage : nb_vDKDPx = DKDPx_GetNbvDKDPx() nb_vDKDPx (integer) : number of DKDPx stored

pylmgc90.chipy.lmgc90.DKDPx_ReadIniVlocRloc(*args)[source]

void DKDPx_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : DKDPx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.DKDPx_RecupRloc(*args)[source]

void DKDPx_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : DKDPx_RecupRloc()

pylmgc90.chipy.lmgc90.DKDPx_SelectProxTactors(*args)[source]

void DKDPx_SelectProxTactors(int reset=0)

contact detection between DISKx and DISPx tactors

python usage : DKDPx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.DKDPx_StockRloc(*args)[source]

void DKDPx_StockRloc(void)

stock values of local contact forces for the next time step

python usage : DKDPx_StockRloc()

pylmgc90.chipy.lmgc90.DKDPx_WriteLastVlocRloc(*args)[source]

void DKDPx_WriteLastVlocRloc(void)

write last local values of all DKDPx contacts

python usage : DKDPx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKDPx_WriteOutVlocRloc(*args)[source]

void DKDPx_WriteOutVlocRloc(void)

write local values of all DKDPx contacts

python usage : DKDPx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKJCx_CleanMemory(*args)[source]

void DKJCx_CleanMemory(void)

Free all memory allocated within DKJCx module.

python usage : DKJCx_CleanMemory()

pylmgc90.chipy.lmgc90.DKJCx_ComputeStress(*args)[source]

void DKJCx_ComputeStress(void)

compute the DKJC contribution to the equivalent stress tensor

python usage : DKJCx_ComputeStress()

pylmgc90.chipy.lmgc90.DKJCx_DisplayOutVlocRloc(*args)[source]

void DKJCx_DisplayOutVlocRloc(void)

display local values of all DKJCx contacts

python usage : DKJCx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKJCx_DisplayProxTactors(*args)[source]

void DKJCx_DisplayProxTactors(void)

display contacts

python usage : DKJCx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.DKJCx_GetAll(*args)[source]

void DKJCx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = DKJCx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DKJCx_GetAntagonistId(*args)[source]

int DKJCx_GetAntagonistId(int icdan)

return the antagonist identifiant for the icdan DKJCx contac

python usage : ianbdy = DKJCx_GetAntagonistId(icdan)

pylmgc90.chipy.lmgc90.DKJCx_GetCandidatId(*args)[source]

int DKJCx_GetCandidatId(int icdan)

return the candidate identifiant for the icdan DKJCx contac

python usage : icdbdy = DKJCx_GetCandidatId(icdan)

pylmgc90.chipy.lmgc90.DKJCx_GetNbDKJCx(*args)[source]

int DKJCx_GetNbDKJCx(void)

return the number of DKJCx contact found

python usage : nb_DKJCx = DKJCx_GetNbDKJCx() nb_DKJCx (integer) : number of DKJCx found

pylmgc90.chipy.lmgc90.DKJCx_GetNbvDKJCx(*args)[source]

int DKJCx_GetNbvDKJCx(void)

return the number of DKJCx stored

python usage : nb_vDKJCx = DKJCx_GetNbvDKJCx() nb_vDKJCx (integer) : number of DKJCx stored

pylmgc90.chipy.lmgc90.DKJCx_ReadIniVlocRloc(*args)[source]

void DKJCx_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : DKJCx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.DKJCx_RecupRloc(*args)[source]

void DKJCx_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : DKJCx_RecupRloc()

pylmgc90.chipy.lmgc90.DKJCx_SelectProxTactors(*args)[source]

void DKJCx_SelectProxTactors(int reset=0)

contact detection between DISKx and JONCx tactors

python usage : DKJCx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.DKJCx_SetSurfaceSectors(*args)[source]

void DKJCx_SetSurfaceSectors(int nbsect)

Set the number of angular sectors of the surface of contactors.

python usage : DKJCx_SetSurfaceSectors(nbsect)

pylmgc90.chipy.lmgc90.DKJCx_SmoothForceComputation(*args)[source]

void DKJCx_SmoothForceComputation(void)

explicit computation of contact forces

python usage : DKJCx_SmoothForceComputation()

pylmgc90.chipy.lmgc90.DKJCx_StockRloc(*args)[source]

void DKJCx_StockRloc(void)

stock values of local contact forces for the next time step

python usage : DKJCx_StockRloc()

pylmgc90.chipy.lmgc90.DKJCx_WriteLastVlocRloc(*args)[source]

void DKJCx_WriteLastVlocRloc(void)

write last local values of all DKJCx contacts

python usage : DKJCx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKJCx_WriteOutVlocRloc(*args)[source]

void DKJCx_WriteOutVlocRloc(void)

write local values of all DKJCx contacts

python usage : DKJCx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKKDx_CleanMemory(*args)[source]

void DKKDx_CleanMemory(void)

Free all memory allocated within DKKDx module.

python usage : DKKDx_CleanMemory()

pylmgc90.chipy.lmgc90.DKKDx_DisplayOutVlocRloc(*args)[source]

void DKKDx_DisplayOutVlocRloc(void)

display local values of all DKKDx contacts

python usage : DKKDx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKKDx_DisplayProxTactors(*args)[source]

void DKKDx_DisplayProxTactors(void)

display contacts

python usage : DKKDx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.DKKDx_GetAll(*args)[source]

void DKKDx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = DKKDx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DKKDx_GetNbDKKDx(*args)[source]

int DKKDx_GetNbDKKDx(void)

return the number of DKKDx contact found

python usage : nb_DKKDx = DKKDx_GetNbDKKDx() nb_DKKDx (integer) : number of DKKDx found

pylmgc90.chipy.lmgc90.DKKDx_GetNbvDKKDx(*args)[source]

int DKKDx_GetNbvDKKDx(void)

return the number of DKKDx stored

python usage : nb_vDKKDx = DKKDx_GetNbvDKKDx() nb_vDKKDx (integer) : number of DKKDx stored

pylmgc90.chipy.lmgc90.DKKDx_ReadIniVlocRloc(*args)[source]

void DKKDx_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : DKKDx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.DKKDx_RecupRloc(*args)[source]

void DKKDx_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : DKKDx_RecupRloc()

pylmgc90.chipy.lmgc90.DKKDx_SelectProxTactors(*args)[source]

void DKKDx_SelectProxTactors(int reset=0)

contact detection between DISKx and xKSID tactors

python usage : DKKDx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.DKKDx_SetSurfaceSectors(*args)[source]

void DKKDx_SetSurfaceSectors(int nbsect)

Set the number of angular sectors of the surface of contactors.

python usage : DKKDx_SetSurfaceSectors(nbsect)

pylmgc90.chipy.lmgc90.DKKDx_SmoothForceComputation(*args)[source]

void DKKDx_SmoothForceComputation(void)

explicit computation of contact forces

python usage : DKKDx_SmoothForceComputation()

pylmgc90.chipy.lmgc90.DKKDx_StockRloc(*args)[source]

void DKKDx_StockRloc(void)

stock values of local contact forces for the next time step

python usage : DKKDx_StockRloc()

pylmgc90.chipy.lmgc90.DKKDx_WriteLastVlocRloc(*args)[source]

void DKKDx_WriteLastVlocRloc(void)

write last local values of all DKKDx contacts

python usage : DKKDx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKKDx_WriteOutVlocRloc(*args)[source]

void DKKDx_WriteOutVlocRloc(void)

write local values of all DKKDx contacts

python usage : DKKDx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKPDx_CleanMemory(*args)[source]

void DKPDx_CleanMemory(void)

Free all memory allocated within DKPDx module.

python usage : DKPDx_CleanMemory()

pylmgc90.chipy.lmgc90.DKPDx_DisplayOutVlocRloc(*args)[source]

void DKPDx_DisplayOutVlocRloc(void)

display local values of all DKPDx contacts

python usage : DKPDx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKPDx_DisplayProxTactors(*args)[source]

void DKPDx_DisplayProxTactors(void)

display contacts

python usage : DKPDx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.DKPDx_GetAll(*args)[source]

void DKPDx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = DKPDx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DKPDx_GetNbDKPDx(*args)[source]

int DKPDx_GetNbDKPDx(void)

return the number of DKPDx contact found

python usage : nb_DKPDx = DKPDx_GetNbDKPDx() nb_DKPDx (integer) : number of DKPDx found

pylmgc90.chipy.lmgc90.DKPDx_GetNbvDKPDx(*args)[source]

int DKPDx_GetNbvDKPDx(void)

return the number of DKPDx stored

python usage : nb_vDKPDx = DKPDx_GetNbvDKPDx() nb_vDKPDx (integer) : number of DKPDx stored

pylmgc90.chipy.lmgc90.DKPDx_ReadIniVlocRloc(*args)[source]

void DKPDx_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : DKPDx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.DKPDx_RecupRloc(*args)[source]

void DKPDx_RecupRloc(void)

pylmgc90.chipy.lmgc90.DKPDx_SelectProxTactors(*args)[source]

void DKPDx_SelectProxTactors(int reset=0)

contact detection between DISKx and xSPID tactors

python usage : DKPDx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.DKPDx_StockRloc(*args)[source]

void DKPDx_StockRloc(void)

stock values of local contact forces for the next time step

python usage : DKPDx_StockRloc()

pylmgc90.chipy.lmgc90.DKPDx_WriteLastVlocRloc(*args)[source]

void DKPDx_WriteLastVlocRloc(void)

write last local values of all DKPDx contacts

python usage : DKPDx_RecupRloc()

the values written are relative velocity, forces and local frame

python usage : DKPDx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKPDx_WriteOutVlocRloc(*args)[source]

void DKPDx_WriteOutVlocRloc(void)

write local values of all DKPDx contacts

python usage : DKPDx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKPLx_CleanMemory(*args)[source]

void DKPLx_CleanMemory(void)

Free all memory allocated within DKPLx module.

python usage : DKPLx_CleanMemory()

pylmgc90.chipy.lmgc90.DKPLx_DisplayOutVlocRloc(*args)[source]

void DKPLx_DisplayOutVlocRloc(void)

display local values of all DKPLx contacts

python usage : DKPLx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKPLx_DisplayProxTactors(*args)[source]

void DKPLx_DisplayProxTactors(void)

display contacts

python usage : DKPLx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.DKPLx_GetAll(*args)[source]

void DKPLx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = DKPLx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DKPLx_GetNbDKPLx(*args)[source]

int DKPLx_GetNbDKPLx(void)

return the number of DKPLx contact found

python usage : nb_DKPLx = DKPLx_GetNbDKPLx()

nb_DKPLx (integer) : number of DKPLx found

pylmgc90.chipy.lmgc90.DKPLx_GetNbvDKPLx(*args)[source]

int DKPLx_GetNbvDKPLx(void)

return the number of DKPLx stored

python usage : nb_vDKPLx = DKPLx_GetNbvDKPLx() nb_vDKPLx (integer) : number of DKPLx stored

pylmgc90.chipy.lmgc90.DKPLx_ReadIniVlocRloc(*args)[source]

void DKPLx_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : DKPLx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.DKPLx_RecupRloc(*args)[source]

void DKPLx_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : DKPLx_RecupRloc()

pylmgc90.chipy.lmgc90.DKPLx_SelectProxTactors(*args)[source]

void DKPLx_SelectProxTactors(int reset=0)

contact detection between DISKx and POLYG tactors

python usage : DKPLx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.DKPLx_StockRloc(*args)[source]

void DKPLx_StockRloc(void)

stock values of local contact forces for the next time step

python usage : DKPLx_StockRloc()

pylmgc90.chipy.lmgc90.DKPLx_WriteLastVlocRloc(*args)[source]

void DKPLx_WriteLastVlocRloc(void)

write last local values of all DKPLx contacts

python usage : DKPLx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DKPLx_WriteOutVlocRloc(*args)[source]

void DKPLx_WriteOutVlocRloc(void)

write local values of all DKPLx contacts

python usage : DKPLx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DNLYC_CleanMemory(*args)[source]

void DNLYC_CleanMemory(void)

Free all memory allocated within DNLYC module.

python usage : DNLYC_CleanMemory()

pylmgc90.chipy.lmgc90.DNLYC_GetNbDNLYC(*args)[source]

int DNLYC_GetNbDNLYC(void)

Get the number of DNLYC.

python usage : nb_DNLYC = DNLYC_GetNbDNLYC()

nb_DNLYC (integer) : the number of DNLYC

pylmgc90.chipy.lmgc90.DNLYC_GetNbPointOutlines(*args)[source]

void DNLYC_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = DNLYC_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the DNLYC

pylmgc90.chipy.lmgc90.DNLYC_GetNbScalarFields(*args)[source]

int DNLYC_GetNbScalarFields(void)

Get the number of scalar fields of a DNLYC.

python usage : nb_scalarfields = DNLYC_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a DNLYC

pylmgc90.chipy.lmgc90.DNLYC_GetPtrAllConnectivities(*args)[source]

void DNLYC_GetPtrAllConnectivities(int **pointer_out, int *length)

Get a reference on the connectivities of all DNLYC.

usage : connec = DNLYC_GetPtrAllConnectivities() connec (integer array) : a reference on all_connectivities

pylmgc90.chipy.lmgc90.DNLYC_GetPtrDNLYC2RBDY3(*args)[source]

void DNLYC_GetPtrDNLYC2RBDY3(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map dnlyc2rbdy3

python usage : dnlyc2rbdy3 = DNLYC_GetPtrDNLYC2RBDY3()

dnlyc2rbdy3 (integer array) : reference on map between dnlyc rank and body rank

pylmgc90.chipy.lmgc90.DNLYC_InitOutlines(*args)[source]

void DNLYC_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all DNLYC.

usage : outlines = DNLYC_InitOutlines() outlines (double array) : a reference on outlines_DNLYC

pylmgc90.chipy.lmgc90.DNLYC_InitScalarFields(*args)[source]

void DNLYC_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all DNLYC.

usage : scalarfields = DNLYC_InitScalarfields() scalarfields (double array) : reference on scalarfields_DNLYC array

pylmgc90.chipy.lmgc90.DNLYC_LoadTactors(*args)[source]

void DNLYC_LoadTactors(void)

load DNLYC from RBDY3 and initialize existing_entites

python usage : DNLYC_LoadTactors()

pylmgc90.chipy.lmgc90.DNLYC_UpdatePostdata(*args)[source]

void DNLYC_UpdatePostdata(void)

Update values of outlines_DNLYC and scalarfields_DNLYC pointers.

usage : DNLYC_UpdatePostdata

pylmgc90.chipy.lmgc90.DPALp_CleanMemory(*args)[source]

void DPALp_CleanMemory(void)

Free all memory allocated within DPALp module.

python usage : DPALp_CleanMemory()

pylmgc90.chipy.lmgc90.DPALp_ComputeBox(*args)[source]

void DPALp_ComputeBox(void)

compute parameters for contact detection

python usage : DPALp_ComputeBox()

pylmgc90.chipy.lmgc90.DPALp_DisplayOutVlocRloc(*args)[source]

void DPALp_DisplayOutVlocRloc(void)

display local values of all DPALp contacts

python usage : DPALp_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DPALp_DisplayProxTactors(*args)[source]

void DPALp_DisplayProxTactors(void)

display contacts

python usage : DPALp_DisplayProxTactors()

pylmgc90.chipy.lmgc90.DPALp_GetAll(*args)[source]

void DPALp_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = DPALp_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.DPALp_GetNbDPALp(*args)[source]

int DPALp_GetNbDPALp(void)

Get the number of DPALp contact found.

python usage : nb_DPALp = DPALp_GetNbDPALp()

nb_DPALp (integer) : number of DPALp found

pylmgc90.chipy.lmgc90.DPALp_GetNbvDPALp(*args)[source]

int DPALp_GetNbvDPALp(void)

return the number of DPALp stored

python usage : nb_vDPALp = DPALp_GetNbvDPALp() nb_vDPALp (integer) : number of DPALp stored

pylmgc90.chipy.lmgc90.DPALp_ReadIniVlocRloc(*args)[source]

void DPALp_ReadIniVlocRloc(void)

python usage : DPALp_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.DPALp_RecupRloc(*args)[source]

void DPALp_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : DPALp_RecupRloc()

pylmgc90.chipy.lmgc90.DPALp_SelectProxTactors(*args)[source]

void DPALp_SelectProxTactors(int reset=0)

contact detection between DISKp and ALpxx tactors

python usage : DPALp_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.DPALp_StockRloc(*args)[source]

void DPALp_StockRloc(void)

stock values of local contact forces for the next time step

python usage : DPALp_StockRloc()

pylmgc90.chipy.lmgc90.DPALp_WriteLastVlocRloc(*args)[source]

void DPALp_WriteLastVlocRloc(void)

write last local values of all DPALp contacts

python usage : DPALp_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.DPALp_WriteOutVlocRloc(*args)[source]

void DPALp_WriteOutVlocRloc(void)

write local values of all DPALp contacts

python usage : DPALp_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.ExternalModels_CheckProperties(*args)[source]

void ExternalModels_CheckProperties(void)

Check consistency of external models data (if any)

python usage : ExternalModels_CheckProperties()

pylmgc90.chipy.lmgc90.ExternalModels_CleanMemory(*args)[source]

void ExternalModels_CleanMemory(void)

Free all memory allocated within ExternalModels module.

python usage : ExternalModels_CleanMemory()

pylmgc90.chipy.lmgc90.ExternalModels_InitModels(*args)[source]

void ExternalModels_InitModels(void)

Initialize the external models (if any)

python usage : ExternalModels_InitModels()

pylmgc90.chipy.lmgc90.Integrator_InitBeta2(*args)[source]

void Integrator_InitBeta2(double value)

python usage : Integrator_InitBeta2(value)

pylmgc90.chipy.lmgc90.Integrator_InitCrankNickolson(*args)[source]

void Integrator_InitCrankNickolson(double value)

python usage : Integrator_InitCrankNickolson(theta)

pylmgc90.chipy.lmgc90.Integrator_InitGear(*args)[source]

void Integrator_InitGear(void)

python usage : Integrator_InitGear()

pylmgc90.chipy.lmgc90.Integrator_InitTheta(*args)[source]

void Integrator_InitTheta(double value)

python usage : Integrator_InitTheta(theta)

pylmgc90.chipy.lmgc90.Integrator_InitVerlet(*args)[source]

void Integrator_InitVerlet(void)

python usage : Integrator_InitVerlet()

pylmgc90.chipy.lmgc90.Integrator_SetContactDetectionConfiguration(*args)[source]

void Integrator_SetContactDetectionConfiguration(double alpha_b, double alpha_e)

set the parameters necessary to define the contact detection configuration (default: 1-theta, 0.)

python usage : Integrator_SetContactDetectionConfiguration(alpha_b,alpha_e)

pylmgc90.chipy.lmgc90.JONCx_CleanMemory(*args)[source]

void JONCx_CleanMemory(void)

Free all memory allocated within JONCx module.

python usage : JONCx_CleanMemory()

pylmgc90.chipy.lmgc90.JONCx_GetBodyId(*args)[source]

int JONCx_GetBodyId(int itacty)

Get the body rank of a given JONCx.

python usage : ibdyty = JONCx_GetBodyId(itacty)

pylmgc90.chipy.lmgc90.JONCx_GetCoor(int itacty, double **r8_vector, int *r8_size)[source]

Get the coor of a JONCx.

usage : coor = JONCx_GetCoor(itacty)

pylmgc90.chipy.lmgc90.JONCx_GetNbJONCx(*args)[source]

int JONCx_GetNbJONCx(void)

Get the number of JONCx in container.

python usage : nb_joncx = JONCx_GetNbJONCx()

nb_joncx (integer) : the number of JONCx in container

pylmgc90.chipy.lmgc90.JONCx_GetNbPointOutlines(*args)[source]

void JONCx_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = JONCx_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the JONCx

pylmgc90.chipy.lmgc90.JONCx_GetNbScalarFields(*args)[source]

int JONCx_GetNbScalarFields(void)

Get the number of scalar fields of a JONCx.

python usage : nb_scalarfields = JONCx_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a JONCx

pylmgc90.chipy.lmgc90.JONCx_GetPtrJONCx2RBDY2(*args)[source]

void JONCx_GetPtrJONCx2RBDY2(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map joncx2rbdy2

python usage : joncx2rbdy2 = JONCx_GetPtrJONCx2RBDY2()

joncx2rbdy2 (integer array) : reference on map between joncx rank and body/tact rank

pylmgc90.chipy.lmgc90.JONCx_GetShape(int itacty, double **r8_vector, int *r8_size)[source]

Get the shape of a JONCx.

usage : shape = JONCx_GetShape(itacty)

pylmgc90.chipy.lmgc90.JONCx_InitOutlines(*args)[source]

void JONCx_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all JONCx.

usage : outlines = JONCx_InitOutlines() outlines (double array) : a reference on outlines_JONCx

pylmgc90.chipy.lmgc90.JONCx_InitScalarFields(*args)[source]

void JONCx_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all JONCx.

usage : scalarfields = JONCx_InitScalarfields() scalarfields (double array) : reference on scalarfields_JONCx array

pylmgc90.chipy.lmgc90.JONCx_LoadTactors(*args)[source]

void JONCx_LoadTactors(void)

load JONCx from RBDY2 and initialize existing_entites

python usage : JONCx_LoadTactors()

pylmgc90.chipy.lmgc90.JONCx_UpdatePostdata(*args)[source]

void JONCx_UpdatePostdata(void)

Update values of outlines_JONCx and scalarfields_JONCx pointers.

usage : JONCx_UpdatePostdata

pylmgc90.chipy.lmgc90.MAILx_AddDof2InBodies(*args)[source]

void MAILx_AddDof2InBodies(void)

set cooref = cooref + X

python usage : MAILx_AddDof2InBodies()

pylmgc90.chipy.lmgc90.MAILx_CleanMemory(*args)[source]

void MAILx_CleanMemory(void)

Free all memory allocated within MAILx module.

python usage : MAILx_CleanMemory()

pylmgc90.chipy.lmgc90.MAILx_DisplayOutGPV(*args)[source]

void MAILx_DisplayOutGPV(void)

display GPV values

python usage : MAILx_DisplayOutGPV()

pylmgc90.chipy.lmgc90.MAILx_GetCoordNodty(*args)[source]

double MAILx_GetCoordNodty(int ivalue1, int ivalue2, int)

Get one coordinate of a node of a body.

python usage : x = MAILx_GetCoordNodty(int ibdty,int inodty,int icomp)

pylmgc90.chipy.lmgc90.MAILx_GetCoordsNodty(*args)[source]

double MAILx_GetCoordsNodty(int ivalue1, int ivalue2, double *rvector_out, int rlength_out)

Get the coordinates of a node of a body.

python usage : x = MAILx_GetCoordsNodty(int ibdty, int inodty, int length)

pylmgc90.chipy.lmgc90.MAILx_GetNbCell(*args)[source]

int MAILx_GetNbCell(int IdBody)

Get the number of Cells of a given MAILx.

python usage : nb_MAILx = GetNbCell(IdBody)

pylmgc90.chipy.lmgc90.MAILx_GetNbMAILx(*args)[source]

int MAILx_GetNbMAILx(void)

Get the number of MAILx.

python usage : nb_MAILx = GetNbMAILx()

nb_MAILx (integer) : number of MAILx C parameter : nb_MAILx (int) : number of MAILx

pylmgc90.chipy.lmgc90.MAILx_GetNbNodes(*args)[source]

int MAILx_GetNbNodes(int)

Get the number of nodes of a given MAILx.

python usage : nb_nodes = MAILx_GetNbNodes(ibdyty)

pylmgc90.chipy.lmgc90.MAILx_InitNodalField(*args)[source]

void MAILx_InitNodalField(int ibdyty, char *name, int rank, int sz)

Set name and size of a nodal_field of a given body.

python usage : MAILx_InitNodalField(ibdyty,name,rank,sz)

pylmgc90.chipy.lmgc90.MAILx_InitNodalFields(*args)[source]

void MAILx_InitNodalFields(int ibdyty, int nb_fields)

Set the number of nodal_fields for a given body.

python usage : MAILx_InitNodalFields(ibdyty,nb_nodal_fields)

pylmgc90.chipy.lmgc90.MAILx_ReadBodies(*args)[source]

void MAILx_ReadBodies(void)

read MAILx from DATBOX/BODIES.DAT

python usage : MAILx_ReadBodies()

pylmgc90.chipy.lmgc90.MAILx_SetCoorRef(*args)[source]

void MAILx_SetCoorRef(int IdBody, double *rvector_in, int rlength_in)

set reference coordinates on a given body

python usage : MAILx_SetCoorRef(IdBody, f, length)

pylmgc90.chipy.lmgc90.MAILx_SetNodalField(*args)[source]

void MAILx_SetNodalField(int ibdyty, int rank, double *rvector_in, int rlength_in)

Set a nodal_field of a given body.

python usage : MAILx_SetNodalField(ibdyty,rank,field)

pylmgc90.chipy.lmgc90.MAILx_WriteBodies(*args)[source]

void MAILx_WriteBodies(void)

write MAILx to OUTBOX/BODIES.OUT

python usage : MAILx_WriteBodies()

pylmgc90.chipy.lmgc90.MAILx_WriteLastGPV(*args)[source]

void MAILx_WriteLastGPV(void)

write OUTBOX/GPV.LAST

python usage : MAILx_WriteLastGPV()

pylmgc90.chipy.lmgc90.MAILx_WriteOutGPV(*args)[source]

void MAILx_WriteOutGPV(void)

write OUTBOX/GPV.OUT.x

python usage : MAILx_WriteOutGPV()

pylmgc90.chipy.lmgc90.NewtonRaphson_CheckConvergence(*args)[source]

int NewtonRaphson_CheckConvergence(double value)

check if Newton Raphson loop converges

python usage : iconv = NewtonRaphson_CheckConvergence(norm)

pylmgc90.chipy.lmgc90.NewtonRaphson_ComputeTimeStep(*args)[source]

int NewtonRaphson_ComputeTimeStep(void)

manages time step evolution depending on newton raphson convergence

python usage : itodo = NewtonRaphson_ComputeTimeStep()

itodo (integer) : what to do now

itodo = 0 : just keep going (time step may have been modified)

itodo = 1 : redo time step (time step has been decreased)

itodo = 2 : it’s hopeless just stop where you are

pylmgc90.chipy.lmgc90.NewtonRaphson_Initialize(*args)[source]

void NewtonRaphson_Initialize(double value)

initialize Newton Raphson Loop

python usage : NewtonRaphson_Initialize(tol)

pylmgc90.chipy.lmgc90.NewtonRaphson_SetBadIter(*args)[source]

void NewtonRaphson_SetBadIter(int ivalue)

python usage : NewtonRaphson_SetBadIter(bad_iter)

pylmgc90.chipy.lmgc90.NewtonRaphson_SetFinalTime(*args)[source]

void NewtonRaphson_SetFinalTime(double value)

Set final time.

python usage : NewtonRaphson_SetFinalTime(t_final)

pylmgc90.chipy.lmgc90.NewtonRaphson_SetGoodIter(*args)[source]

void NewtonRaphson_SetGoodIter(int ivalue)

python usage : NewtonRaphson_SetGoodIter(good_iter)

pylmgc90.chipy.lmgc90.NewtonRaphson_SetIncPatience(*args)[source]

void NewtonRaphson_SetIncPatience(int ivalue)

python usage : NewtonRaphson_SetIncPatience(patience)

pylmgc90.chipy.lmgc90.NewtonRaphson_SetMaxIter(*args)[source]

void NewtonRaphson_SetMaxIter(int ivalue)

python usage : NewtonRaphson_SetMaxIter(max_iter)

pylmgc90.chipy.lmgc90.NewtonRaphson_SetMaxTimeStep(*args)[source]

void NewtonRaphson_SetMaxTimeStep(double value)

Set value of maximum possible time step.

python usage : NewtonRaphson_SetMaxTimeStep(dt)

pylmgc90.chipy.lmgc90.NewtonRaphson_SetMinTimeStep(*args)[source]

void NewtonRaphson_SetMinTimeStep(double value)

Set value of mininum possible time step.

python usage : NewtonRaphson_SetMinTimeStep(dt)

pylmgc90.chipy.lmgc90.P2P2L_CleanMemory(*args)[source]

void P2P2L_CleanMemory(void)

Free all memory allocated within P2P2L module.

python usage : P2P2L_CleanMemory()

pylmgc90.chipy.lmgc90.P2P2L_DisplayOutVlocRloc(*args)[source]

void P2P2L_DisplayOutVlocRloc(void)

display local values of all P2P2L contacts

python usage : P2P2L_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.P2P2L_DisplayProxTactors(*args)[source]

void P2P2L_DisplayProxTactors(void)

display contacts

python usage : P2P2L_DisplayProxTactors()

pylmgc90.chipy.lmgc90.P2P2L_GetAll(*args)[source]

void P2P2L_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = P2P2L_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.P2P2L_GetNbP2P2L(*args)[source]

int P2P2L_GetNbP2P2L(void)

return the number of P2P2L contact found

python usage : nb_P2P2L = P2P2L_GetNbP2P2L()

nb_P2P2L (integer) : number of P2P2L found

pylmgc90.chipy.lmgc90.P2P2L_GetNbvP2P2L(*args)[source]

int P2P2L_GetNbvP2P2L(void)

return the number of P2P2L stored

python usage : nb_vP2P2L = P2P2L_GetNbvP2P2L() nb_vP2P2L (integer) : number of P2P2L stored

pylmgc90.chipy.lmgc90.P2P2L_ReadIniVlocRloc(*args)[source]

void P2P2L_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : P2P2L_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.P2P2L_RecupRloc(*args)[source]

void P2P2L_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : P2P2L_RecupRloc()

pylmgc90.chipy.lmgc90.P2P2L_SelectProxTactors(*args)[source]

void P2P2L_SelectProxTactors(int reset=0)

contact detection between PT2DL tactors

python usage : P2P2L_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.P2P2L_StockRloc(*args)[source]

void P2P2L_StockRloc(void)

stock values of local contact forces for the next time step

python usage : P2P2L_StockRloc()

pylmgc90.chipy.lmgc90.P2P2L_WriteLastVlocRloc(*args)[source]

void P2P2L_WriteLastVlocRloc(void)

write last local values of all P2P2L contacts

python usage : P2P2L_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.P2P2L_WriteOutVlocRloc(*args)[source]

void P2P2L_WriteOutVlocRloc(void)

write local values of all P2P2L contacts

python usage : P2P2L_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PLALp_CleanMemory(*args)[source]

void PLALp_CleanMemory(void)

Free all memory allocated within PLALp module.

python usage : PLALp_CleanMemory()

pylmgc90.chipy.lmgc90.PLALp_DisplayOutVlocRloc(*args)[source]

void PLALp_DisplayOutVlocRloc(void)

display local values of all PLALp contacts

python usage : PLALp_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PLALp_DisplayProxTactors(*args)[source]

void PLALp_DisplayProxTactors(void)

display contacts

python usage : PLALp_DisplayProxTactors()

pylmgc90.chipy.lmgc90.PLALp_GetAll(*args)[source]

void PLALp_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = PLALp_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.PLALp_GetNbPLALp(*args)[source]

int PLALp_GetNbPLALp(void)

return the number of PLALp contact found

python usage : nb_PLALp = PLALp_GetNbPLALp()

nb_PLALp (integer) : number of PLALp found

pylmgc90.chipy.lmgc90.PLALp_GetNbvPLALp(*args)[source]

int PLALp_GetNbvPLALp(void)

return the number of PLALp stored

python usage : nb_vPLALp = PLALp_GetNbvPLALp() nb_vPLALp (integer) : number of PLALp stored

pylmgc90.chipy.lmgc90.PLALp_ReadIniVlocRloc(*args)[source]

void PLALp_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : PLALp_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.PLALp_RecupRloc(*args)[source]

void PLALp_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : PLALp_RecupRloc()

pylmgc90.chipy.lmgc90.PLALp_SelectProxTactors(*args)[source]

void PLALp_SelectProxTactors(int reset=0)

contact detection between POLYG and ALpxx tactors

python usage : PLALp_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.PLALp_StockRloc(*args)[source]

void PLALp_StockRloc(void)

stock values of local contact forces for the next time step

python usage : PLALp_StockRloc()

pylmgc90.chipy.lmgc90.PLALp_WriteLastVlocRloc(*args)[source]

void PLALp_WriteLastVlocRloc(void)

write last local values of all PLALp contacts

python usage : PLALp_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PLALp_WriteOutVlocRloc(*args)[source]

void PLALp_WriteOutVlocRloc(void)

write local values of all PLALp contacts

python usage : PLALp_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PLANx_CleanMemory(*args)[source]

void PLANx_CleanMemory(void)

Free all memory allocated within PLANx module.

python usage : PLANx_CleanMemory()

pylmgc90.chipy.lmgc90.PLANx_GetNbPLANx(*args)[source]

int PLANx_GetNbPLANx(void)

Get the number of PLANx.

python usage : nb_PLANx = PLANx_GetNbPLANx()

nb_PLANx (integer) : the number of PLANx

pylmgc90.chipy.lmgc90.PLANx_GetNbPointOutlines(*args)[source]

void PLANx_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = PLANx_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the PLANx

pylmgc90.chipy.lmgc90.PLANx_GetNbScalarFields(*args)[source]

int PLANx_GetNbScalarFields(void)

Get the number of scalar fields of a PLANx.

python usage : nb_scalarfields = PLANx_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a PLANx

pylmgc90.chipy.lmgc90.PLANx_GetPtrAllConnectivities(*args)[source]

void PLANx_GetPtrAllConnectivities(int **pointer_out, int *length)

Get a reference on the connectivities of all PLANx.

usage : connec = PLANx_GetPtrAllConnectivities() connec (integer array) : a reference on all_connectivities

pylmgc90.chipy.lmgc90.PLANx_GetPtrPLANx2RBDY3(*args)[source]

void PLANx_GetPtrPLANx2RBDY3(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map planx2rbdy3

python usage : planx2rbdy3 = PLANx_GetPtrPLANx2RBDY3()

planx2rbdy3 (integer array) : reference on map between planx rank and body rank

pylmgc90.chipy.lmgc90.PLANx_InitOutlines(*args)[source]

void PLANx_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all PLANx.

usage : outlines = PLANx_InitOutlines() outlines (double array) : a reference on outlines_PLANx

pylmgc90.chipy.lmgc90.PLANx_InitScalarFields(*args)[source]

void PLANx_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all PLANx.

usage : scalarfields = PLANx_InitScalarfields() scalarfields (double array) : reference on scalarfields_PLANx array

pylmgc90.chipy.lmgc90.PLANx_LoadTactors(*args)[source]

void PLANx_LoadTactors(void)

load PLANx from RBDY3 and initialize existing_entites

python usage : PLANx_LoadTactors()

pylmgc90.chipy.lmgc90.PLANx_UpdatePostdata(*args)[source]

void PLANx_UpdatePostdata(void)

Update values of outlines_PLANx and scalarfields_PLANx pointers.

usage : PLANx_UpdatePostdata

pylmgc90.chipy.lmgc90.PLJCx_CleanMemory(*args)[source]

void PLJCx_CleanMemory(void)

Free all memory allocated within PLJCx module.

python usage : PLJCx_CleanMemory()

pylmgc90.chipy.lmgc90.PLJCx_ComputeStress(*args)[source]

void PLJCx_ComputeStress(void)

compute the PLJC contribution to the equivalent stress tensor

python usage : PLJCx_ComputeStress()

pylmgc90.chipy.lmgc90.PLJCx_DisplayOutVlocRloc(*args)[source]

void PLJCx_DisplayOutVlocRloc(void)

display local values of all PLJCx contacts

python usage : PLJCx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PLJCx_DisplayProxTactors(*args)[source]

void PLJCx_DisplayProxTactors(void)

display contacts

python usage : PLJCx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.PLJCx_GetAll(*args)[source]

void PLJCx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = PLJCx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.PLJCx_GetNbPLJCx(*args)[source]

int PLJCx_GetNbPLJCx(void)

return the number of PLJCx contact found

python usage : nb_PLJCx = PLJCx_GetNbPLJCx()

nb_PLJCx (integer) : number of PLJCx found

pylmgc90.chipy.lmgc90.PLJCx_GetNbvPLJCx(*args)[source]

int PLJCx_GetNbvPLJCx(void)

return the number of PLJCx stored

python usage : nb_vPLJCx = PLJCx_GetNbvPLJCx() nb_vPLJCx (integer) : number of PLJCx stored

pylmgc90.chipy.lmgc90.PLJCx_ReadIniVlocRloc(*args)[source]

void PLJCx_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : PLJCx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.PLJCx_RecupRloc(*args)[source]

void PLJCx_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : PLJCx_RecupRloc()

pylmgc90.chipy.lmgc90.PLJCx_SelectProxTactors(*args)[source]

void PLJCx_SelectProxTactors(int reset=0)

contact detection between POLYG and JONCx tactors

python usage : PLJCx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.PLJCx_StockRloc(*args)[source]

void PLJCx_StockRloc(void)

stock values of local contact forces for the next time step

python usage : PLJCx_StockRloc()

pylmgc90.chipy.lmgc90.PLJCx_WriteLastVlocRloc(*args)[source]

void PLJCx_WriteLastVlocRloc(void)

write last local values of all PLJCx contacts

python usage : PLJCx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PLJCx_WriteOutVlocRloc(*args)[source]

void PLJCx_WriteOutVlocRloc(void)

write local values of all PLJCx contacts

python usage : PLJCx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PLPLx_CleanMemory(*args)[source]

void PLPLx_CleanMemory(void)

Free all memory allocated within PLPLx module.

python usage : PLPLx_CleanMemory()

pylmgc90.chipy.lmgc90.PLPLx_ComputeBetai(*args)[source]

void PLPLx_ComputeBetai(void)

compute equivalent damage parameter

python usage : PLPLx_ComputeBetai()

pylmgc90.chipy.lmgc90.PLPLx_ComputeCZMEnergy(*args)[source]

void PLPLx_ComputeCZMEnergy(void)

compute and decompose local contact energy with CZM law

python usage : PLPLx_ComputeCZMEnergy()

pylmgc90.chipy.lmgc90.PLPLx_ComputeStress(*args)[source]

void PLPLx_ComputeStress(void)

update surface energy sector

python usage : PLPLx_ComputeStress()

pylmgc90.chipy.lmgc90.PLPLx_DisplayOutVlocRloc(*args)[source]

void PLPLx_DisplayOutVlocRloc(void)

display local values of all PLPLx contacts

python usage : PLPLx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PLPLx_DisplayProxTactors(*args)[source]

void PLPLx_DisplayProxTactors(void)

display contacts

python usage : PLPLx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.PLPLx_GetAdjacentSize(*args)[source]

int PLPLx_GetAdjacentSize(int icdtac)

return the number of contact for candidate icdtac

python usage : nbadj = PLPLx_GetAdjacentSize(icdtac)

pylmgc90.chipy.lmgc90.PLPLx_GetAll(*args)[source]

void PLPLx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = PLPLx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.PLPLx_GetAllInternal(*args)[source]

void PLPLx_GetAllInternal(double **matrix_out, int *dim1, int *dim2)

return contact point internal variables

python usage : array = PLPLx_GetAllInternal() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.PLPLx_GetAntagonist(*args)[source]

int PLPLx_GetAntagonist(int icdtac, int iadj)

return the antagonist identifiant of the contact iadj for tactor icdtac

python usage : iantac = PLPLx_GetAntagonist(icdtac,iadj)

pylmgc90.chipy.lmgc90.PLPLx_GetCZMEnergy(*args)[source]

void PLPLx_GetCZMEnergy(int icdan, double *energy)

Get the CZM energy of a given contact.

pylmgc90.chipy.lmgc90.PLPLx_GetNbPLPLx(*args)[source]

int PLPLx_GetNbPLPLx(void)

return the number of PLPLx contact found

python usage : nb_PLPLx = PLPLx_GetNbPLPLx()

nb_PLPLx (integer) : number of PLPLx found

pylmgc90.chipy.lmgc90.PLPLx_GetNbvPLPLx(*args)[source]

int PLPLx_GetNbvPLPLx(void)

return the number of PLPLx stored

python usage : nb_vPLPLx = PLPLx_GetNbvPLPLx() nb_vPLPLx (integer) : number of PLPLx stored

pylmgc90.chipy.lmgc90.PLPLx_GetVerletInternal(*args)[source]

real PLPLx_GetVerletInternal(int ivalue1, int ivalue2, double **r8_vector, int *r8_size)

python usage : vector_ptr = PLPLx_GetVerletInternal(icdtac, iadj)

pylmgc90.chipy.lmgc90.PLPLx_ReadIniVlocRloc(*args)[source]

void PLPLx_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : PLPLx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.PLPLx_RecupRloc(*args)[source]

void PLPLx_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : PLPLx_RecupRloc()

pylmgc90.chipy.lmgc90.PLPLx_RecupRlocByPosition(*args)[source]

void PLPLx_RecupRlocByPosition(double tol)

get data from Verlet list verlt and put into this

python usage : PLPLx_RecupRlocByPosition(tol)

pylmgc90.chipy.lmgc90.PLPLx_SelectProxTactors(*args)[source]

void PLPLx_SelectProxTactors(int reset=0)

contact detection between POLYG tactors

python usage : PLPLx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.PLPLx_SetBigPolygTolerance(*args)[source]

void PLPLx_SetBigPolygTolerance(double tol)

python usage : PLPLx_SetBigPolygTolerance(tol)

pylmgc90.chipy.lmgc90.PLPLx_SetPeriodicCondition(*args)[source]

void PLPLx_SetPeriodicCondition(double period)

initialize data for simulation using periodic condition

python usage : PLPLx_SetPeriodicCondition(period)

pylmgc90.chipy.lmgc90.PLPLx_StockRloc(*args)[source]

void PLPLx_StockRloc(void)

stock values of local contact forces for the next time step

python usage : PLPLx_StockRloc()

pylmgc90.chipy.lmgc90.PLPLx_WriteLastVlocRloc(*args)[source]

void PLPLx_WriteLastVlocRloc(void)

write last local values of all PLPLx contacts

python usage : PLPLx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PLPLx_WriteOutVlocRloc(*args)[source]

void PLPLx_WriteOutVlocRloc(void)

write local values of all PLPLx contacts

python usage : PLPLx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.POLYG_CleanMemory(*args)[source]

void POLYG_CleanMemory(void)

Free all memory allocated within POLYG module.

python usage : POLYG_CleanMemory()

pylmgc90.chipy.lmgc90.POLYG_GetBodyId(*args)[source]

int POLYG_GetBodyId(int itacty)

Get the id of the body which the tactor belongs.

python usage : id = POLYG_GetBodyId(itacty)

pylmgc90.chipy.lmgc90.POLYG_GetContactorNbPointOutline(*args)[source]

int POLYG_GetContactorNbPointOutline(int itacty)

Get the number of points defining the outline of a POLYG.

python usage : nb_point_outline = POLYG_GetContactorNbPointOutline(itacty)

pylmgc90.chipy.lmgc90.POLYG_GetContactorOutline(*args)[source]

void POLYG_GetContactorOutline(int itacty, double **matrix_out, int *dim1, int *dim2)

Get the outline of a POLYG.

python usage : outline = POLYG_GetContactorOutline(itacty)

pylmgc90.chipy.lmgc90.POLYG_GetContactorRadius(*args)[source]

double POLYG_GetContactorRadius(int itact)

Get the radius of a given POLYG.

python usage : radius = POLYG_GetContactorRadius(itact)

pylmgc90.chipy.lmgc90.POLYG_GetMaxRadius(*args)[source]

double POLYG_GetMaxRadius(void)

give max radius used during detection

python usage : POLYG_GetMaxRadius()

pylmgc90.chipy.lmgc90.POLYG_GetMinRadius(*args)[source]

double POLYG_GetMinRadius(void)

give min radius used during detection

python usage : POLYG_GetMinRadius()

pylmgc90.chipy.lmgc90.POLYG_GetNbPOLYG(*args)[source]

int POLYG_GetNbPOLYG(void)

Get the number of POLYG in container.

python usage : nb_polyg = POLYG_GetNbPOLYG()

nb_polyg (integer) : the number of POLYG in container

pylmgc90.chipy.lmgc90.POLYG_GetNbPointOutlines(*args)[source]

void POLYG_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = POLYG_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the POLYG

pylmgc90.chipy.lmgc90.POLYG_GetNbScalarFields(*args)[source]

int POLYG_GetNbScalarFields(void)

Get the number of scalar fields of a POLYG.

python usage : nb_scalarfields = POLYG_GetNbScalarFields()

nb_scalarfields (integer) : the number of scalar fields of a POLYG

pylmgc90.chipy.lmgc90.POLYG_GetNbVertex(*args)[source]

int POLYG_GetNbVertex(int itacty)

Get the number of vertices of a POLYG.

usage : nb_vertex = POLYG_GetNpVertex(itacty)

pylmgc90.chipy.lmgc90.POLYG_GetNbVertices(*args)[source]

int POLYG_GetNbVertices(int ibdyty)

Get the number of vertices of the first POLYG of a body.

python usage : nb_vertices = POLYG_GetNbVertices(ibdyty)

pylmgc90.chipy.lmgc90.POLYG_GetPOLYG2RBDY2(*args)[source]

void POLYG_GetPOLYG2RBDY2(int **i4_vector, int *i4_size)

return the map polyg2rbdy2

python usage : polyg2rbdy2 = POLYG_GetPOLYG2RBDY2() polyg2rbdy2 (integer array) : map between polyg rank and body rank

pylmgc90.chipy.lmgc90.POLYG_GetPtrPOLYG2RBDY2(*args)[source]

void POLYG_GetPtrPOLYG2RBDY2(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map polyg2rbdy2

python usage : polyg2rbdy2 = POLYG_GetPtrPOLYG2RBDY2()

polyg2rbdy2 (integer array) : reference on map between polyg rank and body/tactor rank

pylmgc90.chipy.lmgc90.POLYG_GetVertex(*args)[source]

void POLYG_GetVertex(int itacty, double *rvector_out, int rlength_out)

Get the outline of a POLYG.

usage : vertex = POLYG_GetVertex(itacty, length)

pylmgc90.chipy.lmgc90.POLYG_GetVertices(*args)[source]

void POLYG_GetVertices(int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get the coordinates of the vertices of the first POLYG of a body.

usage : vertices = POLYG_GetVertices(ibdyty)

pylmgc90.chipy.lmgc90.POLYG_InitOutlines(*args)[source]

void POLYG_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all POLYG.

usage : outlines = POLYG_InitOutlines() outlines (double array) : a reference on outlines_POLYG

pylmgc90.chipy.lmgc90.POLYG_InitScalarFields(*args)[source]

void POLYG_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all POLYG.

usage : scalarfields = POLYG_InitScalarfields() scalarfields (double array) : reference on scalarfields_POLYG array

pylmgc90.chipy.lmgc90.POLYG_LoadTactors(*args)[source]

void POLYG_LoadTactors(void)

load POLYG from RBDY2 and initialize existing_entites

python usage : POLYG_LoadTactors()

pylmgc90.chipy.lmgc90.POLYG_SetVther(*args)[source]

void POLYG_SetVther(int itacty, int ivertex, double *rvector_in, int rlength_in=2)

pylmgc90.chipy.lmgc90.POLYG_SetXther(*args)[source]

void POLYG_SetXther(int itacty, int ivertex, double *rvector_in, int rlength_in=2)

pylmgc90.chipy.lmgc90.POLYG_UpdateNormalsRef(*args)[source]

void POLYG_UpdateNormalsRef(void)

Update normals taken into account thermal dilatation.

python usage : POLYG_UpdateNormalsRef()

pylmgc90.chipy.lmgc90.POLYG_UpdatePostdata(*args)[source]

void POLYG_UpdatePostdata(void)

Update values of outlines_POLYG and scalarfields_POLYG pointers.

usage : POLYG_UpdatePostdata

pylmgc90.chipy.lmgc90.POLYG_UpdateRadii(*args)[source]

void POLYG_UpdateRadii(void)

Update radii (mean,radius, max, min) for detection.

python usage : POLYG_UpdateRadii()

pylmgc90.chipy.lmgc90.POLYR_CleanMemory(*args)[source]

void POLYR_CleanMemory(void)

Free all memory allocated within POLYR module.

python usage : POLYR_CleanMemory()

pylmgc90.chipy.lmgc90.POLYR_FlatnessAngle(*args)[source]

void POLYR_FlatnessAngle(double angle)

set the maximum angle (between 0 and 180 degree) variation between elements of a topological face to declare it as flat

python usage : POLYR_FlatnessAngle(angle)

pylmgc90.chipy.lmgc90.POLYR_GetContactorColor(*args)[source]

void POLYR_GetContactorColor(int itact, char **string_out, int *string_size)

Get the color of a given POLYR.

python usage : color = POLYR_GetContactorColor(itacty)

pylmgc90.chipy.lmgc90.POLYR_GetNbPOLYR(*args)[source]

int POLYR_GetNbPOLYR(void)

Get the number of POLYR.

python usage : nb_POLYR = POLYR_GetNbPOLYR()

nb_POLYR (integer) : the number of POLYR

pylmgc90.chipy.lmgc90.POLYR_GetNbPointOutlines(*args)[source]

void POLYR_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = POLYR_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the POLYR

pylmgc90.chipy.lmgc90.POLYR_GetNbScalarFields(*args)[source]

int POLYR_GetNbScalarFields(void)

Get the number of scalar fields of a POLYR.

python usage : nb_scalarfields = POLYR_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a POLYR

pylmgc90.chipy.lmgc90.POLYR_GetPOLYR2RBDY3(*args)[source]

void POLYR_GetPOLYR2RBDY3(int **matrix_out, int *dim1, int *dim2)

Get a copy of map POLYR2bdyty.

usage : polyr2rbdy3 = POLYR_GetPOLYR2RBDY3() polyr2rbdy3 (integer 2D- array) : the polyr2bdyty map

pylmgc90.chipy.lmgc90.POLYR_GetPtrAllConnectivities(*args)[source]

void POLYR_GetPtrAllConnectivities(int **pointer_out, int *length)

Get a reference on the connectivities of all POLYR.

usage : connec = POLYR_GetPtrAllConnectivities() connec (integer array) : a reference on all_connectivities

pylmgc90.chipy.lmgc90.POLYR_GetPtrConnectivity(*args)[source]

void POLYR_GetPtrConnectivity(int itacty, int **pointer_out, int *dim1, int *dim2)

Get a reference on the connectivity of one POLYR.

usage : connec = POLYR_GetPtrConnectivity(itacty)

pylmgc90.chipy.lmgc90.POLYR_GetPtrNormalTT(*args)[source]

void POLYR_GetPtrNormalTT(int itacty, double **pointer_out, int *dim1, int *dim2)

Get a pointer on the outline of a POLYR in detection configuration - be carefull to move polyr.

usage : normal = POLYR_GetPtrNormalTT(itacty)

pylmgc90.chipy.lmgc90.POLYR_GetPtrPOLYR2RBDY3(*args)[source]

void POLYR_GetPtrPOLYR2RBDY3(int **pointer_out, int *dim1, int *dim2)

Get a pointer on map POLYR2bdyty.

usage : polyr2rbdy3 = POLYR_GetPtrPOLYR2RBDY3() polyr2rbdy3 (integer 2D-array) : a copy of the polyr2bdyty map

pylmgc90.chipy.lmgc90.POLYR_GetPtrVertexRef(*args)[source]

void POLYR_GetPtrVertexRef(int itacty, double **matrix_out, int *dim1, int *dim2)

Get the position of the vertices of a POLYR in its inertia frame.

usage : vertex = POLYR_GetPtrVertexRef(itacty)

pylmgc90.chipy.lmgc90.POLYR_GetPtrVertexTT(*args)[source]

void POLYR_GetPtrVertexTT(int itacty, double **pointer_out, int *dim1, int *dim2)

Get a pointer on the outline of a POLYR in detection configuration.

usage : vertex = POLYR_GetPtrVertexTT(itacty)

pylmgc90.chipy.lmgc90.POLYR_GetVertex(*args)[source]

void POLYR_GetVertex(int itacty, double **matrix_out, int *dim1, int *dim2)

Get the outline of a POLYR in almost current configuration.

If the POLYR is a real POLYR the current position of the center of the POLYR is used but the local frame for the orientation is the on in detection configuration.

If the POLYR is in fact a POLYD the current position of nodes of the mesh are used.

usage : vertex = POLYR_GetVertex(itacty)

pylmgc90.chipy.lmgc90.POLYR_GetWireframe(*args)[source]

void POLYR_GetWireframe(int ivalue1, double **pointer_out, int *length, int **pointer_out2, int *length2)

Get wireframe of a POLYR.

python usage : coor,connectivity = POLYR_GetWireframe(itacty)

pylmgc90.chipy.lmgc90.POLYR_InitOutlines(*args)[source]

void POLYR_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all POLYR.

usage : outlines = POLYR_InitOutlines() outlines (double array) : a reference on outlines_POLYR

pylmgc90.chipy.lmgc90.POLYR_InitScalarFields(*args)[source]

void POLYR_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all POLYR.

usage : scalarfields = POLYR_InitScalarfields() scalarfields (double array) : reference on scalarfields_POLYR array

pylmgc90.chipy.lmgc90.POLYR_LoadTactors(*args)[source]

void POLYR_LoadTactors(void)

load POLYR from RBDY3 or MAILx and initialize existing_entites

python usage : POLYR_LoadTactors()

pylmgc90.chipy.lmgc90.POLYR_ModifyRadius(*args)[source]

void POLYR_ModifyRadius(double ratio)

apply an amplification/reduction size factor

python usage : POLYR_ModifyRadius(ratio)

pylmgc90.chipy.lmgc90.POLYR_MoveToConfigurationTT(*args)[source]

void POLYR_MoveToConfigurationTT(void)

move the polyr in the configuration TT

python usage : POLYR_MoveToConfigurationTT()

pylmgc90.chipy.lmgc90.POLYR_SaveVertex(*args)[source]

void POLYR_SaveVertex(void)

write position of vertex in a file

python usage : POLYR_SaveVertex()

pylmgc90.chipy.lmgc90.POLYR_SetThresholdBigPolyr(*args)[source]

void POLYR_SetThresholdBigPolyr(double ratio)

define the threshold between a plain and a big polyr. big polyr are such that radius > threshold*mean_radius. default threshold = 4.

python usage : POLYR_SetThresholdBigPolyr(ratio)

pylmgc90.chipy.lmgc90.POLYR_SkipAutomaticReorientation(*args)[source]

void POLYR_SkipAutomaticReorientation(void)

disable automatic reorientation (which works only with convex POLYR)

python usage : POLYR_SkipAutomaticReorientation()

Disable the automatic reorientation of normals performed by lmgc90. This is necessary when using non-convex objects.

pylmgc90.chipy.lmgc90.POLYR_SkipHEBuild(*args)[source]

void POLYR_SkipHEBuild(void)

disable Half-Edge structure generation (HE is necessary for non convex contact detection)

python usage : POLYR_SkipHEBuild()

Disable the Half-Edge structure generation performed by lmgc90. This is necessary when testing the import of strange object.

pylmgc90.chipy.lmgc90.POLYR_TopologyAngle(*args)[source]

void POLYR_TopologyAngle(double angle)

set the maximum angle (between 0 and 180 degree) threshold between 2 elements to declare them as belonging to the same topological face

python usage : POLYR_TopologyAngle(angle)

pylmgc90.chipy.lmgc90.POLYR_UpdatePostdata(*args)[source]

void POLYR_UpdatePostdata(void)

Update values of outlines_POLYR and scalarfields_POLYR pointers.

usage : POLYR_UpdatePostdata()

pylmgc90.chipy.lmgc90.PRASp_CleanMemory(*args)[source]

void PRASp_CleanMemory(void)

Free all memory allocated within PRASp module.

python usage : PRASp_CleanMemory()

pylmgc90.chipy.lmgc90.PRASp_DisplayOutVlocRloc(*args)[source]

void PRASp_DisplayOutVlocRloc(void)

display local values of all PRASp contacts

python usage : PRASp_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRASp_DisplayProxTactors(*args)[source]

void PRASp_DisplayProxTactors(void)

display contacts

python usage : PRASp_DisplayProxTactors()

pylmgc90.chipy.lmgc90.PRASp_GetAll(*args)[source]

void PRASp_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = PRASp_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.PRASp_GetNbPRASp(*args)[source]

int PRASp_GetNbPRASp(void)

Get the number of PRASp contact found.

python usage : nb_PRASp = PRASp_GetNbPRASp()

nb_PRASp (integer) : number of PRASp found

pylmgc90.chipy.lmgc90.PRASp_GetNbvPRASp(*args)[source]

int PRASp_GetNbvPRASp(void)

return the number of PRASp stored

python usage : nb_vPRASp = PRASp_GetNbvPRASp() nb_vPRASp (integer) : number of PRASp stored

pylmgc90.chipy.lmgc90.PRASp_ReadIniVlocRloc(*args)[source]

void PRASp_ReadIniVlocRloc(void)

python usage : PRASp_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.PRASp_RecupRloc(*args)[source]

void PRASp_RecupRloc(void)

recover values of local contact forces from stored values

python usage : PRASp_RecupRloc()

pylmgc90.chipy.lmgc90.PRASp_SelectProxTactors(*args)[source]

void PRASp_SelectProxTactors(int reset=0)

contact detection between PRxxx and ASpxx tactors

python usage : PRASp_SelectProxTactors(int reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.PRASp_StockRloc(*args)[source]

void PRASp_StockRloc(void)

stores values of local contact forces

python usage : PRASp_StockRloc()

pylmgc90.chipy.lmgc90.PRASp_WriteLastVlocRloc(*args)[source]

void PRASp_WriteLastVlocRloc(void)

write last local values of all PRASp contacts

python usage : PRASp_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRASp_WriteOutVlocRloc(*args)[source]

void PRASp_WriteOutVlocRloc(void)

write local values of all PRASp contacts

python usage : PRASp_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPLx_CleanMemory(*args)[source]

void PRPLx_CleanMemory(void)

Free all memory allocated within PRPLx module.

python usage : PRPLx_CleanMemory()

pylmgc90.chipy.lmgc90.PRPLx_DisplayOutVlocRloc(*args)[source]

void PRPLx_DisplayOutVlocRloc(void)

display local values of all PRPLx contacts

python usage : PRPLx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPLx_DisplayProxTactors(*args)[source]

void PRPLx_DisplayProxTactors(void)

display contacts

python usage : PRPLx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.PRPLx_GetAll(*args)[source]

void PRPLx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = PRPLx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.PRPLx_GetNbPRPLx(*args)[source]

int PRPLx_GetNbPRPLx(void)

Get the number of PRPLx contact found.

python usage : nb_PRPLx = PRPLx_GetNbPRPLx()

nb_PRPLx (integer) : number of PRPLx found

pylmgc90.chipy.lmgc90.PRPLx_GetNbvPRPLx(*args)[source]

int PRPLx_GetNbvPRPLx(void)

return the number of PRPLx stored

python usage : nb_vPRPLx = PRPLx_GetNbvPRPLx() nb_vPRPLx (integer) : number of PRPLx stored

pylmgc90.chipy.lmgc90.PRPLx_ReadIniVlocRloc(*args)[source]

void PRPLx_ReadIniVlocRloc(void)

read values from Vloc_Rloc.INI

python usage : PRPLx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.PRPLx_RecupRloc(*args)[source]

void PRPLx_RecupRloc(void)

recovers values of local contact forces from stored values

python usage : PRPLx_RecupRloc()

pylmgc90.chipy.lmgc90.PRPLx_SelectProxTactors(*args)[source]

void PRPLx_SelectProxTactors(int reset=0)

contact detection between PRxxx and PLxxx tactors

python usage : PRPLx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.PRPLx_StockRloc(*args)[source]

void PRPLx_StockRloc(void)

stores values of local contact forces

python usage : PRPLx_StockRloc()

pylmgc90.chipy.lmgc90.PRPLx_WriteLastVlocRloc(*args)[source]

void PRPLx_WriteLastVlocRloc(void)

write last local values of all PRPLx contacts

python usage : PRPLx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPLx_WriteOutVlocRloc(*args)[source]

void PRPLx_WriteOutVlocRloc(void)

write local values of all PRPLx contacts

python usage : PRPLx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPRx_BinaryReadIniVlocRloc(*args)[source]

void PRPRx_BinaryReadIniVlocRloc(void)

python usage : PRPRx_BinaryReadIniVlocRloc()

the read values are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPRx_BinaryWriteLastVlocRloc(*args)[source]

void PRPRx_BinaryWriteLastVlocRloc(void)

write last local values of all PRPRx contacts

python usage : PRPRx_BinaryWriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPRx_BinaryWriteOutVlocRloc(*args)[source]

void PRPRx_BinaryWriteOutVlocRloc(void)

write last local values of all PRPRx contacts

python usage : PRPRx_BinaryWriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPRx_CleanMemory(*args)[source]

void PRPRx_CleanMemory(void)

Free all memory allocated within PRPRx module.

python usage : PRPRx_CleanMemory()

pylmgc90.chipy.lmgc90.PRPRx_CpVTKDrawAll(*args)[source]

void PRPRx_CpVTKDrawAll(double rd)

activate CP drawing

python usage : PRPRx_CpVTKDrawAll(rd)

pylmgc90.chipy.lmgc90.PRPRx_DisplayOutVlocRloc(*args)[source]

void PRPRx_DisplayOutVlocRloc(void)

display local values of all PRPRx contacts

python usage : PRPRx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPRx_DisplayProxTactors(*args)[source]

void PRPRx_DisplayProxTactors(void)

display contacts

python usage : PRPRx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.PRPRx_GetAll(*args)[source]

void PRPRx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = PRPRx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.PRPRx_GetContactingBodies(*args)[source]

void PRPRx_GetContactingBodies(int icdan, int *icdbdy, int *ianbdy)

pylmgc90.chipy.lmgc90.PRPRx_GetContactingBodiesVerlet(*args)[source]

void PRPRx_GetContactingBodiesVerlet(int icdan, int *ires, int *ires2)

Get the number of the contacting bodies of a vPRPRx contact.

python usage : icdbdy,ianbdy = PRPRx_GetContactingBodiesVerlet(icdan)

pylmgc90.chipy.lmgc90.PRPRx_GetInteractionInternal(*args)[source]

double PRPRx_GetInteractionInternal(int value1, int ivalue2)

Get a value from the internal vector of a PRPRx.

python usage : value = PRPRx_GetInteractionInternal(i, icdan)

pylmgc90.chipy.lmgc90.PRPRx_GetInteractionInternalComment(*args)[source]

void PRPRx_GetInteractionInternalComment(int ivalue, char **string_out, int *string_size)

Get internal comment of a given interaction.

python usage : comment=PRPRx_GetInteractionInternalComment(icdan)

pylmgc90.chipy.lmgc90.PRPRx_GetInteractionVector(*args)[source]

void PRPRx_GetInteractionVector(char *cvalue1, int ivalue1, double **r8_vector, int *r8_size)

Get a copy of a vector of a PRPRx.

python usage : vector = PRPRx_GetInteractionVector(datatype, icdan)

pylmgc90.chipy.lmgc90.PRPRx_GetNbPRPRx(*args)[source]

int PRPRx_GetNbPRPRx(void)

Get the number of PRPRx contact found.

python usage : nb_PRPRx = PRPRx_GetNbPRPRx()

nb_PRPRx (integer) : number of PRPRx found

pylmgc90.chipy.lmgc90.PRPRx_GetNbPRPRxVerlet(*args)[source]

int PRPRx_GetNbPRPRxVerlet(void)

pylmgc90.chipy.lmgc90.PRPRx_GetTactBehavRank(*args)[source]

int PRPRx_GetTactBehavRank(int icdan)

Get the rank of PRPRx interaction law.

python usage : nb = PRPRx_GetTactBehavRank(icdan)

pylmgc90.chipy.lmgc90.PRPRx_GetTactBehavRankVerlet(*args)[source]

int PRPRx_GetTactBehavRankVerlet(int icdan)

Get the rank of vPRPRx interaction law.

python usage : nb = PRPRx_GetTactBehavRankVerlet(icdan)

pylmgc90.chipy.lmgc90.PRPRx_LoadProxTactorsFromFile(*args)[source]

void PRPRx_LoadProxTactorsFromFile(void)

load selected contact from files

python usage : PRPRx_LoadProxTactorsFromFile()

pylmgc90.chipy.lmgc90.PRPRx_LowSizeArrayPolyr(*args)[source]

void PRPRx_LowSizeArrayPolyr(double sfactor)

abscons parameter to manage memory allocation

python usage : PRPRx_LowSizeArrayPolyr(sfactor)

pylmgc90.chipy.lmgc90.PRPRx_ReadIniVlocRloc(*args)[source]

void PRPRx_ReadIniVlocRloc(void)

python usage : PRPRx_ReadIniVlocRloc()

the read values are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPRx_RecupRloc(*args)[source]

void PRPRx_RecupRloc(void)

recovers values of local contact forces from stored values

python usage : PRPRx_RecupRloc()

pylmgc90.chipy.lmgc90.PRPRx_SaveProxTactorsToFile(*args)[source]

void PRPRx_SaveProxTactorsToFile(void)

write selected contacts to file

python usage : PRPRx_SaveProxTactorsToFile()

pylmgc90.chipy.lmgc90.PRPRx_SelectProxTactors(*args)[source]

void PRPRx_SelectProxTactors(int reset=0)

contact detection between PRxxx and PRxxx tactors

python usage : PRPRx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.PRPRx_SetCundallNeighbor(*args)[source]

void PRPRx_SetCundallNeighbor(double neighbor)

set a neighbor distance around common plane to select projected nodes

python usage : PRPRx_SetCundallNeighbor(neighbor)

pylmgc90.chipy.lmgc90.PRPRx_SetF2fMinimalSurfaceSize(*args)[source]

void PRPRx_SetF2fMinimalSurfaceSize(double tol)

set the minimum contact surface size with f2f algo otherwize contact is not computed

python usage : PRPRx_SetF2fMinimalSurfaceSize(tol)

pylmgc90.chipy.lmgc90.PRPRx_SetInteractionInternal(*args)[source]

void PRPRx_SetInteractionInternal(int value1, int ivalue2, double rvalue)

Set a value of the internal vector of a PRPRx.

python usage : PRPRx_SetInteractionInternal(i, icdan, value)

pylmgc90.chipy.lmgc90.PRPRx_SetReactionTrackingLength(*args)[source]

void PRPRx_SetReactionTrackingLength(double length)

function which makes possible to set the length of the hexaedra glyph representing the visavis reaction

python usage : PRPRx_SetReactionTrackingLength(length)

pylmgc90.chipy.lmgc90.PRPRx_SetTolRecupRloc(*args)[source]

void PRPRx_SetTolRecupRloc(double tol)

set the distance tolerance used in PRPRx_RecupRloc

python usage : PRPRx_SetTolRecupRloc(tol)

pylmgc90.chipy.lmgc90.PRPRx_SetXPeriodicCondition(*args)[source]

void PRPRx_SetXPeriodicCondition(double xperiod)

initialise data for simulation using periodic condition

python usage : PRPRx_SetXPeriodicCondition(xperiod)

pylmgc90.chipy.lmgc90.PRPRx_SetYPeriodicCondition(*args)[source]

void PRPRx_SetYPeriodicCondition(double yperiod)

initialise data for simulation using periodic condition

python usage : PRPRx_SetYPeriodicCondition(yperiod)

pylmgc90.chipy.lmgc90.PRPRx_ShrinkPolyrFaces(*args)[source]

void PRPRx_ShrinkPolyrFaces(double shrink)

Shrink the face of the polyhedra for the detection.

python usage : PRPRx_ShrinkPolyrFaces(shrink)

pylmgc90.chipy.lmgc90.PRPRx_StockRloc(*args)[source]

void PRPRx_StockRloc(void)

stores values of local contact forces

python usage : PRPRx_StockRloc()

pylmgc90.chipy.lmgc90.PRPRx_UseCpCundallDetection(*args)[source]

void PRPRx_UseCpCundallDetection(int iter)

chooses the Cundall iterative detection method

python usage : PRPRx_UseCpCundallDetection(nb_iter)

pylmgc90.chipy.lmgc90.PRPRx_UseCpF2fDetection(*args)[source]

void PRPRx_UseCpF2fDetection(double tol, int iter)

chooses a mixe of the face 2 face and Cundall detection method

python usage : PRPRx_UseCpF2fExplicitDetection(tol,iter)

pylmgc90.chipy.lmgc90.PRPRx_UseCpF2fExplicitDetection(*args)[source]

void PRPRx_UseCpF2fExplicitDetection(double tol)

chooses the face 2 face combinatory detection method

python usage : PRPRx_UseCpF2fExplicitDetection(tol)

pylmgc90.chipy.lmgc90.PRPRx_UseExternalDetection(*args)[source]

void PRPRx_UseExternalDetection(void)

chooses external contact detection (bindings)

python usage : PRPRx_UseExternalDetection()

pylmgc90.chipy.lmgc90.PRPRx_UseNcDetection(*args)[source]

void PRPRx_UseNcDetection(double gdist)

chooses contact detection methode between non-convex shapes

python usage : PRPRx_UseNcDetection(gdist)

pylmgc90.chipy.lmgc90.PRPRx_UseNcF2fDetection(*args)[source]

void PRPRx_UseNcF2fDetection(double gdist, double tol)

chooses contact detection between between non-convex shapes using f2f strategy

python usage : PRPRx_UseNcF2fDetection(gdist,tol)

pylmgc90.chipy.lmgc90.PRPRx_UseNcF2fExplicitDetection(*args)[source]

void PRPRx_UseNcF2fExplicitDetection(double gdist, double tol)

chooses contact detection between between non-convex shapes using f2f strategy

python usage : PRPRx_UseNcF2fExplicitDetection(gdist,tol)

pylmgc90.chipy.lmgc90.PRPRx_VerboseF2F(*args)[source]

void PRPRx_VerboseF2F(int cd, int an)

ask for verbose comment concerning contact detection between cd and an

python usage : PRPRx_VerboseF2F(cd,an)

pylmgc90.chipy.lmgc90.PRPRx_VisavisVTKDrawAll(*args)[source]

void PRPRx_VisavisVTKDrawAll()

create a VTK file showing joints behaviour

python usage : PRPRx_VisavisVTKDrawAll()

pylmgc90.chipy.lmgc90.PRPRx_WithNodalContact(*args)[source]

void PRPRx_WithNodalContact(void)

use cd contact points at nodes instead at faces with NcDetection

python usage : PRPRx_WithNodalContact()

pylmgc90.chipy.lmgc90.PRPRx_WriteLastVlocRloc(*args)[source]

void PRPRx_WriteLastVlocRloc(void)

write last local values of all PRPRx contacts

python usage : PRPRx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PRPRx_WriteOutVlocRloc(*args)[source]

void PRPRx_WriteOutVlocRloc(void)

write local values of all PRPRx contacts

python usage : PRPRx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PT2DL_AssembThermKT(*args)[source]

void PT2DL_AssembThermKT(void)

python usage : PT2DL_AssembThermKT()

pylmgc90.chipy.lmgc90.PT2DL_AssembThermRHS(*args)[source]

void PT2DL_AssembThermRHS(void)

python usage : PT2DL_AssembThermRHS()

pylmgc90.chipy.lmgc90.PT2DL_CleanMemory(*args)[source]

void PT2DL_CleanMemory(void)

Free all memory allocated within PT2DL module.

< B.o.B.o.R <

python usage : PT2DL_CleanMemory()

pylmgc90.chipy.lmgc90.PT2DL_ComputeConvectiveFlux(*args)[source]

void PT2DL_ComputeConvectiveFlux(void)

python usage : PT2DL_ComputeConvectiveFlux()

pylmgc90.chipy.lmgc90.PT2DL_GetBody(*args)[source]

int PT2DL_GetBody(int)

B.o.B.o.R >

pylmgc90.chipy.lmgc90.PT2DL_GetNbPT2DL(*args)[source]

int PT2DL_GetNbPT2DL(void)

Get the number of PT2DL.

usage : nb_PT2DL = PT2DL_GetNbPT2DL()

pylmgc90.chipy.lmgc90.PT2DL_GetNbPT2TL(*args)[source]

int PT2DL_GetNbPT2TL(int)

Get the number of PT2TL of a body.

usage : nb_PT2DL = PT2DL_GetNbPT2TL(ibdyty)

pylmgc90.chipy.lmgc90.PT2DL_LoadTactors(*args)[source]

void PT2DL_LoadTactors(void)

Initialize existing_entities variable for PT2DL contactors.

python usage : PT2DL_LoadTactors()

pylmgc90.chipy.lmgc90.PT2DL_PushPreconNodes(*args)[source]

void PT2DL_PushPreconNodes(void)

python usage : PT2DL_PushPreconNodes()

pylmgc90.chipy.lmgc90.PT2Dx_CleanMemory(*args)[source]

void PT2Dx_CleanMemory(void)

Free all memory allocated within PT2Dx module.

python usage : PT2Dx_CleanMemory()

pylmgc90.chipy.lmgc90.PT2Dx_GetNbPT2Dx(*args)[source]

int PT2Dx_GetNbPT2Dx(void)

Get the number of PT2Dx in the container.

python usage : nb_diskx = PT2Dx_GetNbPT2Dx()

nb_PT2Dx (integer) : the number of PT2Dx in container

pylmgc90.chipy.lmgc90.PT2Dx_GetNbPointOutlines(*args)[source]

void PT2Dx_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = PT2Dx_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the PT2Dx

pylmgc90.chipy.lmgc90.PT2Dx_GetNbScalarFields(*args)[source]

int PT2Dx_GetNbScalarFields(void)

Get the number of scalar fields of a PT2Dx.

python usage : nb_scalarfields = PT2Dx_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a PT2Dx

pylmgc90.chipy.lmgc90.PT2Dx_GetPtrPT2Dx2RBDY2(*args)[source]

void PT2Dx_GetPtrPT2Dx2RBDY2(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map pt2dx2rbdy2

python usage : ptd2x2rbdy2 = PT2Dx_GetPtrPT2Dx2RBDY2()

pt2dx2rbdy2 (integer array) : reference on map between pt2dx rank and body/tact rank

pylmgc90.chipy.lmgc90.PT2Dx_InitOutlines(*args)[source]

void PT2Dx_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all PT2Dx.

usage : outlines = PT2Dx_InitOutlines() outlines (double array) : a reference on outlines_PT2Dx

pylmgc90.chipy.lmgc90.PT2Dx_InitScalarFields(*args)[source]

void PT2Dx_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all PT2Dx.

usage : scalarfields = PT2Dx_InitScalarfields() scalarfields (double array) : reference on scalarfields_PT2Dx array

pylmgc90.chipy.lmgc90.PT2Dx_LoadTactors(*args)[source]

void PT2Dx_LoadTactors()

load PT2Dx from RBDY2 and initialize existing_entites

python usage : PT2Dx_LoadTactors()

pylmgc90.chipy.lmgc90.PT2Dx_SetDisplayRadius(*args)[source]

void PT2Dx_SetDisplayRadius(double rvalue)

Set a radius to display a pt2dx.

python usage : post2D_SetDisplayRadius(radius)

pylmgc90.chipy.lmgc90.PT2Dx_UpdatePostdata(*args)[source]

void PT2Dx_UpdatePostdata(void)

Update values of outlines_PT2Dx and scalarfields_PT2Dx pointers.

usage : PT2Dx_UpdatePostdata

pylmgc90.chipy.lmgc90.PT2TL_SetHconv(*args)[source]

void PT2TL_SetHconv(int, double)

pylmgc90.chipy.lmgc90.PT2TL_SetTconv(*args)[source]

void PT2TL_SetTconv(int, double)

pylmgc90.chipy.lmgc90.PT3Dx_CleanMemory(*args)[source]

void PT3Dx_CleanMemory(void)

Free all memory allocated within PT3Dx module.

python usage : PT3Dx_CleanMemory()

pylmgc90.chipy.lmgc90.PT3Dx_GetNbPT3Dx(*args)[source]

int PT3Dx_GetNbPT3Dx(void)

Get the number of PT3Dx.

python usage : nb_PT3Dx = PT3Dx_GetNbPT3Dx()

nb_PT3Dx (integer) : the number of PT3Dx

pylmgc90.chipy.lmgc90.PT3Dx_GetNbPointOutlines(*args)[source]

void PT3Dx_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = PT3Dx_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the PT3Dx

pylmgc90.chipy.lmgc90.PT3Dx_GetNbScalarFields(*args)[source]

int PT3Dx_GetNbScalarFields(void)

Get the number of scalar fields of a PT3Dx.

python usage : nb_scalarfields = PT3Dx_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a PT3Dx

pylmgc90.chipy.lmgc90.PT3Dx_GetPtrAllConnectivities(*args)[source]

void PT3Dx_GetPtrAllConnectivities(int **pointer_out, int *length)

Get a reference on the connectivities of all PT3Dx.

usage : connec = PT3Dx_GetPtrAllConnectivities() connec (integer array) : a reference on all_connectivities

pylmgc90.chipy.lmgc90.PT3Dx_GetPtrPT3Dx2RBDY3(*args)[source]

void PT3Dx_GetPtrPT3Dx2RBDY3(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map pt3dx2rbdy3

python usage : pt3dx2rbdy3 = PT3Dx_GetPtrPT3Dx2RBDY3()

pt3dx2rbdy3 (integer array) : reference on map between pt3dx rank and body rank

pylmgc90.chipy.lmgc90.PT3Dx_InitOutlines(*args)[source]

void PT3Dx_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all PT3Dx.

usage : outlines = PT3Dx_InitOutlines() outlines (double array) : a reference on outlines_PT3Dx

pylmgc90.chipy.lmgc90.PT3Dx_InitScalarFields(*args)[source]

void PT3Dx_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all PT3Dx.

usage : scalarfields = PT3Dx_InitScalarfields() scalarfields (double array) : reference on scalarfields_PT3Dx array

pylmgc90.chipy.lmgc90.PT3Dx_LoadTactors(*args)[source]

void PT3Dx_LoadTactors(void)

load PT3Dx from RBDY3 and initialize existing_entites

python usage : PT3Dx_LoadTactors()

pylmgc90.chipy.lmgc90.PT3Dx_SetReferenceRadius(*args)[source]

void PT3Dx_SetReferenceRadius(double radius)

pylmgc90.chipy.lmgc90.PT3Dx_UpdatePostdata(*args)[source]

void PT3Dx_UpdatePostdata(void)

Update values of outlines_PT3Dx and scalarfields_PT3Dx pointers.

usage : PT3Dx_UpdatePostdata

pylmgc90.chipy.lmgc90.PTPT2_CleanMemory(*args)[source]

void PTPT2_CleanMemory(void)

Free all memory allocated within PTPT2 module.

python usage : PTPT2_CleanMemory()

pylmgc90.chipy.lmgc90.PTPT2_DisplayOutVlocRloc(*args)[source]

void PTPT2_DisplayOutVlocRloc(void)

display local values of all PTPT2 contacts

python usage : PTPT2_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PTPT2_DisplayProxTactors(*args)[source]

void PTPT2_DisplayProxTactors(void)

display contacts

python usage : PTPT2_DisplayProxTactors()

pylmgc90.chipy.lmgc90.PTPT2_GetAll(*args)[source]

void PTPT2_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, normal and forces

python usage : array = PTPT2_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.PTPT2_GetNbPTPT2(*args)[source]

int PTPT2_GetNbPTPT2(void)

return the number of PTPT2 contact found

python usage : nb_PTPT2 = PTPT2_GetNbPTPT2()

nb_PTPT2 (integer) : number of PTPT2 found

pylmgc90.chipy.lmgc90.PTPT2_GetNbvPTPT2(*args)[source]

int PTPT2_GetNbvPTPT2(void)

return the number of PTPT2 stored

python usage : nb_vPTPT2 = PTPT2_GetNbvPTPT2() nb_vPTPT2 (integer) : number of PTPT2 stored

pylmgc90.chipy.lmgc90.PTPT2_LoadNetwork(*args)[source]

void PTPT2_LoadNetwork(void)

read a PTPT2 network from a file

python usage : PTPT2_LoadNetwork()

pylmgc90.chipy.lmgc90.PTPT2_ReadIniVlocRloc(*args)[source]

void PTPT2_ReadIniVlocRloc(void)

read file Vloc_Rloc.INI in DATBOX

python usage : PTPT2_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.PTPT2_RecupRloc(*args)[source]

void PTPT2_RecupRloc(void)

recup values of local contact forces of the last time step

python usage : PTPT2_RecupRloc()

pylmgc90.chipy.lmgc90.PTPT2_SelectProxTactors(*args)[source]

void PTPT2_SelectProxTactors(int reset=0)

contact detection between PT2Dx tactors

python usage : PTPT2_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.PTPT2_StockRloc(*args)[source]

void PTPT2_StockRloc(void)

stock values of local contact forces for the next time step

python usage : PTPT2_StockRloc()

pylmgc90.chipy.lmgc90.PTPT2_WriteLastVlocRloc(*args)[source]

void PTPT2_WriteLastVlocRloc(void)

write last local values of all PTPT2 contacts

python usage : PTPT2_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PTPT2_WriteOutVlocRloc(*args)[source]

void PTPT2_WriteOutVlocRloc(void)

write local values of all PTPT2 contacts

python usage : PTPT2_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PTPT3_CleanMemory(*args)[source]

void PTPT3_CleanMemory(void)

Free all memory allocated within PTPT3 module.

python usage : PTPT3_CleanMemory()

pylmgc90.chipy.lmgc90.PTPT3_DisplayOutVlocRloc(*args)[source]

void PTPT3_DisplayOutVlocRloc(void)

display local values of all PTPT3 contacts

python usage : PTPT3_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PTPT3_DisplayProxTactors(*args)[source]

void PTPT3_DisplayProxTactors(void)

display contacts

python usage : PTPT3_DisplayProxTactors()

pylmgc90.chipy.lmgc90.PTPT3_GetAll(*args)[source]

void PTPT3_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = PTPT3_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.PTPT3_GetNbPTPT3(*args)[source]

int PTPT3_GetNbPTPT3(void)

Get the number of PTPT3 contact found.

python usage : nb_PTPT3 = PTPT3_GetNbPTPT3()

nb_PTPT3 (integer) : number of PTPT3 found

pylmgc90.chipy.lmgc90.PTPT3_GetNbvPTPT3(*args)[source]

int PTPT3_GetNbvPTPT3(void)

return the number of PTPT3 stored

python usage : nb_vPTPT3 = PTPT3_GetNbvPTPT3() nb_vPTPT3 (integer) : number of PTPT3 stored

pylmgc90.chipy.lmgc90.PTPT3_LoadNetwork(*args)[source]

void PTPT3_LoadNetwork(void)

read a PTPT3 network from a file

python usage : PTPT3_LoadNetwork()

pylmgc90.chipy.lmgc90.PTPT3_ReadIniVlocRloc(*args)[source]

void PTPT3_ReadIniVlocRloc(void)

read stored values from Vloc_Rloc.INI

python usage : PTPT3_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.PTPT3_RecupRloc(*args)[source]

void PTPT3_RecupRloc(void)

recover values of local contact forces from stored values

python usage : PTPT3_RecupRloc()

pylmgc90.chipy.lmgc90.PTPT3_SelectProxTactors(*args)[source]

void PTPT3_SelectProxTactors(int reset=0)

contact detection between PTxxx and PTxxx tactors

python usage : PTPT3_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.PTPT3_SetXPeriodicCondition(*args)[source]

void PTPT3_SetXPeriodicCondition(double xperiod)

initialise data for simulation using periodic condition

python usage : PTPT3_SetXPeriodicCondition(xperiod)

pylmgc90.chipy.lmgc90.PTPT3_SetYPeriodicCondition(*args)[source]

void PTPT3_SetYPeriodicCondition(double yperiod)

initialise data for simulation using periodic condition

python usage : PTPT3_SetYPeriodicCondition(yperiod)

pylmgc90.chipy.lmgc90.PTPT3_SmoothForceComputation(*args)[source]

void PTPT3_SmoothForceComputation(void)

computes smooth forces (if any)

python usage : PTPT3_SmoothForceComputation()

pylmgc90.chipy.lmgc90.PTPT3_StockRloc(*args)[source]

void PTPT3_StockRloc(void)

stores values of local contact forces

python usage : PTPT3_StockRloc()

pylmgc90.chipy.lmgc90.PTPT3_WriteLastVlocRloc(*args)[source]

void PTPT3_WriteLastVlocRloc(void)

write last local values of all PTPT3 contacts

python usage : PTPT3_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.PTPT3_WriteOutVlocRloc(*args)[source]

void PTPT3_WriteOutVlocRloc(void)

write local values of all PTPT3 contacts

python usage : PTPT3_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.RBDY2_AddDof2InBodies(*args)[source]

void RBDY2_AddDof2InBodies(void)

Create a new BODIES.OUT file as combination of the last one and of the last DOF.OUT file.

usage : RBDY2_AddDof2InBodies()

pylmgc90.chipy.lmgc90.RBDY2_BiaxialLoading(*args)[source]

void RBDY2_BiaxialLoading(int down, double f_down, int right, double f_right, int up, double f_up, int left, double f_left)

Biaxial load of a sample using a rigid box.

usage : RBDY2_BiaxialLoading(down,f_down,right,f_right,up,f_up,left,f_left)

pylmgc90.chipy.lmgc90.RBDY2_BinaryReadIniDof(*args)[source]

void RBDY2_BinaryReadIniDof(void)

Read binary DOF.INI file.

void RBDY2_BinaryReadIniDof(void) usage : RBDY2_BinaryReadIniDof()

pylmgc90.chipy.lmgc90.RBDY2_BinaryWriteLastDof(*args)[source]

void RBDY2_BinaryWriteLastDof(void)

Write binary DOF.LAST file.

usage : RBDY2_BinaryWriteLastDof()

pylmgc90.chipy.lmgc90.RBDY2_BinaryWriteOutDof(*args)[source]

void RBDY2_BinaryWriteOutDof(void)

Write binary DOF.OUT file. Can be activated only each N stepssss.

usage : RBDY2_BinaryWriteOutDof()

pylmgc90.chipy.lmgc90.RBDY2_CheckEquilibriumState(*args)[source]

bool RBDY2_CheckEquilibriumState(void)

check if all the RBDY2 rich an equilibrium state (velocity is almost equal to zero)

usage : isBalanced = RBDY2_CheckEquilibriumState()

isBalanced (boolean) : True if in equilibrium state

pylmgc90.chipy.lmgc90.RBDY2_CheckPartialEquilibriumState(*args)[source]

bool RBDY2_CheckPartialEquilibriumState(double abs_min, double abs_max)

Check if a part of the sample is in a equilibrium state.

Test if there is an equilibrium state between abs_min and abs_max Usefull in case of silos to decide if the arch research must be activated

usage : isPartiallyEquilibriumed = RBDY2_CheckPartialEquilibriumState(abs_min, abs_max)

pylmgc90.chipy.lmgc90.RBDY2_CheckSourcePoint(*args)[source]

void RBDY2_CheckSourcePoint(void)

check if it possible to deposit a new particle

usage : RBDY2_CheckSourcePoint()

pylmgc90.chipy.lmgc90.RBDY2_CleanMemory(*args)[source]

void RBDY2_CleanMemory(void)

Free all memory allocated within RBDY2 module.

python usage : RBDY2_CleanMemory()

pylmgc90.chipy.lmgc90.RBDY2_ClearedWriteBodies(*args)[source]

void RBDY2_ClearedWriteBodies(void)

...

usage : RBDY2_ClearedWriteBodies()

pylmgc90.chipy.lmgc90.RBDY2_CompCoor(*args)[source]

void RBDY2_CompCoor(void)

Compute the position of bodies.

usage : RBDY2_CompCoor()

pylmgc90.chipy.lmgc90.RBDY2_ComputeBulk(*args)[source]

void RBDY2_ComputeBulk(void)

Compute impulse of internal forces of bodies in container.

usage : RBDY2_ComputeBulk()

pylmgc90.chipy.lmgc90.RBDY2_ComputeDof(*args)[source]

void RBDY2_ComputeDof(void)

Compute current DOF of bodies in container.

usage : RBDY2_ComputeDof()

pylmgc90.chipy.lmgc90.RBDY2_ComputeFext(*args)[source]

void RBDY2_ComputeFext(void)

Compute impulse of external forces of bodies in container.

usage : RBDY2_ComputeFext()

pylmgc90.chipy.lmgc90.RBDY2_ComputeFreeVelocity(*args)[source]

void RBDY2_ComputeFreeVelocity(void)

Compute free velocity of bodies in container.

usage : RBDY2_ComputeFreeVelocity()

pylmgc90.chipy.lmgc90.RBDY2_ComputeMass(*args)[source]

void RBDY2_ComputeMass(void)

Compute mass and inertia of bodies.

usage : RBDY2_ComputeMass()

pylmgc90.chipy.lmgc90.RBDY2_ComputePartialEquilibriumState(*args)[source]

bool RBDY2_ComputePartialEquilibriumState(double abs_min, double abs_max, double ARGOUT_ARRAY1[2])

Compute norms used to check if a part of the sample is in a equilibrium state.

Compute norms used to test if there is an equilibrium state between abs_min and abs_max Usefull in case of silos to access norms used to decide if the arch research must be activated

usage : Qnorm, Mnorm = RBDY2_CheckPartialEquilibriumState(abs_min, abs_max)

pylmgc90.chipy.lmgc90.RBDY2_DisplayOutDof(*args)[source]

void RBDY2_DisplayOutDof(void)

Display bodies degrees of freedom.

usage : RBDY2_DisplayOutDof()

pylmgc90.chipy.lmgc90.RBDY2_DisplayOutRnod(*args)[source]

void RBDY2_DisplayOutRnod(void)

display body forces

usage : RBDY2_DisplayOutRnod()

pylmgc90.chipy.lmgc90.RBDY2_FatalDamping(*args)[source]

void RBDY2_FatalDamping(int nb_steps)

Nullify body current and initial velocities.

usage : RBDY2_FatalDamping(nb_steps)

pylmgc90.chipy.lmgc90.RBDY2_GetBetai(*args)[source]

double RBDY2_GetBetai(int ibdyty, int itacty)

Get equivalent damage related to CZM interaction for rigid particle.

usage : betai = RBDY2_GetBetai(ibdyty, itacty)

pylmgc90.chipy.lmgc90.RBDY2_GetBodyArea(*args)[source]

double RBDY2_GetBodyArea(int ibdyty)

Get the area (2D volume equivalent) of a given body.

usage : area = GetBodyArea(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetBodyDensity(*args)[source]

double RBDY2_GetBodyDensity(int ibdyty)

Get the density of a body.

usage density = RBDY2_GetBodyDensity(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetBodyInertia(*args)[source]

void RBDY2_GetBodyInertia(int ivalue1, double **r8_vector, int *r8_size)

Get a copy of a inertia vector of a given RBDY2 body.

usage : inertia = RBDY2_GetBodyInertia(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetBodyMass(*args)[source]

double RBDY2_GetBodyMass(int ibdyty)

Get the mass of a body.

usage : mass = RBDY2_GetBodyMass(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetBodyVector(*args)[source]

void RBDY2_GetBodyVector(char *cvalue1, int ivalue1, double **r8_vector, int *r8_size)

Get a copy of a vector of a given RBDY2 body.

possible values for datatype field are: ‘Coor0’, ‘Coor_‘, ‘Coorb’,’Coorm’, ‘X____’, ‘Xbeg_‘, ‘V____’, ‘Vbeg_‘, ‘Vaux_‘,’Vfree’, ‘Reac_‘, ‘Fext_‘, ‘Fint_

usage : vector = RBDY2_GetBodyVector(datatype, ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetBulkBehavID(*args)[source]

void RBDY2_GetBulkBehavID(int ibdyty, int iblmty, char **c5)

return the ID of a given bulk of a given body

python usage : blmID = DISKx_GetBulkBehavID(ibdyty, iblmty)

pylmgc90.chipy.lmgc90.RBDY2_GetBulkBehavNumber(*args)[source]

void RBDY2_GetBulkBehavNumber(int ibdyty)

return the bulk ID of a given RBDY2

python usage : ibehav = RBDY2_GetBulkBehavNumber(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetContactorType(*args)[source]

void RBDY2_GetContactorType(int ibdyty, char **c5)

Get the type of the first contactor of a body.

usage type = RBDY2_GetContactorType(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetElectricalCurrent(*args)[source]

double RBDY2_GetElectricalCurrent(int ibdyty)

Get electrical potential of rigid particle.

usage : ep = RBDY2_GetElectricalCurrent(ibdyty, itacty)

pylmgc90.chipy.lmgc90.RBDY2_GetElectricalPotential(*args)[source]

double RBDY2_GetElectricalPotential(int ibdyty)

Get electrical potential of rigid particle.

usage : ep = RBDY2_GetElectricalPotential(ibdyty, itacty)

pylmgc90.chipy.lmgc90.RBDY2_GetNbRBDY2(*args)[source]

int RBDY2_GetNbRBDY2(void)

Get the number of RBDY2.

usage : nb_rbdy2 = RBDY2_GetNbRBDY2()

pylmgc90.chipy.lmgc90.RBDY2_GetPeriode(*args)[source]

integer RBDY2_GetPeriode(int ibdyty)

Get the periode id (0, 1 or -1) for rigid particles.

usage : iper = RBDY2_GetPeriode(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetPtrBodyVector(*args)[source]

void RBDY2_GetPtrBodyVector(char *cvalue1, int ivalue1, double **pointer_out, int *length)

Get a pointer on a vector of a given RBDY2 body.

possible values for datatype field are ‘Coor0’, ‘X____’, ‘Xbeg_‘, ‘V____’, ‘Vbeg_‘, ‘Vaux_‘, ‘Reac_‘, ‘Fext’

usage : vector_ptr = RBDY2_GetPtrVector(datatype, ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetPtrMass(*args)[source]

void RBDY2_GetPtrMass(int ibdyty, double **mass)

Get a pointer onto the mass matrix of a body.

pylmgc90.chipy.lmgc90.RBDY2_GetStress(*args)[source]

void RBDY2_GetStress(int ibdyty, double **matrix_out, int *dim1, int *dim2)

Set the number of angular sectors of the surface of contactors.

python usage : matrix = RBDY2_GetStress(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_GetThermalValue(*args)[source]

double RBDY2_GetThermalValue(int ibdyty, int itacty)

Get temperature of rigid particle.

usage : T = RBDY2_GetThermalValu(ibdyty, itacty)

pylmgc90.chipy.lmgc90.RBDY2_GetVelocity(*args)[source]

void RBDY2_GetVelocity(int ibdyty, double *velocity)

Get the velocity of a body.

pylmgc90.chipy.lmgc90.RBDY2_GhostToInvisible(*args)[source]

void RBDY2_GhostToInvisible(void)

set bodies with ghost behaviour nickname as invisible

usage : RBDY2_GhostToInvisible()

pylmgc90.chipy.lmgc90.RBDY2_IncrementStep(*args)[source]

void RBDY2_IncrementStep(void)

increment values at the current time step (prediction)

usage : RBDY2_IncrementStep()

pylmgc90.chipy.lmgc90.RBDY2_InitFreeBoundary(*args)[source]

void RBDY2_InitFreeBoundary(double xmin, double xmax, double radius)

usage : RBDY2_InitFreeBoundary(xmin, xmax, radius)

pylmgc90.chipy.lmgc90.RBDY2_InitializeStresses(*args)[source]

void RBDY2_InitializeStresses(void)

initialize stress for rigid bodies

usage : RBDY2_InitializeStresses()

pylmgc90.chipy.lmgc90.RBDY2_InitializeWS(*args)[source]

void RBDY2_InitializeWS(double rvalue1)

initialize WS for rigid bodies with a value between wsmin and wsmax ponderate by rvalue1

python usage : RBDY2_InitializeWS(double rvalue1)

vhn

pylmgc90.chipy.lmgc90.RBDY2_IsVisible(*args)[source]

int RBDY2_IsVisible(int ibdyty)

return if a body visible

usage : visible = RBDY2_IsVisible(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_LoadBehaviours(*args)[source]

void RBDY2_LoadBehaviours(void)

Load bulk behaviour id from bulk_behav module.

usage : RBDY2_LoadBehaviours()

pylmgc90.chipy.lmgc90.RBDY2_MP_LoadBehaviours(*args)[source]

void RBDY2_MP_LoadBehaviours(double disper, char *cflag)

Load extra physical behaviour read in BULK_BEHAV.DAT file.

Must be used with THERMO_RIGID ELECTRO_RIGID THERMO_ELECTRO_RIGID behaviours

usage : RBDY2_MP_LoadBehaviours(disper)

pylmgc90.chipy.lmgc90.RBDY2_MembraneBiaxialLoading(*args)[source]

void RBDY2_MembraneBiaxialLoading(int down, int up, double thickness, double stress)

Biaxial load of a sample using pseudo membrane.

usage : RBDY2_MembraneBiaxialLoading(down, up, thickness, stress)

pylmgc90.chipy.lmgc90.RBDY2_ModifyBody(*args)[source]

void RBDY2_ModifyBody(int ivalue1, int ivalue2, double *rvector_in, int rlength_in)

Modify a body tactor.

usage : RBDY2_ModifyBody(ibdyty, itacty, vector)

pylmgc90.chipy.lmgc90.RBDY2_NullifyDisplacements(*args)[source]

void RBDY2_NullifyDisplacements(void)

Set displacements equal to 0.

usage : RBDY2_NullifyDisplacements()

pylmgc90.chipy.lmgc90.RBDY2_NullifyVelocities(*args)[source]

void RBDY2_NullifyVelocities(void)

Set velocity to 0.

usage : RBDY2_NullifyVelocities()

pylmgc90.chipy.lmgc90.RBDY2_PartialDamping(*args)[source]

void RBDY2_PartialDamping(int nb_steps, double Vmax)

Limit body velocity to Vmax value.

usage : RBDY2_PartialDamping(nb_steps, Vmax)

pylmgc90.chipy.lmgc90.RBDY2_PutBodyInvMass(*args)[source]

void RBDY2_PutBodyInvMass(int ivalue1, double *rvector_in, int rlength_in)

Set inv mass diagonal matrix of a given body. Overwrites the computed values.

usage : RBDY2_PutBodyInvMass(ibdyty, inv_mass)

pylmgc90.chipy.lmgc90.RBDY2_PutBodyPreconW(*args)[source]

void RBDY2_PutBodyPreconW(int ivalue1, int ivalue2, double *rvector_in, int rlength_in)

Put preconW of a given body.

usage : RBDY2_PutBodyPreconW(ibdyty, idof, W)

pylmgc90.chipy.lmgc90.RBDY2_PutBodyVector(*args)[source]

void RBDY2_PutBodyVector(char *cvalue1, int ivalue1, double *rvector_in, int rlength_in)

Set a vector of a given body.

possible values for datatype field are ‘Coor0’, ‘Coor_‘, ‘Coorb’,’X____’, ‘Xbeg_‘, ‘V____’, ‘Vbeg_‘, ‘Raux_‘, ‘Vfree’, ‘Fext_‘ uses copy, and in case fo Fext, the operation is not just setting but adding

usage : RBDY2_PutBodyVector(datatype, ibdyty, vector)

pylmgc90.chipy.lmgc90.RBDY2_ReadBodies(*args)[source]

void RBDY2_ReadBodies(void)

Read BODIES.DAT file.

usage : RBDY2_ReadBodies()

Initialize existing_entities variable in RBDY2 Adds the number of found bodies to entity

pylmgc90.chipy.lmgc90.RBDY2_ReadDrivenDof(*args)[source]

void RBDY2_ReadDrivenDof(void)

Read DRV_DOF.DAT file.

usage : RBDY2_ReadDrivenDof()

pylmgc90.chipy.lmgc90.RBDY2_ReadIniDof(*args)[source]

void RBDY2_ReadIniDof(void)

Read DOF.INI file.

usage : RBDY2_ReadIniDof()

pylmgc90.chipy.lmgc90.RBDY2_ResizeBodies(*args)[source]

void RBDY2_ResizeBodies(double homo)

resize body radius by a factor

usage : RBDY2_ResizeBodies(homo)

pylmgc90.chipy.lmgc90.RBDY2_SetBodiesInvisible(*args)[source]

void RBDY2_SetBodiesInvisible(int *ivector_in, int ilength_in)

Set a list of body to invisible state.

usage : RBDY2_SetBodiesInvisible(list_bdy)

pylmgc90.chipy.lmgc90.RBDY2_SetEquilibriumNorm(*args)[source]

void RBDY2_SetEquilibriumNorm(char *norm_type, double tolerance)

Initialization of data for the equilibrium state check.

You must precise the type of check test : Qvlcy : quadratic norm velocy Maxm : maximum norm velocy usage : RBDY2_CheckEquilibrium(norm_type , tolerance)

pylmgc90.chipy.lmgc90.RBDY2_SetInvisible(*args)[source]

void RBDY2_SetInvisible(int ibdyty)

Set a given body as invisible.

python usage : RBDY2_SetInvisible(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_SetPeriodicCondition(*args)[source]

void RBDY2_SetPeriodicCondition(double periode)

define the space is X periodic [0,periode]

The X variable reaches a value between 0 and periode

usage : RBDY2_SetPeriodicCondition(periode)

pylmgc90.chipy.lmgc90.RBDY2_SetSourcePoint(*args)[source]

void RBDY2_SetSourcePoint(int ibdyty, double radius, double x_coor, double y_coor)

Create an assembly by source point deposit.

usage : RBDY2_SetSourcePoint(ibdyty, radius, x_coor, y_coor)

pylmgc90.chipy.lmgc90.RBDY2_SetSurfaceSectors(*args)[source]

void RBDY2_SetSurfaceSectors(int nbsect)

Set the number of angular sectors of the surface of contactors.

python usage : RBDY2_SetSurfaceSectors(nbsect)

pylmgc90.chipy.lmgc90.RBDY2_SetVisible(*args)[source]

void RBDY2_SetVisible(int ibdyty)

Set a given body as visible.

python usage : RBDY2_SetVisible(ibdyt)

pylmgc90.chipy.lmgc90.RBDY2_SetVlocyDrivenDof(*args)[source]

void RBDY2_SetVlocyDrivenDof(int ibdyty, int idrvdof, double value)

Override the value of an existing velocity driven dof.

usage : RBDY2_SetVlocyDrivenDof(ibdyty, idrvdof, value)

pylmgc90.chipy.lmgc90.RBDY2_SetXmaxBoundary(*args)[source]

void RBDY2_SetXmaxBoundary(double rvalue1)

define the boundary of command CHECK_OUT_OF_BOUNDS

usage : RBDY2_SetXmaxBoundary(right_boundary)

pylmgc90.chipy.lmgc90.RBDY2_SetXminBoundary(*args)[source]

void RBDY2_SetXminBoundary(double rvalue1)

define the boundary of command CHECK_OUT_OF_BOUNDS

usage : RBDY2_SetXminBoundary(left_boundary)

pylmgc90.chipy.lmgc90.RBDY2_SetYmaxBoundary(*args)[source]

void RBDY2_SetYmaxBoundary(double rvalue1)

define the boundary of command CHECK_OUT_OF_BOUNDS

usage : RBDY2_SetYmaxBoundary(up_boundary)

pylmgc90.chipy.lmgc90.RBDY2_SetYminBoundary(*args)[source]

void RBDY2_SetYminBoundary(double rvalue1)

define the boundary of command CHECK_OUT_OF_BOUNDS

usage : RBDY2_SetYminBoundary(inf_boundary)

pylmgc90.chipy.lmgc90.RBDY2_SkipInvisible(*args)[source]

void RBDY2_SkipInvisible(void)

skip invisible objects when writing BODIES.OUT

usage : RBDY2_SkipInvisible()

pylmgc90.chipy.lmgc90.RBDY2_UpdateDof(*args)[source]

void RBDY2_UpdateDof(void)

set current DOF as initial DOF of bodies in container

usage : RBDY2_UpdateDof()

pylmgc90.chipy.lmgc90.RBDY2_UpdateThermalStrain(*args)[source]

void RBDY2_UpdateThermalStrain(void)

usage : RBDY2_UpdateThermalStrain()

pylmgc90.chipy.lmgc90.RBDY2_UpdateWSvsT(*args)[source]

void RBDY2_UpdateWSvsT(void)

update surface energy with temperature

Must be used with THERMO_RIGID ELECTRO_RIGID THERMO_ELECTRO_RIGID behaviours

usage : RBDY2_UpdateWSvsT()

pylmgc90.chipy.lmgc90.RBDY2_UpdateWSvsTime(*args)[source]

void RBDY2_UpdateWSvsTime(void)

update surface energy with time

Must be used with THERMO_RIGID ELECTRO_RIGID THERMO_ELECTRO_RIGID behaviours

usage : RBDY2_UpdateWSvsTime()

pylmgc90.chipy.lmgc90.RBDY2_WriteBodies(*args)[source]

void RBDY2_WriteBodies(void)

Write BODIES.OUT file.

Write DRV_DOF.OUT file.

usage : RBDY2_WriteBodies()

pylmgc90.chipy.lmgc90.RBDY2_WriteDrivenDof(*args)[source]

void RBDY2_WriteDrivenDof(void)

pylmgc90.chipy.lmgc90.RBDY2_WriteLastDof(*args)[source]

void RBDY2_WriteLastDof(void)

Write ascii DOF.LAST file.

usage : RBDY2_WriteLastDof()

pylmgc90.chipy.lmgc90.RBDY2_WriteLastRnod(*args)[source]

void RBDY2_WriteLastRnod(void)

Write ascii Rnod.LAST file.

usage : RBDY2_WriteLastRnod()

pylmgc90.chipy.lmgc90.RBDY2_WriteOutDof(*args)[source]

void RBDY2_WriteOutDof(int ivalue1=0, int ivalue2=0)

Write ascii DOF.OUT file. Can be activated only each N steps.

If 0 for ivalue1 and ivalue2, dofs of all bodies are written.

usage : RBDY2_WriteOutDof(ivalue1=0, ivalue2=0)

pylmgc90.chipy.lmgc90.RBDY2_WriteOutRnod(*args)[source]

void RBDY2_WriteOutRnod(void)

Write ascii Rnod.OUT file. Can be activated only each N steps.

usage : RBDY2_WriteOutRnod()

pylmgc90.chipy.lmgc90.RBDY2_computeDrvVlocy(*args)[source]

void RBDY2_computeDrvVlocy(int ibdyty, double *rvector_in, int rlength_in)

Compute the value of the driven velocity of a body a current time.

In place replacement in the input array of the new value(s) of the driven velocity

python usage : RBDY2_computeDrvVlocy(ibdyty, values)

pylmgc90.chipy.lmgc90.RBDY2_getDrvVlocy(*args)[source]

void RBDY2_getDrvVlocy(int ibdyty, int **i4_vector, int *i4_size, double **r8_vector, int *r8_size)

Get the driven dof of a body.

python usage : [drvdof_indices, drvdof_values] = RBDY2_getDrvVlocy(ibdyty)

pylmgc90.chipy.lmgc90.RBDY2_salComputeMass4All(*args)[source]

void RBDY2_salComputeMass4All(void)

Compute mass and inertia of every 2D rigid bodies.

usage : RBDY2_salComputeMass4All()

pylmgc90.chipy.lmgc90.RBDY2_salComputeMass4One(*args)[source]

void RBDY2_salComputeMass4One(int i)

Compute mass and inertia of 2D rigid body indexed i.

usage : RBDY2_salComputeMass4One(i)

pylmgc90.chipy.lmgc90.RBDY2_salComputeMass4Some(*args)[source]

void RBDY2_salComputeMass4Some(int *ivector_in, int ilength_in)

Compute mass and inertia for a list of 2D rigid bodies.

usage : RBDY2_salComputeMass4Some(i_list)

pylmgc90.chipy.lmgc90.RBDY3_AppendToBodiesDotOUT(*args)[source]

void RBDY3_AppendToBodiesDotOUT(void)

python usage : RBDY3_AppendToBodiesDotOUT()

pylmgc90.chipy.lmgc90.RBDY3_ApplyProgressiveActivation(*args)[source]

void void RBDY3_ApplyProgressiveActivation(int freq)

set occurence of activation

python usage : RBDY3_ApplyProgressiveActivation(freq)

pylmgc90.chipy.lmgc90.RBDY3_AvoidBodyRotation(*args)[source]

void RBDY3_AvoidBodyRotation(void)

kill rotation effect for RBDY3

python usage : RBDY3_AvoidBodyRotation()

pylmgc90.chipy.lmgc90.RBDY3_BinaryReadIniDof(*args)[source]

void RBDY3_BinaryReadIniDof(void)

read binary file DOF.INI

python usage : RBDY3_BinaryReadIniDof()

pylmgc90.chipy.lmgc90.RBDY3_BinaryWriteLastDof(*args)[source]

void RBDY3_BinaryWriteLastDof(void)

write binary DOF.LAST file

python usage : RBDY3_BinaryWriteLastDof()

pylmgc90.chipy.lmgc90.RBDY3_BinaryWriteOutDof(*args)[source]

void RBDY3_BinaryWriteOutDof(void)

write binary DOF.OUT file. Can be activate only each N step

python usage : RBDY3_BinaryWriteOutDof()

pylmgc90.chipy.lmgc90.RBDY3_CleanMemory(*args)[source]

void RBDY3_CleanMemory(void)

Free all memory allocated within RBDY3 module.

python usage : RBDY3_CleanMemory()

pylmgc90.chipy.lmgc90.RBDY3_CollectBodiesDotOUT(*args)[source]

void RBDY3_CollectBodiesDotOUT(void)

python usage : RBDY3_CollectBodiesDotOUT()

pylmgc90.chipy.lmgc90.RBDY3_CompCoor(*args)[source]

void RBDY3_CompCoor(void)

Compute the position of bodies.

python usage : RBDY3_CompCoor()

pylmgc90.chipy.lmgc90.RBDY3_CompGlobInerRBDY3(*args)[source]

void RBDY3_CompGlobInerRBDY3(int ibdyty, double *GlobInert)

Get the global inertia.

pylmgc90.chipy.lmgc90.RBDY3_ComputeBulk(*args)[source]

void RBDY3_ComputeBulk(void)

compute internal forces

python usage : RBDY3_ComputeBulk()

pylmgc90.chipy.lmgc90.RBDY3_ComputeContactDetectionConfiguration(*args)[source]

void RBDY3_ComputeContactDetectionConfiguration(void)

compute the contact detection configuration

python usage : RBDY3_ComputeContactDetectionConfiguration()

pylmgc90.chipy.lmgc90.RBDY3_ComputeDof(*args)[source]

void RBDY3_ComputeDof(void)

update current position and velocity

python usage : RBDY3_ComputeDof()

pylmgc90.chipy.lmgc90.RBDY3_ComputeFext(*args)[source]

void RBDY3_ComputeFext(void)

compute external forces

python usage : RBDY3_ComputeFext()

pylmgc90.chipy.lmgc90.RBDY3_ComputeFreeVelocity(*args)[source]

void RBDY3_ComputeFreeVelocity(void)

compute free velocity

python usage : RBDY3_ComputeFreeVelocity()

pylmgc90.chipy.lmgc90.RBDY3_ComputeMass(*args)[source]

void RBDY3_ComputeMass(void)

compute mass and inertia of bodies

python usage : RBDY3_ComputeMass()

pylmgc90.chipy.lmgc90.RBDY3_DisplayOutDof(*args)[source]

void RBDY3_DisplayOutDof(void)

display bodies degrees of freedom

python usage : RBDY3_DisplayOutDof()

pylmgc90.chipy.lmgc90.RBDY3_DisplayOutRnod(*args)[source]

void RBDY3_DisplayOutRnod(void)

display body forces.

python usage : RBDY3_DisplayOutRnod()

pylmgc90.chipy.lmgc90.RBDY3_FatalDamping(*args)[source]

void RBDY3_FatalDamping(int freq)

Nullify body velocities (current and initial)

python usage : RBDY3_FatalDamping(freq)

pylmgc90.chipy.lmgc90.RBDY3_GetBehavior(*args)[source]

void RBDY3_GetBehavior(int ibdyty, char **c5)

Get the type of the nickname of the behavior.

usage name = RBDY3_GetBehavior(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetBodyDensity(*args)[source]

double RBDY3_GetBodyDensity(int ibdyty)

Get the density of a given body.

python usage : density = RBDY3_GetBodyDensity(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetBodyInertia(*args)[source]

void RBDY3_GetBodyInertia(int ibdyty, double **r8_vector, int *r8_size)

Get the inertia matrix of a given RBDY3.

python usage : inertia = RBDY3_GetBodyInertia(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetBodyMatrix(*args)[source]

void RBDY3_GetBodyMatrix(char *cvalue1, int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of a matrix of a RBDY3 body.

python usage : matrix = RBDY3_GetBodyMatrix(datatype, ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetBodyVector(*args)[source]

void RBDY3_GetBodyVector(char *cvalue1, int ivalue1, double **r8_vector, int *r8_size)

Get a copy of a vector of a RBDY3 body.

python usage : vector = RBDY3_GetBodyVector(datatype, ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetBulkBehavNumber(*args)[source]

void RBDY3_GetBulkBehavNumber(int ibdyty)

return the bulk number of a given RBDY3

python usage : ibehav = RBDY3_GetBulkBehavNumber(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetContactorColor(*args)[source]

void RBDY3_GetContactorColor(int ibdyty, int itacty, char **c5)

Get the color of the itacty contactor of a body ibdyty.

usage color = RBDY3_GetContactorColor(ibdyty,itacty)

pylmgc90.chipy.lmgc90.RBDY3_GetContactorType(*args)[source]

void RBDY3_GetContactorType(int ibdyty, int itacty, char **c5)

Get the type of the itacty contactor of a body ibdyty.

usage type = RBDY3_GetContactorType(ibdyty,itacty)

pylmgc90.chipy.lmgc90.RBDY3_GetGlobInertia(*args)[source]

void RBDY3_GetGlobInertia(int ibdyty, double **matrix_out, int *dim1, int *dim2)

Get the global inertia.

usage : inertia = RBDY3_GetGlobInertia(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetMass(*args)[source]

double RBDY3_GetMass(int ibdyty)

Get the mass of a body.

python usage : mass = RBDY3_GetMass(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetNbContactor(*args)[source]

int RBDY3_GetNbContactor(int ibdyty)

get the number of contactor of RBDY3

python usage : nb = RBDY3_GetNbContactor(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetNbRBDY3(*args)[source]

int RBDY3_GetNbRBDY3()

get the number of RBDY3

python usage : nb_RBDY3 = RBDY3_GetNbRBDY3() nb_RBDY3 (integer) : number of RBDY3 in container

pylmgc90.chipy.lmgc90.RBDY3_GetPtrBodyVector(*args)[source]

void RBDY3_GetPtrBodyVector(char *cvalue1, int ivalue1, double **pointer_out, int *length)

Get a pointer on a vector of a RBDY3 body.

python usage : vector_ptr = RBDY3_GetPtrBodyVector(datatype, ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_GetPtrMass(*args)[source]

void RBDY3_GetPtrMass(int ibdyty, double **mass)

Get a pointer onto the mass matrix of a body.

pylmgc90.chipy.lmgc90.RBDY3_GetThermalValue(*args)[source]

double RBDY3_GetThermalValue(int ibdyty, int itacty)

Get temperature of rigid particle.

usage : T = RBDY3_GetThermalValu(ibdyty, itacty)

pylmgc90.chipy.lmgc90.RBDY3_GetVelocity(*args)[source]

void RBDY3_GetVelocity(int ibdyty, double *velocity)

Get the velocity of a body.

pylmgc90.chipy.lmgc90.RBDY3_GetVolume(*args)[source]

void RBDY3_GetVolume(int ibdyty, double *res)

Get volume of a body.

usage : volume = RBDY3_GetVolume(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_IncrementStep(*args)[source]

void RBDY3_IncrementStep(void)

compute the current velocity and displacement

python usage : RBDY3_IncrementStep()

pylmgc90.chipy.lmgc90.RBDY3_IncrementWSvsT(*args)[source]

void RBDY3_IncrementWSvsT(void)

python usage : RBDY3_IncrementWSvsT()

pylmgc90.chipy.lmgc90.RBDY3_InitFreeBoundary(*args)[source]

void RBDY3_InitFreeBoundary(double xmin, double xmax, double ymin, double ymax, double radius)

python usage : RBDY3_InitFreeBoundary(xmin, xmax, ymin, ymax, radius)

pylmgc90.chipy.lmgc90.RBDY3_InitializeProgressiveActivation(*args)[source]

void RBDY3_InitializeProgressiveActivation(double zini, double dz)

set the progression of altitude

python usage : RBDY3_InitializeProgressiveActivation(zini, dz)

pylmgc90.chipy.lmgc90.RBDY3_IsVisible(*args)[source]

int RBDY3_IsVisible(int idbdy)

return if a given body visible

python usage : visible = RBDY3_IsVisible(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_KeepIniDofOrder(*args)[source]

void RBDY3_KeepIniDofOrder(void)

numbering information as they are read

python usage : RBDY3_KeepIniDofOrder()

pylmgc90.chipy.lmgc90.RBDY3_LoadBehaviours(*args)[source]

void RBDY3_LoadBehaviours(void)

Load bulk behaviour id from bulk_behav module.

python usage : RBDY3_LoadBehaviours()

pylmgc90.chipy.lmgc90.RBDY3_LoadMpBehaviours(*args)[source]

void RBDY3_LoadMpBehaviours(double disper)

read extra physical behaviour in BULK_BEHAV.DAT file.

python usage : RBDY3_LoadMpBehaviours(disper)

pylmgc90.chipy.lmgc90.RBDY3_LoadThreadNetwork(*args)[source]

void RBDY3_LoadThreadNetwork(void)

read thread structure for textile structure

python usage : RBDY3_LoadThreadNetwork(void);

pylmgc90.chipy.lmgc90.RBDY3_NewRotationScheme(*args)[source]

void RBDY3_NewRotationScheme(void)

active new rotation scheme FLAG

python usage : RBDY3_NewRotationScheme()

pylmgc90.chipy.lmgc90.RBDY3_PartialDamping(*args)[source]

void RBDY3_PartialDamping(int nb_steps, double Vmax)

Limit body velocity to Vmax value.

usage : RBDY3_PartialDamping(nb_steps, Vmax)

pylmgc90.chipy.lmgc90.RBDY3_PutBodyMatrix(*args)[source]

void RBDY3_PutBodyMatrix(char *cvalue1, int ivalue1, double *matrix_in, int dim1, int dim2)

Set a matrix of a RBDY3 body.

python usage : RBDY3_PutBodyMatrix(datatype, ibdyty, matrix)

pylmgc90.chipy.lmgc90.RBDY3_PutBodyVector(*args)[source]

void RBDY3_PutBodyVector(char *cvalue1, int ivalue1, double *rvector_in, int rlength_in)

Set a vector of a RBDY3 body.

python usage : RBDY3_PutBodyVector(datatype, ibdyty, vector)

pylmgc90.chipy.lmgc90.RBDY3_ReadBodies(*args)[source]

void RBDY3_ReadBodies(void)

read BODIES.DAT file

python usage : RBDY3_ReadBodies()

Initializes existing_entities variable in RBDY3 Adds the number of found bodies to entity

pylmgc90.chipy.lmgc90.RBDY3_ReadCompressedBodies(*args)[source]

void RBDY3_ReadCompressedBodies(void)

read BODIES.DAT file without any comment

python usage : RBDY3_ReadCompressedBodies()

Initializes existing_entities variable in RBDY3 Adds the number of found bodies to entity

pylmgc90.chipy.lmgc90.RBDY3_ReadDrivenDof(*args)[source]

void RBDY3_ReadDrivenDof(void)

read DRV_DOF.DAT file

python usage : RBDY3_ReadDrivenDof()

pylmgc90.chipy.lmgc90.RBDY3_ReadIniDof(*args)[source]

void RBDY3_ReadIniDof(void)

read DOF.INI file

python usage : RBDY3_ReadIniDof()

pylmgc90.chipy.lmgc90.RBDY3_RebuildBodiesDotDAT(*args)[source]

void RBDY3_RebuildBodiesDotDAT(void)

python usage : RBDY3_RebuildBodiesDotDAT()

pylmgc90.chipy.lmgc90.RBDY3_RenumVisibleBodies(*args)[source]

void RBDY3_RenumVisibleBodies(void)

give a new numerotation of visible bodies

python usage : RBDY3_RenumVisibleBodies()

pylmgc90.chipy.lmgc90.RBDY3_SetInvisible(*args)[source]

void void RBDY3_SetInvisible(int ibdyty)

rended a given RBDY3 invisible

python usage : RBDY3_SetInvisible(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_SetInvisibleSmallObjects(*args)[source]

void RBDY3_SetInvisibleSmallObjects(double radius)

Set the objects to invisible if their average radius is less than radius.

python usage : RBDY3_SetInvisibleSmallObjects(radius)

pylmgc90.chipy.lmgc90.RBDY3_SetInvisibleVlocyDrivenDof(*args)[source]

void void RBDY3_SetInvisibleVlocyDrivenDof(int ibdyty, int iccdof)

rended a given Velocy DDL invisible

python usage : RBDY3_SetInvisibleVlocyDrivenDof(ibdyty, iccdof)

pylmgc90.chipy.lmgc90.RBDY3_SetSourcePoint(*args)[source]

void RBDY3_SetSourcePoint(int first_RBDY3, double radius, double Xshift, double Yshift, double Zshift)

create an assembly by source point deposit

python usage : RBDY3_SetSourcePoint(first_RBDY2, radius, Xshift, Yshift, Zshift)

pylmgc90.chipy.lmgc90.RBDY3_SetSourcePointWithIni(*args)[source]

void RBDY3_SetSourcePointWithIni(int first_RBDY3, double radius, double Xshift, double Yshift, double Zshift)

create an assembly by source point deposit

python usage : RBDY3_SetSourcePointWithIni(first_RBDY2, radius, Xshift, Yshift, Zshift)

pylmgc90.chipy.lmgc90.RBDY3_SetVisible(*args)[source]

void void RBDY3_SetVisible(int ibdyty)

rended a given RBDY3 visible

python usage : RBDY3_SetVisible(ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_SetVisibleVlocyDrivenDof(*args)[source]

void RBDY3_SetVisibleVlocyDrivenDof(int ibdyty, int iccdof)

rended a given Velocy DDL visible

python usage : RBDY3_SetVisibleVlocyDrivenDof(ibdyty, iccdof)

pylmgc90.chipy.lmgc90.RBDY3_SetVlocyDrivenDof(*args)[source]

void RBDY3_SetVlocyDrivenDof(int ibdyty, int idrvdof, double value)

Override the value of an existing velocity driven dof.

usage : RBDY3_SetVlocyDrivenDof(ibdyty, idrvdof, value)

pylmgc90.chipy.lmgc90.RBDY3_SetXPeriodicCondition(*args)[source]

void RBDY3_SetXPeriodicCondition(double xperiode)

set the period on X axis

python usage : RBDY3_SetXPeriodicCondition(xperiod)

pylmgc90.chipy.lmgc90.RBDY3_SetXmaxBoundary(*args)[source]

void RBDY3_SetXmaxBoundary(double Xmax)

define the boundary of command CHECK_OUT_OF_BOUNDS

python usage : RBDY3_SetXmaxBoundary(Xmax)

pylmgc90.chipy.lmgc90.RBDY3_SetXminBoundary(*args)[source]

void RBDY3_SetXminBoundary(double Xmin)

define the boundary of command CHECK_OUT_OF_BOUNDS

python usage : RBDY3_SetXminBoundary(Zmin)

pylmgc90.chipy.lmgc90.RBDY3_SetYPeriodicCondition(*args)[source]

void RBDY3_SetYPeriodicCondition(double Yperiode)

set the periode on Y axis

python usage : RBDY3_SetYPeriodicCondition(yperiod)

pylmgc90.chipy.lmgc90.RBDY3_SetYmaxBoundary(*args)[source]

void RBDY3_SetYmaxBoundary(double Ymax)

define the boundary of command CHECK_OUT_OF_BOUNDS

python usage : RBDY3_SetYmaxBoundary(Ymax)

pylmgc90.chipy.lmgc90.RBDY3_SetYminBoundary(*args)[source]

void RBDY3_SetYminBoundary(double Ymin)

define the boundary of command CHECK_OUT_OF_BOUNDS

python usage : RBDY3_SetYminBoundary(Zmin)

pylmgc90.chipy.lmgc90.RBDY3_SetZmaxBoundary(*args)[source]

void RBDY3_SetZmaxBoundary(double Zmax)

define the boundary of command CHECK_OUT_OF_BOUNDS

python usage : RBDY3_SetZmaxBoundary(Zmax)

pylmgc90.chipy.lmgc90.RBDY3_SetZminBoundary(*args)[source]

void RBDY3_SetZminBoundary(double Zmin)

define the boundary of command CHECK_OUT_OF_BOUNDS

python usage : RBDY3_SetZminBoundary(Zmin)

pylmgc90.chipy.lmgc90.RBDY3_SkipInvisible(*args)[source]

void RBDY3_SkipInvisible(void)

if a body is invisible, il will not be written in bodies.out and dof.out

python usage : RBDY3_SkipInvisible()

pylmgc90.chipy.lmgc90.RBDY3_TriaxialLoading(*args)[source]

void RBDY3_TriaxialLoading(int num_down, int num_right, int num_up, int num_left, int num_front, int num_rear, int nb_loads, double *rvector_in, int rlength_in)

Triaxial load of a sample using a rigid box.

pylmgc90.chipy.lmgc90.RBDY3_UpdateDof(*args)[source]

void RBDY3_UpdateDof(void)

save d.o.f. of the end of the time step to d.o.f. of the begining of the next one

python usage : RBDY3_UpdateDof()

pylmgc90.chipy.lmgc90.RBDY3_UpdateGAMMAvsT(*args)[source]

void RBDY3_UpdateGAMMAvsT(void)

python usage : RBDY3_UpdateGAMMAvsT()

pylmgc90.chipy.lmgc90.RBDY3_WriteBodies(*args)[source]

void RBDY3_WriteBodies(void)

write BODIES.OUT file

python usage : RBDY3_WriteBodies()

pylmgc90.chipy.lmgc90.RBDY3_WriteDrivenDof(*args)[source]

void RBDY3_WriteDrivenDof(void)

write DRV_DOF.OUT file

python usage : RBDY3_WriteDrivenDof()

pylmgc90.chipy.lmgc90.RBDY3_WriteLastDof(*args)[source]

void RBDY3_WriteLastDof(void)

write ascii DOF.LAST file

python usage : RBDY3_WriteLastDof()

pylmgc90.chipy.lmgc90.RBDY3_WriteLastRnod(*args)[source]

void RBDY3_WriteLastRnod(void)

write ascii Rnod.LAST file

python usage : RBDY3_WriteLastRnod()

pylmgc90.chipy.lmgc90.RBDY3_WriteOutDof(*args)[source]

void RBDY3_WriteOutDof(int ifrom=0, int ito=0)

write ascii DOF.OUT file. Can be activate only each N step

If 0 for ifrom and ito, dofs of all bodies are written.

python usage : RBDY3_WriteOutDof(ifrom=0, ito=0)

pylmgc90.chipy.lmgc90.RBDY3_WriteOutDofOneBody(*args)[source]

void RBDY3_WriteOutDofOneBody(int ibdyty, int new_ibdyty)

write a bdyty dof to DOF.OUT with a given rank

python usage : RBDY3_WriteOutDofOneBody(ibdyty, new_ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_WriteOutOneBody(*args)[source]

void RBDY3_WriteOutOneBody(int ibdyty, int new_ibdyty)

write a bdyty to BODIES.OUT with a given rank

python usage : RBDY3_WriteOutOneBody(ibdyty, new_ibdyty)

pylmgc90.chipy.lmgc90.RBDY3_WriteOutRnod(*args)[source]

void RBDY3_WriteOutRnod(void)

write ascii Rnod.OUT file. Can be activate only each N step.

python usage : RBDY3_WriteOutRnod()

pylmgc90.chipy.lmgc90.RBDY3_computeDrvVlocy(*args)[source]

void RBDY3_computeDrvVlocy(int ibdyty, double *rvector_in, int rlength_in)

Compute the value of the driven velocity of a body at current time.

In place replacement in the input array of the new value(s) of the driven velocity

python usage : RBDY3_computeDrvVlocy(ibdyty, values)

pylmgc90.chipy.lmgc90.RBDY3_getDrvVlocy(*args)[source]

void RBDY3_getDrvVlocy(int ibdyty, int **i4_vector, int *i4_size, double **r8_vector, int *r8_size)

Get the driven dof of a body.

python usage : [drvdof_indices, drvdof_values] = RBDY3_getDrvVlocy(ibdyty)

pylmgc90.chipy.lmgc90.SPCDx_CleanMemory(*args)[source]

void SPCDx_CleanMemory(void)

Free all memory allocated within SPCDx module.

python usage : SPCDx_CleanMemory()

pylmgc90.chipy.lmgc90.SPCDx_DisplayOutVlocRloc(*args)[source]

void SPCDx_DisplayOutVlocRloc(void)

display local values of all SPCDx contacts

python usage : SPCDx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPCDx_DisplayProxTactors(*args)[source]

void SPCDx_DisplayProxTactors(void)

display contacts

python usage : SPCDx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.SPCDx_GetAll(*args)[source]

void SPCDx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = SPCDx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.SPCDx_GetNbSPCDx(*args)[source]

int SPCDx_GetNbSPCDx(void)

Get the number of SPCDx contact found.

python usage : nb_SPCDx = SPCDx_GetNbSPCDx() nb_SPCDx (integer) : number of SPCDx found

pylmgc90.chipy.lmgc90.SPCDx_GetNbvSPCDx(*args)[source]

int SPCDx_GetNbvSPCDx(void)

return the number of SPCDx stored

python usage : nb_vSPCDx = SPCDx_GetNbvSPCDx() nb_vSPCDx (integer) : number of SPCDx stored

pylmgc90.chipy.lmgc90.SPCDx_ReadIniVlocRloc(*args)[source]

void SPCDx_ReadIniVlocRloc(void)

python usage : SPCDx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.SPCDx_RecupRloc(*args)[source]

void SPCDx_RecupRloc(void)

recovers values of local contact forces from stored values

python usage : SPCDx_RecupRloc()

pylmgc90.chipy.lmgc90.SPCDx_SelectProxTactors(*args)[source]

void SPCDx_SelectProxTactors(int reset=0)

contact detection between SPxxx and CDxxx tactors

python usage : SPCDx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.SPCDx_SmoothForceComputation(*args)[source]

void SPCDx_SmoothForceComputation(void)

computes smooth forces (if any)

python usage : SPCDx_SmoothForceComputation()

pylmgc90.chipy.lmgc90.SPCDx_StockRloc(*args)[source]

void SPCDx_StockRloc(void)

stores values of local contact forces

python usage : SPCDx_StockRloc()

pylmgc90.chipy.lmgc90.SPCDx_WriteLastVlocRloc(*args)[source]

void SPCDx_WriteLastVlocRloc(void)

write last local values of all SPCDx contacts

python usage : SPCDx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPCDx_WriteOutVlocRloc(*args)[source]

void SPCDx_WriteOutVlocRloc(void)

write local values of all SPCDx contacts

python usage : SPCDx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPDCx_CleanMemory(*args)[source]

void SPDCx_CleanMemory(void)

Free all memory allocated within SPDCx module.

python usage : SPDCx_CleanMemory()

pylmgc90.chipy.lmgc90.SPDCx_DisplayOutVlocRloc(*args)[source]

void SPDCx_DisplayOutVlocRloc(void)

display local values of all SPDCx contacts

python usage : SPDCx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPDCx_DisplayProxTactors(*args)[source]

void SPDCx_DisplayProxTactors(void)

display contacts

python usage : SPDCx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.SPDCx_GetAll(*args)[source]

void SPDCx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = SPDCx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.SPDCx_GetNbSPDCx(*args)[source]

int SPDCx_GetNbSPDCx(void)

Get the number of SPDCx contact found.

python usage : nb_SPDCx = SPDCx_GetNbSPDCx()

nb_SPDCx (integer) : number of SPDCx found

pylmgc90.chipy.lmgc90.SPDCx_GetNbvSPDCx(*args)[source]

int SPDCx_GetNbvSPDCx(void)

return the number of SPDCx stored

python usage : nb_vSPDCx = SPDCx_GetNbvSPDCx() nb_vSPDCx (integer) : number of SPDCx stored

pylmgc90.chipy.lmgc90.SPDCx_ReadIniVlocRloc(*args)[source]

void SPDCx_ReadIniVlocRloc(void)

python usage : SPDCx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.SPDCx_RecupRloc(*args)[source]

void SPDCx_RecupRloc(void)

recovers values of local contact forces from stored values

python usage : SPDCx_RecupRloc()

pylmgc90.chipy.lmgc90.SPDCx_SelectProxTactors(*args)[source]

void SPDCx_SelectProxTactors(int reset=0)

contact detection between SPxxx and DCxxx tactors

python usage : SPDCx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.SPDCx_SmoothForceComputation(*args)[source]

void SPDCx_SmoothForceComputation(void)

computes smooth forces (if any)

python usage : SPDCx_SmoothForceComputation()

pylmgc90.chipy.lmgc90.SPDCx_StockRloc(*args)[source]

void SPDCx_StockRloc(void)

stores values of local contact forces

python usage : SPDCx_StockRloc()

pylmgc90.chipy.lmgc90.SPDCx_WriteLastVlocRloc(*args)[source]

void SPDCx_WriteLastVlocRloc(void)

write last local values of all SPDCx contacts

python usage : SPDCx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPDCx_WriteOutVlocRloc(*args)[source]

void SPDCx_WriteOutVlocRloc(void)

write local values of all SPDCx contacts

python usage : SPDCx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPHER_CleanMemory(*args)[source]

void SPHER_CleanMemory(void)

Free all memory allocated within SPHER module.

python usage : SPHER_CleanMemory()

pylmgc90.chipy.lmgc90.SPHER_GetContactorCoor(*args)[source]

void SPHER_GetContactorCoor(int itacty, double **r8_vector, int *r8_size)

get coordinates of the center of a given SPHER

usage : vector = SPHER_GetContactorCoor(itacty)

pylmgc90.chipy.lmgc90.SPHER_GetContactorRadius(*args)[source]

double SPHER_GetContactorRadius(int itact)

Get the radius of a SPHER contactor.

python usage : radius = SPHER_GetContactorRadius(itact)

pylmgc90.chipy.lmgc90.SPHER_GetNbPointOutlines(*args)[source]

void SPHER_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = SPHER_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the SPHER

pylmgc90.chipy.lmgc90.SPHER_GetNbSPHER(*args)[source]

int SPHER_GetNbSPHER(void)

Get the number of SPHER.

python usage : nb_SPHER = SPHER_GetNbSPHER()

nb_SPHER (integer) : the number of SPHER

pylmgc90.chipy.lmgc90.SPHER_GetNbScalarFields(*args)[source]

int SPHER_GetNbScalarFields(void)

Get the number of scalar fields of a SPHER.

python usage : nb_scalarfields = SPHER_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a SPHER

pylmgc90.chipy.lmgc90.SPHER_GetPtrAllConnectivities(*args)[source]

void SPHER_GetPtrAllConnectivities(int **pointer_out, int *length)

Get a reference on the connectivities of all SPHER.

usage : connec = SPHER_GetPtrAllConnectivities() connec (integer array) : a reference on all_connectivities

pylmgc90.chipy.lmgc90.SPHER_GetPtrSPHER2RBDY3(*args)[source]

void SPHER_GetPtrSPHER2RBDY3(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map spher2rbdy3

python usage : spher2rbdy3 = SPHER_GetPtrSPHER2RBDY3()

spher2rbdy3 (integer array) : reference on map between spher rank and body rank

pylmgc90.chipy.lmgc90.SPHER_GetSPHER2RBDY3(*args)[source]

void SPHER_GetSPHER2RBDY3(int *vecteur_in, int length)

return the table spher2rbdy3

spher2rbdy3 gives for a SPHER itact the corresponding body in RBDY3: spher2rbdy3(itact)

pylmgc90.chipy.lmgc90.SPHER_InitOutlines(*args)[source]

void SPHER_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all SPHER.

usage : outlines = SPHER_InitOutlines() outlines (double array) : a reference on outlines_SPHER

pylmgc90.chipy.lmgc90.SPHER_InitScalarFields(*args)[source]

void SPHER_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all SPHER.

usage : scalarfields = SPHER_InitScalarfields() scalarfields (double array) : reference on scalarfields_SPHER array

pylmgc90.chipy.lmgc90.SPHER_LoadTactors(*args)[source]

void SPHER_LoadTactors(void)

load SPHER from RBDY3 and initialize existing_entites

python usage : SPHER_LoadTactors()

pylmgc90.chipy.lmgc90.SPHER_SetRadiusCorrection(*args)[source]

void SPHER_SetRadiusCorrection(double corr)

set a radius correction

python usage : SPHER_SetRadiusCorrection(corr)

pylmgc90.chipy.lmgc90.SPHER_UpdatePostdata(*args)[source]

void SPHER_UpdatePostdata(void)

Update values of outlines_SPHER and scalarfields_SPHER pointers.

usage : SPHER_UpdatePostdata

pylmgc90.chipy.lmgc90.SPPLx_CleanMemory(*args)[source]

void SPPLx_CleanMemory(void)

Free all memory allocated within SPPLx module.

python usage : SPPLx_CleanMemory()

pylmgc90.chipy.lmgc90.SPPLx_DisplayOutVlocRloc(*args)[source]

void SPPLx_DisplayOutVlocRloc(void)

display local values of all SPPLx contacts

python usage : SPPLx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPPLx_DisplayProxTactors(*args)[source]

void SPPLx_DisplayProxTactors(void)

display contacts

python usage : SPPLx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.SPPLx_GetAll(*args)[source]

void SPPLx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = SPPLx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.SPPLx_GetNbSPPLx(*args)[source]

int SPPLx_GetNbSPPLx(void)

Get the number of SPPLx contact found.

python usage : nb_SPPLx = SPPLx_GetNbSPPLx()

nb_SPPLx (integer) : number of SPPLx found

pylmgc90.chipy.lmgc90.SPPLx_GetNbvSPPLx(*args)[source]

int SPPLx_GetNbvSPPLx(void)

return the number of SPPLx stored

python usage : nb_vSPPLx = SPPLx_GetNbvSPPLx() nb_vSPPLx (integer) : number of SPPLx stored

pylmgc90.chipy.lmgc90.SPPLx_ReadIniVlocRloc(*args)[source]

void SPPLx_ReadIniVlocRloc(void)

python usage : SPPLx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.SPPLx_RecupRloc(*args)[source]

void SPPLx_RecupRloc(void)

recovered values of local contact forces from stored values

python usage : SPPLx_RecupRloc()

pylmgc90.chipy.lmgc90.SPPLx_SelectProxTactors(*args)[source]

void SPPLx_SelectProxTactors(int reset=0)

contact detection between SPxxx and PLxxx tactors

python usage : SPPLx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.SPPLx_SmoothForceComputation(*args)[source]

void SPPLx_SmoothForceComputation(void)

compute smooth contact law (in any)

python usage : SPPLx_SmoothForceComputation()

pylmgc90.chipy.lmgc90.SPPLx_StockRloc(*args)[source]

void SPPLx_StockRloc(void)

stores values of local contact forces

python usage : SPPLx_StockRloc()

pylmgc90.chipy.lmgc90.SPPLx_WriteLastVlocRloc(*args)[source]

void SPPLx_WriteLastVlocRloc(void)

write last local values of all SPPLx contacts

python usage : SPPLx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPPLx_WriteOutVlocRloc(*args)[source]

void SPPLx_WriteOutVlocRloc(void)

write local values of all SPPLx contacts

python usage : SPPLx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPSPx_CleanMemory(*args)[source]

void SPSPx_CleanMemory(void)

Free all memory allocated within SPSPx module.

python usage : SPSPx_CleanMemory()

pylmgc90.chipy.lmgc90.SPSPx_DisplayOutVlocRloc(*args)[source]

void SPSPx_DisplayOutVlocRloc(void)

display local values of all SPSPx contacts

python usage : SPSPx_DisplayOutVlocRloc()

the values displayed are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPSPx_DisplayProxTactors(*args)[source]

void SPSPx_DisplayProxTactors(void)

display contacts

python usage : SPSPx_DisplayProxTactors()

pylmgc90.chipy.lmgc90.SPSPx_FdSelectProxTactors(*args)[source]

void SPSPx_FdSelectProxTactors(void)

contact detection between SPHER and SPHER tactors

python usage : SPSPx_FdSelectProxTactors()

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.SPSPx_GetAll(*args)[source]

void SPSPx_GetAll(double **matrix_out, int *dim1, int *dim2)

return contact point coordinates, local frame and forces

python usage : array = SPSPx_GetAll() array (double 2D-array) : mechanical data

pylmgc90.chipy.lmgc90.SPSPx_GetNbSPSPx(*args)[source]

int SPSPx_GetNbSPSPx(void)

Get the number of SPSPx contact found.

python usage : nb_SPSPx = SPSPx_GetNbSPSPx()

nb_SPSPx (integer) : number of SPSPx found

pylmgc90.chipy.lmgc90.SPSPx_GetNbvSPSPx(*args)[source]

int SPSPx_GetNbvSPSPx(void)

return the number of SPSPx stored

python usage : nb_vSPSPx = SPSPx_GetNbvSPSPx() nb_vSPSPx (integer) : number of SPSPx stored

pylmgc90.chipy.lmgc90.SPSPx_ReadIniVlocRloc(*args)[source]

void SPSPx_ReadIniVlocRloc(void)

python usage : SPSPx_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.SPSPx_RecupRloc(*args)[source]

void SPSPx_RecupRloc(void)

recovers values of local contact forces from stored values

python usage : SPSPx_RecupRloc()

pylmgc90.chipy.lmgc90.SPSPx_SelectProxTactors(*args)[source]

void SPSPx_SelectProxTactors(int reset=0)

contact detection between SPxxx and SPxxx tactors

python usage : SPSPx_SelectProxTactors(reset=0) param[in] reset (integer) : if not 0, detection is skipped but the boxes will be computed anew at next call

first recup coordinate prediction, then proceed to a box selection to found rough contact list and finally compute the final contact list

pylmgc90.chipy.lmgc90.SPSPx_SetContactRadius(*args)[source]

void SPSPx_SetContactRadius(double radius)

define the contact radius (experimental)

python usage : SPSPx_SetContactRadius(radius)

pylmgc90.chipy.lmgc90.SPSPx_SetNumberInterByContact(*args)[source]

void SPSPx_SetNumberInterByContact(int nb_interactions)

define the number of interaction by contact (experimental)

python usage : SPSPx_SetNumberInterByContact(nb_interactions)

pylmgc90.chipy.lmgc90.SPSPx_SetXPeriodicCondition(*args)[source]

void SPSPx_SetXPeriodicCondition(double xperiod)

initialise data for simulation using periodic condition

python usage : SPSPx_SetXPeriodicCondition(xperiod)

pylmgc90.chipy.lmgc90.SPSPx_SetYPeriodicCondition(*args)[source]

void SPSPx_SetYPeriodicCondition(double yperiod)

initialise data for simulation using periodic condition

python usage : SPSPx_SetYPeriodicCondition(yperiod)

pylmgc90.chipy.lmgc90.SPSPx_SmoothForceComputation(*args)[source]

void SPSPx_SmoothForceComputation(void)

recup values of local contact forces of the last time step

python usage : SPSPx_SmoothForceComputation()

pylmgc90.chipy.lmgc90.SPSPx_StockRloc(*args)[source]

void SPSPx_StockRloc(void)

stores values of local contact forces

python usage : SPSPx_StockRloc()

pylmgc90.chipy.lmgc90.SPSPx_WriteLastVlocRloc(*args)[source]

void SPSPx_WriteLastVlocRloc(void)

write last local values of all SPSPx contacts

python usage : SPSPx_WriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.SPSPx_WriteOutVlocRloc(*args)[source]

void SPSPx_WriteOutVlocRloc(void)

write local values of all SPSPx contacts

python usage : SPSPx_WriteOutVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.TimeEvolution_BinaryReadIniDof(*args)[source]

void TimeEvolution_BinaryReadIniDof(void)

on the stream

python usage : TimeEvolution_BinaryReadIniDof()

pylmgc90.chipy.lmgc90.TimeEvolution_BinaryReadIniVlocRloc(*args)[source]

void TimeEvolution_BinaryReadIniVlocRloc(void)

python usage : TimeEvolution_BinaryReadIniVlocRloc()

the read values are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.TimeEvolution_BinaryWriteLastDof(*args)[source]

void TimeEvolution_BinaryWriteLastDof(void)

open the stream

python usage : TimeEvolution_BinaryWriteLastDof()

pylmgc90.chipy.lmgc90.TimeEvolution_BinaryWriteLastVlocRloc(*args)[source]

void TimeEvolution_BinaryWriteLastVlocRloc(void)

python usage : TimeEvolution_BinaryWriteLastVlocRloc()

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.TimeEvolution_BinaryWriteOutDof(*args)[source]

void TimeEvolution_BinaryWriteOutDof(int Nstep_writeDof=1)

open the stream

python usage : TimeEvolution_BinaryWriteOutDof(Nstep_writeDof)

pylmgc90.chipy.lmgc90.TimeEvolution_BinaryWriteOutVlocRloc(*args)[source]

void TimeEvolution_BinaryWriteOutVlocRloc(int entier)

python usage : TimeEvolution_BinaryWriteOutVlocRloc(nstep)

the values written are relative velocity, forces and local frame

pylmgc90.chipy.lmgc90.TimeEvolution_DisplayOutDof(*args)[source]

void TimeEvolution_DisplayOutDof(void)

python usage : TimeEvolution_DisplayOutDof()

pylmgc90.chipy.lmgc90.TimeEvolution_DisplayOutRnod(*args)[source]

void TimeEvolution_DisplayOutRnod(void)

python usage : TimeEvolution_DisplayOutRnod()

pylmgc90.chipy.lmgc90.TimeEvolution_DisplayOutVlocRloc(*args)[source]

void TimeEvolution_DisplayOutVlocRloc(void)

python usage : TimeEvolution_DisplayOutVlocRloc()

pylmgc90.chipy.lmgc90.TimeEvolution_DisplayStep(*args)[source]

void TimeEvolution_DisplayStep(void)

Display time evolution step informations.

python usage : TimeEvolution_DisplayStep()

pylmgc90.chipy.lmgc90.TimeEvolution_GetStep(*args)[source]

int TimeEvolution_GetStep(void)

get current step number

python usage : it = TimeEvolution_GetStep() it (int) : current step number

pylmgc90.chipy.lmgc90.TimeEvolution_GetTime(*args)[source]

double TimeEvolution_GetTime(void)

get current time

python usage : time = TimeEvolution_GetTime() time (double) : current time

pylmgc90.chipy.lmgc90.TimeEvolution_GetTimeStep(*args)[source]

double TimeEvolution_GetTimeStep(void)

get current time step

python usage : dt = TimeEvolution_GetTimeStep() dt (double) : time step

pylmgc90.chipy.lmgc90.TimeEvolution_IncrementStep(*args)[source]

void TimeEvolution_IncrementStep(void)

Increment curent time, time step and eventually initialize NR loop counter.

python usage : TimeEvolution_IncrementStep()

pylmgc90.chipy.lmgc90.TimeEvolution_ReadIniDof(*args)[source]

void TimeEvolution_ReadIniDof(void)

python usage : TimeEvolution_ReadIniDof()

pylmgc90.chipy.lmgc90.TimeEvolution_ReadIniGPV(*args)[source]

void TimeEvolution_ReadIniGPV(void)

python usage : TimeEvolution_ReadIniGPV()

pylmgc90.chipy.lmgc90.TimeEvolution_ReadIniVlocRloc(*args)[source]

void TimeEvolution_ReadIniVlocRloc(void)

python usage : TimeEvolution_ReadIniVlocRloc()

pylmgc90.chipy.lmgc90.TimeEvolution_SetInitialStep(*args)[source]

void TimeEvolution_SetInitialStep(int ivalue)

Set the rank of the first time step.

python usage : TimeEvolution_SetInitialStep(first_step)

pylmgc90.chipy.lmgc90.TimeEvolution_SetInitialTime(*args)[source]

void TimeEvolution_SetInitialTime(double value)

Set initial time.

python usage : TimeEvolution_SetInitialTime(t_init)

pylmgc90.chipy.lmgc90.TimeEvolution_SetTimeStep(*args)[source]

void TimeEvolution_SetTimeStep(double value)

Set value of the time step.

python usage : TimeEvolution_SetTimeStep(dt)

pylmgc90.chipy.lmgc90.TimeEvolution_UpdateStep(*args)[source]

void TimeEvolution_UpdateStep(void)

update the initial time to the current time

python usage : TimeEvolution_UpdateStep()

pylmgc90.chipy.lmgc90.TimeEvolution_WriteLastDof(*args)[source]

void TimeEvolution_WriteLastDof(void)

python usage : TimeEvolution_WriteLastDof()

pylmgc90.chipy.lmgc90.TimeEvolution_WriteLastGPV(*args)[source]

void TimeEvolution_WriteLastGPV(void)

python usage : TimeEvolution_WriteLastGPV()

pylmgc90.chipy.lmgc90.TimeEvolution_WriteLastRnod(*args)[source]

void TimeEvolution_WriteLastRnod(void)

python usage : TimeEvolution_WriteLastRnod()

pylmgc90.chipy.lmgc90.TimeEvolution_WriteLastVlocRloc(*args)[source]

void TimeEvolution_WriteLastVlocRloc(void)

python usage : TimeEvolution_WriteLastVlocRloc()

pylmgc90.chipy.lmgc90.TimeEvolution_WriteOutDof(*args)[source]

void TimeEvolution_WriteOutDof(int Nstep_writeDof=1)

python usage : TimeEvolution_WriteOutDof(Nstep_writeDof)

pylmgc90.chipy.lmgc90.TimeEvolution_WriteOutGPV(*args)[source]

void TimeEvolution_WriteOutGPV(int entier)

python usage : TimeEvolution_WriteOutGPV(nstep)

pylmgc90.chipy.lmgc90.TimeEvolution_WriteOutRnod(*args)[source]

void TimeEvolution_WriteOutRnod(int entier)

python usage : TimeEvolution_WriteOutRnod(nstep)

pylmgc90.chipy.lmgc90.TimeEvolution_WriteOutVlocRloc(*args)[source]

void TimeEvolution_WriteOutVlocRloc(int Nstep_writeVlocRloc=1)

python usage : TimeEvolution_WriteOutVlocRloc(nstep)

pylmgc90.chipy.lmgc90.a_EF_ComputeCenter(*args)[source]

void a_EF_ComputeCenter(double *matrix_in, int dim1, int dim2, double **r8_vector, int *r8_size)

Compute the geometric center of an element.

python usage : center = a_EF_ComputeCenter(coor)

pylmgc90.chipy.lmgc90.a_EF_InterpolateField(*args)[source]

void a_EF_InterpolateField(double *rvector_in, int rlength_in, double *rvector_in2, int rlength_in2, double *res)

pylmgc90.chipy.lmgc90.afterall_BinaryReadIniDof(*args)[source]

void afterall_BinaryReadIniDof(void)

close the stream

python usage : afterall_BinaryReadIniDof()

close the stream

pylmgc90.chipy.lmgc90.afterall_BinaryReadIniVlocRloc(*args)[source]

void afterall_BinaryReadIniVlocRloc(void)

python usage : afterall_BinaryReadIniVlocRloc()

close the stream

pylmgc90.chipy.lmgc90.afterall_BinaryWriteLastDof(*args)[source]

void afterall_BinaryWriteLastDof(void)

close the stream

python usage : afterall_BinaryWriteLastDof()

close the stream

pylmgc90.chipy.lmgc90.afterall_BinaryWriteLastVlocRloc(*args)[source]

void afterall_BinaryWriteLastVlocRloc(void)

python usage : afterall_BinaryWriteLastVlocRloc()

close the stream

pylmgc90.chipy.lmgc90.afterall_BinaryWriteOutDof(*args)[source]

void afterall_BinaryWriteOutDof(void)

close the stream

python usage : afterall_BinaryWriteOutDof()

close the stream

pylmgc90.chipy.lmgc90.afterall_BinaryWriteOutVlocRloc(*args)[source]

void afterall_BinaryWriteOutVlocRloc(void)

python usage : afterall_BinaryWriteOutVlocRloc()

close the stream

pylmgc90.chipy.lmgc90.bulk_behav_AppendOutBulkBehav(*args)[source]

void bulk_behav_AppendOutBulkBehav(void)

write (appending) gravity and behaviors to OUTBOX/BULK_BEHAV.OUT file

python usage : bulk_behav_AppendOutBulkBehav()

pylmgc90.chipy.lmgc90.bulk_behav_CleanMemory(*args)[source]

void bulk_behav_CleanMemory(void)

Free all memory allocated within bulk_behav module.

python usage : bulk_behav_CleanMemory()

pylmgc90.chipy.lmgc90.bulk_behav_CleanOutBulkBehav(*args)[source]

void bulk_behav_CleanOutBulkBehav(void)

write (replacing) gravity and behaviors to OUTBOX/BULK_BEHAV.OUT file

python usage : bulk_behav_CleanOutBulkBehav()

pylmgc90.chipy.lmgc90.bulk_behav_CollectOutBulkBehav(*args)[source]

void bulk_behav_CollectOutBulkBehav(void)

read gravity and behaviors from OUTBOX/BULK_BEHAV.OUT file

python usage : bulk_behav_CollectOutBulkBehav()

pylmgc90.chipy.lmgc90.bulk_behav_GetBulkBehav(*args)[source]

void bulk_behav_GetBulkBehav(int i_bb, char **string_out, int *string_size, char **c5)

get a given bulk law

python usage : lawty, behav = bulk_behav_GetBulkBehav(i_bb)

pylmgc90.chipy.lmgc90.bulk_behav_GetGravity(*args)[source]

void bulk_behav_GetGravity(double **r8_vector, int *r8_size)

get the gravity acceleration used

python usage : gravity = bulk_behav_GetGravity() gravity (double array) : gravity vector

pylmgc90.chipy.lmgc90.bulk_behav_GetNbBulkBehav(*args)[source]

int bulk_behav_GetNbBulkBehav(void)

get the number of bulk laws

python usage : nb_bulk_behav = bulk_behav_GetNbBulkBehav()

pylmgc90.chipy.lmgc90.bulk_behav_ReadBehaviours(*args)[source]

void bulk_behav_ReadBehaviours(void)

read gravity and behaviors from DATBOX/BULK_BEHAV.DAT file

python usage : bulk_behav_ReadBehaviours()

pylmgc90.chipy.lmgc90.bulk_behav_RebuildInBulkBehav(*args)[source]

void bulk_behav_RebuildInBulkBehav(void)

write (replace) gravity and behaviors to DATBOX/BULK_BEHAV.DAT file

python usage : bulk_behav_RebuildInBulkBehav()

pylmgc90.chipy.lmgc90.bulk_behav_SetBiot(*args)[source]

void bulk_behav_SetBiot(char *cvalue1_c, int ivalue, double rvalue)

set the Biot parameter to be used

python usage : bulk_behav_SetBiot(cvalue ,ivalue, rvalue)

pylmgc90.chipy.lmgc90.bulk_behav_SetCapacity(*args)[source]

void bulk_behav_SetCapacity(char *cvalue1_c, int ivalue, double rvalue)

set the Capacity parameter to be used

python usage : bulk_behav_SetCapacity(cvalue ,ivalue, rvalue)

pylmgc90.chipy.lmgc90.bulk_behav_SetConductivity(*args)[source]

void bulk_behav_SetConductivity(char *cvalue1_c, int ivalue, double rvalue)

set the conductivity parameter to be used

python usage : bulk_behav_SetConductivity(cvalue ,ivalue, rvalue)

pylmgc90.chipy.lmgc90.bulk_behav_SetDensity(*args)[source]

void bulk_behav_SetDensity(char *cvalue1_c, double rvalue)

set the Density parameter to be used

python usage : bulk_behav_SetDensity(cvalue , rvalue)

pylmgc90.chipy.lmgc90.bulk_behav_SetExternalFlux(*args)[source]

void bulk_behav_SetExternalFlux(char *cvalue1_c, int ivalue, double rvalue)

set the External Flux parameter to be used

python usage : bulk_behav_SetExternalFlux(cvalue ,ivalue, rvalue)

pylmgc90.chipy.lmgc90.bulk_behav_SetGravity(*args)[source]

void bulk_behav_SetGravity(double *rvector_in, int rlength_in)

set the gravity acceleration to be used

python usage : bulk_behav_SetGravity(gravity)

pylmgc90.chipy.lmgc90.bulk_behav_WriteBehaviours(*args)[source]

void bulk_behav_WriteBehaviours(void)

write gravity and behaviors to OUTBOX/BULK_BEHAV.OUT file

python usage : bulk_behav_WriteBehaviours()

pylmgc90.chipy.lmgc90.cpg_3D_AfterIterCheck(*args)[source]

void cpg_3D_AfterIterCheck(void)

Control CPG convergence.

python usage cpg_3D_AfterIterCheck()

pylmgc90.chipy.lmgc90.cpg_3D_BimodalContactOrder(*args)[source]

void cpg_3D_BimodalContactOrder(void)

active bimodal list

python usage : cpg_3D_BimodalContactOrder()

pylmgc90.chipy.lmgc90.cpg_3D_ExIter(*args)[source]

void cpg_3D_ExIter(void)

Execute one CPG iteration over the contact loop.

python usage cpg_3D_ExIter()

pylmgc90.chipy.lmgc90.cpg_3D_ExPost(*args)[source]

void cpg_3D_ExPost(void)

Transfer local solution.

python usage cpg_3D_ExPost()

pylmgc90.chipy.lmgc90.cpg_3D_ExPrep(*args)[source]

void cpg_3D_ExPrep(void)

prepare the matrix and the RHS of the contact problem

python usage cpg_3D_ExPrep()

pylmgc90.chipy.lmgc90.cpg_3D_ExSolver(*args)[source]

void cpg_3D_ExSolver(char *checktype_c, double tol, int idproj, int nb_iter_check, int nb_block_iter)

Solve fully the local contact problem.

python usage : cpg_3D_ExSolver(checktype, tol, idpoj, nb_iter_check, nb_block_iter)

pylmgc90.chipy.lmgc90.cpg_3D_NormCheck(*args)[source]

void cpg_3D_NormCheck(void)

Active one step norm evolution.

python usage : cpg_3D_norm_check()

pylmgc90.chipy.lmgc90.cpg_3D_ScaleRloc(*args)[source]

void cpg_3D_ScaleRloc(void)

scale all local contact forces of a factor equal to 0.9 < f < 1.1

python usage cpg_3D_ScaleRloc()

pylmgc90.chipy.lmgc90.cpg_3D_SetCheckType(*args)[source]

void cpg_3D_SetCheckType(char *checktype_c, double tol, int idproj)

define numerical convergence of the NLGS algorithm

python usage cpg_3D_SetCheckType(checktype, tol, idproj)

pylmgc90.chipy.lmgc90.cpg_3D_SetDiagonalPrecond(*args)[source]

void cpg_3D_SetDiagonalPrecond(void)

active diagonal preconditioner

python usage cpg_3D_SetDiagonalPrecond()

pylmgc90.chipy.lmgc90.cpg_3D_SetFrictionless(*args)[source]

void cpg_3D_SetFrictionless(void)

active frictionless solver

python usage cpg_3D_SetFrictionless()

pylmgc90.chipy.lmgc90.cpg_AfterIterCheck(*args)[source]

void cpg_AfterIterCheck(void)

Control CPG convergence.

python usage cpg_AfterIterCheck()

pylmgc90.chipy.lmgc90.cpg_ExIter(*args)[source]

void cpg_ExIter(void)

Execute one CPG iteration over the contact loop.

python usage cpg_ExIter()

pylmgc90.chipy.lmgc90.cpg_ExPost(*args)[source]

void cpg_ExPost(void)

Transfer local solution.

python usage cpg_ExPost()

pylmgc90.chipy.lmgc90.cpg_ExPrep(*args)[source]

void cpg_ExPrep(void)

prepare the matrix and the RHS of the contact problem

python usage cpg_ExPrep()

pylmgc90.chipy.lmgc90.cpg_ExSolver(*args)[source]

void cpg_ExSolver(char *checktype_c, double tol, int nb_iter_check, int nb_block_iter)

Solve fully the local contact problem.

python usage : cpg_ExSolver(checktype, tol, nb_iter_check, nb_block_iter)

pylmgc90.chipy.lmgc90.cpg_NormCheck(*args)[source]

void cpg_NormCheck(void)

Active one step norm evolution.

python usage : cpg_norm_check()

pylmgc90.chipy.lmgc90.cpg_ScaleRloc(*args)[source]

void cpg_ScaleRloc(void)

scale all local contact forces of a factor equal to 0.9 < f < 1.1

python usage cpg_ScaleRloc()

pylmgc90.chipy.lmgc90.cpg_SetCheckType(*args)[source]

void cpg_SetCheckType(char *checktype_c, double tol)

define numerical convergence of the NLGS algorithm

python usage cpg_SetCheckType(checktype, tol)

pylmgc90.chipy.lmgc90.cpg_SetDiagonalPrecond(*args)[source]

void cpg_SetDiagonalPrecond(void)

active diagonal preconditioner

python usage cpg_SetDiagonalPrecond()

pylmgc90.chipy.lmgc90.cpg_SetFrictionless(*args)[source]

void cpg_SetFrictionless(void)

active frictionless solver

python usage cpg_SetFrictionless()

pylmgc90.chipy.lmgc90.cpg_SetNoConjugaison(*args)[source]

void cpg_SetNoConjugaison(void)

desactive conjugaison

python usage cpg_SetNoConjugaison()

pylmgc90.chipy.lmgc90.cut2D_Cut(*args)[source]

void cut2D_Cut(double *vector_inout, int length_inout, double *vector_inout2, int length_inout2, double *rvector_in, int rlength_in, int *ires)

Computes a new cut and return the number of remaining particles. A polyline is defined by a given set of points. In the case of a closed polyline, only the inner particles remain. An open polyline is supposed to link the the two vertical walls of the box. In this case, only particles under the polyline remain.

WARNING: 1) we assume nb_coor=2*nb_particles 2) radii and coor are modified by this function: numbering of particles is changed and the radii and coordinates of the removed particles are set to 0 python call: nb_inner_particles=cut2D_Cut(radii, coor, slope_coor)

pylmgc90.chipy.lmgc90.deposit2D_Gravity(*args)[source]

void deposit2D_Gravity(double *rvector_in, int rlength_in, double lx, double *rvector_out, int rlength_out)

Computes a new deposit under gravity.

WARNING: we assume nb_coor=2*nb_particles python call: coor=deposit2D_Gravity(given_radii, lx, nb_coor)

pylmgc90.chipy.lmgc90.deposit2D_GravityAndBigParticles(*args)[source]

void deposit2D_GravityAndBigParticles(double *rvector_in, int rlength_in, double lx, double *rvector_in2, int rlength_in2, double *rvector_in3, int rlength_in3, double *rvector_out, int rlength_out)

Computes a new deposit under gravity, involving big particles.

WARNING: 1) we assume nb_coor=2*nb_particles and nb_big_coor=2*nb_big_prticles 2) the coordinates of the big particles are not present in coor, since they are already known python call: coor=deposit2D_GravityAndBigParticles(given_radii, lx, given_big_radii, given_big_coor nb_coor)

pylmgc90.chipy.lmgc90.deposit2D_Heterogeneous(*args)[source]

void deposit2D_Heterogeneous(double *rvector_in, int rlength_in, double lx, double *rvector_in2, int rlength_in2, double *rvector_in3, int rlength_in3, double *rvector_out, int rlength_out)

Computes a new deposit around big particles.

WARNING: 1) we assume nb_coor=2*nb_particles and nb_big_coor=2*nb_big_prticles 2) the coordinates of the big particles are not present in coor, since they are already known python call: coor=deposit2D_Heterogeneous(given_radii, lx, given_big_radii, given_big_coor nb_coor)

pylmgc90.chipy.lmgc90.deposit2D_Wall(*args)[source]

void deposit2D_Wall(double *rvector_in, int rlength_in, double lx, double *rvector_out, int rlength_out)

Computes a new deposit beginning from the walls.

WARNING: we assume nb_coor=2*nb_particles python call: coor=deposit2D_Wall(given_radii, lx, nb_coor)

pylmgc90.chipy.lmgc90.deposit2D_WallAndBigParticles(*args)[source]

void deposit2D_WallAndBigParticles(double *rvector_in, int rlength_in, double lx, double *rvector_in2, int rlength_in2, double *rvector_in3, int rlength_in3, double *rvector_out, int rlength_out)

Computes a new deposit from the walls, involving big particles.

WARNING: 1) we assume nb_coor=2*nb_particles and nb_big_coor=2*nb_big_prticles 2) the coordinates of the big particles are not present in coor, since they are already known python call: coor=deposit2D_WallAndBigParticles(given_radii, lx, given_big_radii, given_big_coor nb_coor)

pylmgc90.chipy.lmgc90.deposit3D_Box(*args)[source]

void deposit3D_Box(double *vector_inout, int length_inout, double lx, double ly, double lz, int *ires, double *rvector_out, int rlength_out)

Computes a new deposit under gravity in a box.

WARNING: 1) we assume nb_coor=3*nb_particles 2) radii is modified by this function: the radii and coordinates of non deposited particles are set to 0 3) a point (x, y, z) is in the box iff x is in [-lx/2, lx/2], y is in [-ly/2, ly/2] and z is in [0, lz] python call: [computed_coor, nb_comp_particles]=deposit3D_Box(radii, lx, ly, lz, nb_coor)

pylmgc90.chipy.lmgc90.deposit3D_Cylinder(*args)[source]

void deposit3D_Cylinder(double *vector_inout, int length_inout, double R, double lz, int *ires, double *rvector_out, int rlength_out)

Computes a new deposit under gravity in a cylinder.

WARNING: 1) we assume nb_coor=3*nb_particles 2) radii is modified by this function: the radii and coordinates of non deposited particles are set to 0 3) a point (x, y, z) is in the cylinder iff x^2 + y^2 is in [0, R^2] and z is in [0, lz] python call: [computed_coor, nb_comp_particles]=deposit3D_Cylinder(radii, R, lz, nb_coor)

pylmgc90.chipy.lmgc90.deposit3D_HeterogeneousBox(*args)[source]

void deposit3D_HeterogeneousBox(double *rvector_in, int rlength_in, double lx, double ly, double lz, double *rvector_in2, int rlength_in2, double *rvector_in3, int rlength_in3, int *ires, double *rvector_out, int rlength_out)

Computes a new deposit under gravity in a box where particles are already deposited.

WARNING: 1) we assume nb_deposited_particles=3*nb_deposited_particles and nb_coor=3*nb_particles 2) radii is modified by this function: the radii and coordinates of non deposited particles are set to 0 3) a point (x, y, z) is in the box iff x is in [-lx/2, lx/2], y is in [-ly/2, ly/2] and z is in [0, lz] python call: [computed_coor, nb_comp_particles]=deposit3D_HeterogeneousBox(radii, lx, ly, lz, deposited_radii, deposited_coor, nb_coor)

pylmgc90.chipy.lmgc90.deposit3D_HeterogeneousCylinder(*args)[source]

void deposit3D_HeterogeneousCylinder(double *rvector_in, int rlength_in, double R, double lz, double *rvector_in2, int rlength_in2, double *rvector_in3, int rlength_in3, int *ires, double *rvector_out, int rlength_out)

Computes a new deposit under gravity in a cylinder where particles are already deposited.

WARNING: 1) we assume nb_deposited_particles=3*nb_deposited_particles and nb_coor=3*nb_particles 2) radii is modified by this function: the radii and coordinates of non deposited particles are set to 0 3) a point (x, y, z) is in the cylinder iff x^2 + y^2 is in [0, R^2] and z is in [0, lz] python call: [computed_coor, nb_comp_particles]=deposit3D_HeterogeneousCylinder(radii, R, lz, deposited_radii, deposited_coor, nb_coor)

pylmgc90.chipy.lmgc90.deposit3D_HeterogeneousSphere(*args)[source]

void deposit3D_HeterogeneousSphere(double *rvector_in, int rlength_in, double R, double IN_ARRAY1[3], double *rvector_in2, int rlength_in2, double *rvector_in3, int rlength_in3, int *ires, double *rvector_out, int rlength_out)

Computes a new deposit under gravity in a sphere where particles are already deposited.

WARNING: 1) we assume nb_deposited_particles=3*nb_deposited_particles and nb_coor=3*nb_particles 2) radii is modified by this function: the radii and coordinates of non deposited particles are set to 0 3) a point (x, y, z) is in the sphere iff (x - x_C)^2 + (y - y_C)^2 + (z - z_C)^2 is in [0, R^2] python call: [computed_coor, nb_comp_particles]=deposit3D_HeterogeneousSphere(radii, R, center, deposited_radii, deposited_coor, nb_coor)

pylmgc90.chipy.lmgc90.deposit3D_Sphere(*args)[source]

void deposit3D_Sphere(double *vector_inout, int length_inout, double R, double IN_ARRAY1[3], int *ires, double *rvector_out, int rlength_out)

Computes a new deposit under gravity in a sphere.

WARNING: 1) we assume nb_coor=3*nb_particles 2) radii is modified by this function: the radii and coordinates of non deposited particles are set to 0 3) a point (x, y, z) is in the sphere iff (x - x_C)^2 + (y - y_C)^2 + (z - z_C)^2 is in [0, R^2] python call: [computed_coor, nb_comp_particles]=deposit3D_Sphere(radii, R, center, nb_coor)

pylmgc90.chipy.lmgc90.display_3D_CleanMemory(*args)[source]

void display_3D_CleanMemory(void)

Free all memory allocated within vtk_display_3D module.

python usage : display_3D_CleanMemory()

pylmgc90.chipy.lmgc90.display_3D_Init(*args)[source]

void display_3D_Init(int ivalue)

Initialize writing of display files.

python usage : display_3D_Init(chitchat)

pylmgc90.chipy.lmgc90.display_3D_SetBinaryWrite(*args)[source]

void display_3D_SetBinaryWrite(void)

write binary display files

python usage : display_3D_SetBinaryWrite()

pylmgc90.chipy.lmgc90.display_3D_SetDisplayFileFormat(*args)[source]

void display_3D_SetDisplayFileFormat(char *format)

Set the format of output display file (VTK of GMV)

Default format file is VTK if this function is not called

python usage : display_3D_SetDisplayFileFormat(format)

pylmgc90.chipy.lmgc90.display_3D_SetDisplayedField(*args)[source]

void display_3D_SetDisplayedField(char *cvalue_c)

available keywords : ‘TACTOR’ to get contactor shapes ‘INTERACTION’ to get the interactions (vtk only) ‘NEW WAY’ to use special vtk writing features (vtk only)

python usage : display_3D_SetDisplayedField(field)

pylmgc90.chipy.lmgc90.display_3D_SetNbCopies(*args)[source]

void display_3D_SetNbCopies(int ivalue)

Set the number of copies of the sample.

Must provide more details about these copies

python usage : display_3D_SetNbCopies(nb_copies)

pylmgc90.chipy.lmgc90.display_3D_ShiftCopy(*args)[source]

void display_3D_ShiftCopy(int ivalue, double *rvector_in, int rlength_in)

Shift a given copy of the sample.

Must provide more details about these copies

python usage : display_3D_ShiftCopy(icopy, shift)

pylmgc90.chipy.lmgc90.display_3D_WriteOutDisplayFile(*args)[source]

void display_3D_WriteOutDisplayFile(int ivalue)

Write gmv file.

python usage : display_3D_WriteOutDisplayFile(ivalue)

pylmgc90.chipy.lmgc90.mecaMAILx_AddNodalFieldDivergence(*args)[source]

void mecaMAILx_AddNodalFieldDivergence(int ivalue1, int ivalue2)

Add the divergence of a diagonal field to external forces.

python usage : mecaMAILx_AddNodalFieldDivergence(ibdyty, ifield)

pylmgc90.chipy.lmgc90.mecaMAILx_ApplyDrvDofKT(*args)[source]

void mecaMAILx_ApplyDrvDofKT(int *ivector_in=NULL, int ilength_in=0)

apply drvdof pseudo mass matrix

python usage : mecaMAILx_ApplyDrvDofKT(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_AssembKT(*args)[source]

void mecaMAILx_AssembKT(int *ivector_in=NULL, int ilength_in=0)

assemble pseudo mass matrix and apply drvdof of a list of bodies

python usage : mecaMAILx_AssembKT(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_AssembRHS(*args)[source]

void mecaMAILx_AssembRHS(int *ivector_in=NULL, int ilength_in=0)

assembles right hand side of a list of bodies

python usage : mecaMAILx_AssembRHS(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_BandStorage(*args)[source]

void mecaMAILx_BandStorage(void)

use band matrix

python usage : mecaMAILx_BandStorage()

pylmgc90.chipy.lmgc90.mecaMAILx_BuildRigidBodies(*args)[source]

void mecaMAILx_BuildRigidBodies(void)

computes internal matrices for rigid description

python usage : mecaMAILx_BuildRigidBodies()

pylmgc90.chipy.lmgc90.mecaMAILx_CheckEquilibriumState(*args)[source]

int mecaMAILx_CheckEquilibriumState(void)

Check if the bodies riches an equilibrium state (velocities almost equal to 0)

python usage : iconv = mecaMAILx_CheckEquilibriumState()

iconv (boolean) : True if in equilibrium state

pylmgc90.chipy.lmgc90.mecaMAILx_CleanMemory(*args)[source]

void mecaMAILx_CleanMemory(void)

Free all memory allocated within mecaMAILx module.

python usage : mecaMAILx_CleanMemory()

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeBulk(*args)[source]

void mecaMAILx_ComputeBulk(int *ivector_in=NULL, int ilength_in=0)

computes elementary stiffness and viscosity matrices of a list of bodies

python usage : mecaMAILx_ComputeBulk(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeContactDetectionConfiguration(*args)[source]

void mecaMAILx_ComputeContactDetectionConfiguration(int *ivector_in=NULL, int ilength_in=0)

compute the contact detection configuration of a list of bodies

python usage : mecaMAILx_ComputeContactDetectionConfiguration(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeDof(*args)[source]

void mecaMAILx_ComputeDof(int *ivector_in=NULL, int ilength_in=0)

computes the current d.o.f knowing all the forces (free + contact) of a list of bodies

python usage : mecaMAILx_ComputeDof(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeFext(*args)[source]

void mecaMAILx_ComputeFext(int *ivector_in=NULL, int ilength_in=0)

compute elementary external forces of a list of bodies

python usage : mecaMAILx_ComputeFext(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeField(*args)[source]

void mecaMAILx_ComputeField(int *ivector_in=NULL, int ilength_in=0)

computes elementary fields of a list of bodies

python usage : mecaMAILx_ComputeField(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeFreeVelocity(*args)[source]

void mecaMAILx_ComputeFreeVelocity(int *ivector_in=NULL, int ilength_in=0)

computes free velocity of a list of bodies

python usage : mecaMAILx_ComputeFreeVelocity(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeInfoPrincipalStressField(*args)[source]

void mecaMAILx_ComputeInfoPrincipalStressField(int ivalue1, double **r8_vector, int *r8_size)

Get info on the principal stress field: min,mean,max.

Python usage : info = mecaMAILx_ComputeInfoPrincipalStressField(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeMass(*args)[source]

void mecaMAILx_ComputeMass(int *ivector_in=NULL, int ilength_in=0)

compute elementary mass and inertia of a list of bodies

python usage : mecaMAILx_ComputeMass(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeOrthoFrame(*args)[source]

void mecaMAILx_ComputeOrthoFrame(int *ivector_in=NULL, int ilength_in=0)

Use user routine to compute the ortho frame of a list of bodies.

this method uses a routine define by the user in user.f90 python usage : mecaMAILx_ComputeOrthoFrame(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputePreconW(*args)[source]

void mecaMAILx_ComputePreconW(void)

compute the precon W on precon bodies

python usage : mecaMAILx_ComputePreconW()

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeRayleighDamping(*args)[source]

void mecaMAILx_ComputeRayleighDamping(double alpha, double beta, int *ivector_in=NULL, int ilength_in=0)

compute the Rayleigh damping: C=alpha*M+beta*K of a list of bodies

python usage : mecaMAILx_ComputeRayleighDamping(alpha,beta,i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeRayleighDampingDiscreteElement(*args)[source]

void mecaMAILx_ComputeRayleighDampingDiscreteElement(double damp, int *ivector_in=NULL, int ilength_in=0)

set damping for discrete FE element of a list of bodies

python usage : mecaMAILx_ComputeRayleighDampingDiscreteElement(damp, i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeResidueNorm(*args)[source]

double mecaMAILx_ComputeResidueNorm(int *ivector_in=NULL, int ilength_in=0)

computes the norm of the residue of a list of bodies

python usage : norm = mecaMAILx_ComputeResidueNorm(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ComputeUserField(*args)[source]

void mecaMAILx_ComputeUserField(int ifield, int *ivector_in=NULL, int ilength_in=0)

Use user routine to compute a field at gp.

python usage : mecaMAILx_ComputeUserField(ifield, i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_DiagonalStorage(*args)[source]

void mecaMAILx_DiagonalStorage(void)

use diagonal matrix

python usage : mecaMAILx_DiagonalStorage()

pylmgc90.chipy.lmgc90.mecaMAILx_DisplayBulkElement(*args)[source]

void mecaMAILx_DisplayBulkElement(int IdBody, int IdElem)

Display fields of a bulk element.

pylmgc90.chipy.lmgc90.mecaMAILx_DisplayOutDof(*args)[source]

void mecaMAILx_DisplayOutDof(void)

Display body degrees of freedom.

python usage : mecaMAILx_DisplayOutDof()

pylmgc90.chipy.lmgc90.mecaMAILx_DisplayOutNodalForces(*args)[source]

void mecaMAILx_DisplayOutNodalForces(int *ivector_in=NULL, int ilength_in=0)

Display computed nodal forces of a list of bodies.

python usage : mecaMAILx_DisplayOutNodalForces(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_DisplayOutRnod(*args)[source]

void mecaMAILx_DisplayOutRnod(int *ivector_in=NULL, int ilength_in=0)

Display body forces of a list of bodies.

python usage : mecaMAILx_DisplayOutRnod(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_ExplodedStorage(*args)[source]

void mecaMAILx_ExplodedStorage(void)

use element by element matrix

python usage : mecaMAILx_ExplodedStorage()

pylmgc90.chipy.lmgc90.mecaMAILx_FatalDamping(*args)[source]

void mecaMAILx_FatalDamping(int *ivector_in=NULL, int ilength_in=0)

set to 0 current velocities of a list of bodies

This keyword must be between the ComputeDof and UpdateDof ones.

python usage : mecaMAILx_FatalDamping(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_FullStorage(*args)[source]

void mecaMAILx_FullStorage(void)

use full matrix

python usage : mecaMAILx_FullStorage()

pylmgc90.chipy.lmgc90.mecaMAILx_GetAll(*args)[source]

void mecaMAILx_GetAll(int idBody, double **matrix_out, int *dim1, int *dim2)

return mechanical data computed for idBody

python usage : array = mecaMAILx_GetAll(idBody)

pylmgc90.chipy.lmgc90.mecaMAILx_GetBodyMatrix(*args)[source]

void mecaMAILx_GetBodyMatrix(char *cvalue1_c, int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of a matrix of a given body.

Python usage : matrix = mecaMAILx_GetBodyMatrix(datatype, ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetBodyRVector(*args)[source]

void mecaMAILx_GetBodyRVector(char *cvalue1, int ivalue1, double **r8_vector, int *r8_size)

Get a copy of a vector of a mecaMAILx body.

python usage : vector = mecaMAILx_GetBodyRVector(datatype, ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetBodyVector(*args)[source]

void mecaMAILx_GetBodyVector(char *cvalue1_c, int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of a vector of a given body.

Python usage : vector = mecaMAILx_GetBodyVector(datatype, ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetBoundaryElements(*args)[source]

void mecaMAILx_GetBoundaryElements(int idBody, int **i4_vector, int *i4_size)

return boundary elements

python usage : vector = mecaMAILx_GetBoundaryElements(idBody)

pylmgc90.chipy.lmgc90.mecaMAILx_GetConnectivity(*args)[source]

void mecaMAILx_GetConnectivity(int idBody, int **i4_vector, int *i4_size)

return connectivity of idBody elements

python usage : vector = mecaMAILx_GetConnectivity(idBody)

pylmgc90.chipy.lmgc90.mecaMAILx_GetCoor(*args)[source]

void mecaMAILx_GetCoor(int idBody, double **matrix_out, int *dim1, int *dim2)

return node coordinates of idBody

python usage : array = mecaMAILx_GetCoor(idBody)

pylmgc90.chipy.lmgc90.mecaMAILx_GetDeformationEnergy(*args)[source]

double mecaMAILx_GetDeformationEnergy(int ivalue1, double *rvector_in, int rlength_in)

Get the deformation energy of a given displacement field.

python usage : energy = mecaMAILx_GetDeformationEnergy(id,displacement)

pylmgc90.chipy.lmgc90.mecaMAILx_GetElementsEnergy(*args)[source]

void mecaMAILx_GetElementsEnergy(int idBody, double **r8_vector, int *r8_size)

return energy of elements

python usage : energies = mecaMAILx_GetElementsEnergy(idBody)

pylmgc90.chipy.lmgc90.mecaMAILx_GetElementsJacobian(*args)[source]

void mecaMAILx_GetElementsJacobian(int idBody, double **r8_vector, int *r8_size)

return jacobian of elements

python usage : jacobians = mecaMAILx_GetElementsJacobian(idBody)

pylmgc90.chipy.lmgc90.mecaMAILx_GetElementsNeighbor(*args)[source]

void mecaMAILx_GetElementsNeighbor(int idBody, double tol, int max_neighbors, int **matrix_out, int *dim1, int *dim2)

return elements in the tol-neighbor of an element of idBody

python usage : neighbors = mecaMAILx_GetElementsNeighbor(idBody,tol,max_neighbors)

pylmgc90.chipy.lmgc90.mecaMAILx_GetElementsVolume(*args)[source]

void mecaMAILx_GetElementsVolume(int idBody, double **r8_vector, int *r8_size)

return volume of elements

python usage : volumes = mecaMAILx_GetElementsVolume(idBody)

pylmgc90.chipy.lmgc90.mecaMAILx_GetInternalVariable(*args)[source]

void mecaMAILx_GetInternalVariable(int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of the internal variable of a given body.

Python usage : Internal = mecaMAILx_GetInternalVariable(ibdyty, nb_internal)

pylmgc90.chipy.lmgc90.mecaMAILx_GetKineticEnergy(*args)[source]

double mecaMAILx_GetKineticEnergy(int ivalue1, double *rvector_in, int rlength_in)

Get the kinetic energy of a given velocity field.

python usage : energy = mecaMAILx_GetKineticEnergy(id,velocity)

pylmgc90.chipy.lmgc90.mecaMAILx_GetNbElements(*args)[source]

int mecaMAILx_GetNbElements(int ivalue)

Get the number of elements of a mecaMAILx.

python usage : nb_elements = mecaMAILx_GetNbElements(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetNbInternal(*args)[source]

int mecaMAILx_GetNbInternal(int ivalue)

Get the number of internal variable of a mecaMAILx.

python usage : nb_nodes = mecaMAILx_GetNbInternal(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetNbMecaMAILx(*args)[source]

int mecaMAILx_GetNbMecaMAILx(void)

Get the number of mecaMAILx.

python usage : nb_mecaMAILx = mecaMAILx_GetNbMecaMAILx()

nb_mecaMAILx (integer) : number of mecaMAILx

pylmgc90.chipy.lmgc90.mecaMAILx_GetNbNodes(*args)[source]

int mecaMAILx_GetNbNodes(int ivalue)

Get the number of nodes of a mecaMAILx.

python usage : nb_nodes = mecaMAILx_GetNbNodes(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetNeighborElementsToElement(*args)[source]

void mecaMAILx_GetNeighborElementsToElement(int idBody, int idELe, int **i4_vector, int *i4_size)

return neighbor elements to element idEle of body idBody

python usage : vector = mecaMAILx_GetNeighborElementsToElement(idBody,idEle)

pylmgc90.chipy.lmgc90.mecaMAILx_GetNeighborElementsToNode(*args)[source]

void mecaMAILx_GetNeighborElementsToNode(int idBody, int idNode, int **i4_vector, int *i4_size)

return neighbor elements to node idNode of body idBody

python usage : vector = mecaMAILx_GetNeighborElementsToNode(idBody,idNode)

pylmgc90.chipy.lmgc90.mecaMAILx_GetNodeCoorTT(*args)[source]

int mecaMAILx_GetNodeCoorTT(int ibdyty, int inodty, double **r8_vector, int *r8_size)

return TT node coordinates

python usage : vec = mecaMAILx_GetNodeCoorTT(ibdyty,inodty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetNodeCooref(*args)[source]

int mecaMAILx_GetNodeCooref(int ibdyty, int inodty, double **r8_vector, int *r8_size)

return ref node coordinates

python usage : vec = mecaMAILx_GetNodeCoorref(ibdyty,inodty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetNodesPrecon(*args)[source]

void mecaMAILx_GetNodesPrecon(int ivalue1, int **i4_vector, int *i4_size)

Get the list of preconditionned nodes of a mecaMAILx body.

Here memory is allocated within lmgc90 so that the pointer can be freely modified by third parties without nasty effect on lmgc90 functioning.

python usage : precon_list = mecaMAILx_GetNodesPrecon(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetPtrBodyVector(*args)[source]

void mecaMAILx_GetPtrBodyVector(char *cvalue1_c, int IdBody, double **pointer_out, int *length)

return pointer on body vector cvalue1_c of body IdBody

python usage : ptr = mecaMAILx_GetPtrBodyVector( cvalue1_c, IdBody )

pylmgc90.chipy.lmgc90.mecaMAILx_GetPtrElementsVisibility(*args)[source]

void mecaMAILx_GetPtrElementsVisibility(int idBody, int **pointer_out, int *length)

Get a pointer on the elements visibility vector.

python usage : eviz = mecaMAILx_GetPtrElementsVisibility(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetPtrPreconW(*args)[source]

void mecaMAILx_GetPtrPreconW(int idBody, double **pointer_out, int *dim1, int *dim2)

pylmgc90.chipy.lmgc90.mecaMAILx_GetRigidCoorTT(*args)[source]

int mecaMAILx_GetRigidCoorTT(int ibdyty, double **r8_vector, int *r8_size)

return TT center of inertia coordinates

python usage : vec = mecaMAILx_GetRigidCoorTT(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetRigidCooref(*args)[source]

int mecaMAILx_GetRigidCooref(int ibdyty, double **r8_vector, int *r8_size)

return ref center of inertia coordinates

python usage : vec = mecaMAILx_GetRigidCooref(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetRigidFrameTT(*args)[source]

int mecaMAILx_GetRigidFrameTT(int ibdyty, double **matrix_out, int *dim1, int *dim2)

return a inertia frame vector

python usage : vec = mecaMAILx_GetRigidFrameTT(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetScalarFieldRank(*args)[source]

int mecaMAILx_GetScalarFieldRank(int ibdyty, int blmty, char *name)

Get the rank of scalar field of an element of a body from its name.

python usage : f_rank = mecaMAILx_GetScalarFieldRank(ibdyty, iblmty, name)

pylmgc90.chipy.lmgc90.mecaMAILx_GetStrain(*args)[source]

void mecaMAILx_GetStrain(int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of the strain of a given body.

Python usage : strain = mecaMAILx_GetStrain2D(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetStress(*args)[source]

void mecaMAILx_GetStress(int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of the stress of a given body.

Python usage : stress = mecaMAILx_GetStress(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_GetVectorFieldRank(*args)[source]

int mecaMAILx_GetVectorFieldRank(int ibdyty, int blmty, char *name)

Get the rank of field of an element of a body from its name.

python usage : f_rank = mecaMAILx_GetVectorFieldRank(ibdyty, iblmty, name)

pylmgc90.chipy.lmgc90.mecaMAILx_GpvVTKDrawAll(*args)[source]

void mecaMAILx_GpvVTKDrawAll(double ref_size, int with_principalstress)

create a VTK file showing gpv values

python usage : mecaMAILx_GpvVTKDrawAll(ref_size,with_principalstress)

pylmgc90.chipy.lmgc90.mecaMAILx_IncrementStep(*args)[source]

void mecaMAILx_IncrementStep(void)

initializes the current d.o.f and some driven d.o.f values

python usage : mecaMAILx_IncrementStep()

pylmgc90.chipy.lmgc90.mecaMAILx_InitPreconW(*args)[source]

void mecaMAILx_InitPreconW(void)

initialize an empty precon W

python usage : mecaMAILx_InitPreconW()

pylmgc90.chipy.lmgc90.mecaMAILx_IsRigid(*args)[source]

int mecaMAILx_IsRigid(int idbdy)

return 1 if a given body is rigid, 0 otherwize

python usage : rigid = mecaMAILx_IsRigid(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_IsVisible(*args)[source]

int mecaMAILx_IsVisible(int idbdy)

return if a given body visible

python usage : visible = mecaMAILx_IsVisible(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_LoadBehaviours(*args)[source]

void mecaMAILx_LoadBehaviours(void)

load behaviours from bulk_behav

python usage : mecaMAILx_LoadBehaviours()

pylmgc90.chipy.lmgc90.mecaMAILx_LoadModels(*args)[source]

void mecaMAILx_LoadModels(void)

load models from models

python usage : mecaMAILx_LoadModels()

pylmgc90.chipy.lmgc90.mecaMAILx_LoadWPreconBody(*args)[source]

void mecaMAILx_LoadWPreconBody(int ivalue)

load the precomputed W matrix on support node dofs of contactors for one body. Assumes bulk behaviour is linear.

python usage : mecaMAILx_LoadWPreconBody(ivalue)

pylmgc90.chipy.lmgc90.mecaMAILx_NullifyReac(*args)[source]

void mecaMAILx_NullifyReac(char *cvalue1_c, int IdBody)

set to 0 the reac of the IdBody mecaMAILx

python usage : mecaMAILx_NullifyReac(datatype, IdBody)

pylmgc90.chipy.lmgc90.mecaMAILx_OnlyAssembKT(*args)[source]

void mecaMAILx_OnlyAssembKT(int *ivector_in=NULL, int ilength_in=0)

assemble pseudo mass matrix of a list of bodies

python usage : mecaMAILx_OnlyAssembKT(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_PushProperties(*args)[source]

void mecaMAILx_PushProperties(void)

gives to model the couple of model,behavior used at gauss point

python usage : mecaMAILx_PushProperties()

pylmgc90.chipy.lmgc90.mecaMAILx_PutBodyRVector(*args)[source]

void mecaMAILx_PutBodyRVector(char *cvalue1, int ivalue1, double *rvector_in, int rlength_in)

Set a vector of a coro or rigid mecaMAILx body.

python usage : mecaMAILx_PutBodyRVector(datatype, ibdyty, vector)

pylmgc90.chipy.lmgc90.mecaMAILx_PutBodyVector(*args)[source]

void mecaMAILx_PutBodyVector(char *cvalue1_c, int ivalue1, double *rvector_in, int rlength_in)

Set a vector of a given body.

python usage : mecaMAILx_PutBodyVector(datatype, ibdyty, vector)

pylmgc90.chipy.lmgc90.mecaMAILx_PutPreconW(*args)[source]

void mecaMAILx_PutPreconW(int ivalue1, int ivalue2, int ivalue3, double *rvector_in, int rlength_in)

push a column of precon W

python usage : mecaMAILx_PutPreconW(ivalue1, ivalue2, ivalue3, vect)

pylmgc90.chipy.lmgc90.mecaMAILx_ReadDrivenDof(*args)[source]

void mecaMAILx_ReadDrivenDof(void)

Read DRV_DOF.DAT.

python usage : mecaMAILx_ReadDrivenDof()

pylmgc90.chipy.lmgc90.mecaMAILx_ReadIniDof(*args)[source]

void mecaMAILx_ReadIniDof(void)

Read DOF.INI.

python usage : mecaMAILx_ReadIniDof()

pylmgc90.chipy.lmgc90.mecaMAILx_ReadIniGPV(*args)[source]

void mecaMAILx_ReadIniGPV(void)

python usage : mecaMAILx_ReadIniGPV()

pylmgc90.chipy.lmgc90.mecaMAILx_RigidVTKDrawAll(*args)[source]

void mecaMAILx_RigidVTKDrawAll(void)

create vtk files concerning rigid object embeded in a mecaMAILx (if exists)

python usage : mecaMAILx_RigidVTKDrawAll()

pylmgc90.chipy.lmgc90.mecaMAILx_SetCoroAllBodies(*args)[source]

void mecaMAILx_SetCoroAllBodies(void)

ask for corotationnal computation of the W matrix. Assumes bulk behaviour is linear.

python usage : mecaMAILx_SetCoroAllBodies()

pylmgc90.chipy.lmgc90.mecaMAILx_SetCoroBody(*args)[source]

void mecaMAILx_SetCoroBody(int ivalue)

ask for corotationnal computation of the W matrix of a given body. Assumes bulk behaviour is linear.

python usage : mecaMAILx_SetCoroBody(ivalue)

pylmgc90.chipy.lmgc90.mecaMAILx_SetEquilibriumNorm(*args)[source]

void mecaMAILx_SetEquilibriumNorm(char *checktype_c, double tol)

set the norm for CheckEquilibriumState

python usage : mecaMAILx_SetEquilibriumNorm(checktype, tol)

pylmgc90.chipy.lmgc90.mecaMAILx_SetInvisible(*args)[source]

void void mecaMAILx_SetInvisible(int ibdyty)

rended a given mecaMAILx invisible

python usage : mecaMAILx_SetInVisible(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_SetPreconAllBodies(*args)[source]

void mecaMAILx_SetPreconAllBodies(void)

ask for precomputation of the W matrix on support node dofs of contactors for all bodies. Assumes bulk behaviour is linear.

python usage : mecaMAILx_SetPreconAllBodies()

pylmgc90.chipy.lmgc90.mecaMAILx_SetPreconBody(*args)[source]

void mecaMAILx_SetPreconBody(int ivalue)

ask for precomputation of the W matrix on support node dofs of contactors for one body. Assumes bulk behaviour is linear.

python usage : mecaMAILx_SetPreconBody(ivalue)

pylmgc90.chipy.lmgc90.mecaMAILx_SetRVDrivenDofValue(*args)[source]

void mecaMAILx_SetRVDrivenDofValue(int IdBody, int IdDof, double rv)

set the value of rigid velocity dof value

python usage : mecaMAILx_SetRVDrivenDofValue(idbody,iddof,rv)

pylmgc90.chipy.lmgc90.mecaMAILx_SetRVDrivenDofs(*args)[source]

void mecaMAILx_SetRVDrivenDofs(int IdBody, int *ivector_in, int ilength_in)

declares rigid velocity dof as driven

python usage : mecaMAILx_SetRVDrivenDofs(idbody,vector_in,length)

pylmgc90.chipy.lmgc90.mecaMAILx_SetRigidAllBodies(*args)[source]

void mecaMAILx_SetRigidAllBodies(void)

ask for rigid computation of the W matrix. Assumes bulk behaviour is linear.

python usage : mecaMAILx_SetRigidAllBodies()

pylmgc90.chipy.lmgc90.mecaMAILx_SetRigidBody(*args)[source]

void mecaMAILx_SetRigidBody(int ivalue)

ask for rigid computation of the W matrix of a given body. Assumes bulk behaviour is linear.

python usage : mecaMAILx_SetRigidBody(ivalue)

pylmgc90.chipy.lmgc90.mecaMAILx_SetScalarFieldByElem(*args)[source]

void mecaMAILx_SetScalarFieldByElem(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update elementary scalar field through a element external field on a given body.

Field values are stored at Gauss point, on an element all Gauss point have the element value

python usage : mecaMAILx_SetScalarFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.mecaMAILx_SetScalarFieldByNode(*args)[source]

void mecaMAILx_SetScalarFieldByNode(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update elementary scalar field through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : mecaMAILx_SetScalarFieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.mecaMAILx_SetTolCoro(*args)[source]

void mecaMAILx_SetTolCoro(double tol)

set the admssible tolerance on rigid body velocity computed by deformable model

python usage : mecaMAILx_SetTolCoro(tol)

pylmgc90.chipy.lmgc90.mecaMAILx_SetVectorFieldByElem(*args)[source]

void mecaMAILx_SetVectorFieldByElem(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : mecaMAILx_SetFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.mecaMAILx_SetVectorFieldByNode(*args)[source]

void mecaMAILx_SetVectorFieldByNode(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : mecaMAILx_SetFieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.mecaMAILx_SetVisible(*args)[source]

void void mecaMAILx_SetVisible(int ibdyty)

set visible a given mecaMAILx

python usage : mecaMAILx_SetVisible(ibdyty)

pylmgc90.chipy.lmgc90.mecaMAILx_SetVlocyDrivenDof(*args)[source]

void mecaMAILx_SetVlocyDrivenDof(int IdBody, int f_dof, int f_noce, double f_value)

Apply Drv Dof on a given body.

python usage : mecaMAILx_SetVlocyDrivenDof(IdBody, f_dof, f_node, f_value)

pylmgc90.chipy.lmgc90.mecaMAILx_SkipDeformableComputationAllBodies(*args)[source]

void mecaMAILx_SkipDeformableComputationAllBodies(void)

avoid deformable part computation of a deformable body declared as rigid

python usage : mecaMAILx_SkipDeformableComputationAllBodies()

pylmgc90.chipy.lmgc90.mecaMAILx_SkipDeformableComputationBody(*args)[source]

void mecaMAILx_SkipDeformableComputationBody(int ivalue)

avoid deformable part computation of a given deformable body declared as rigid

python usage : mecaMAILx_SkipDeformableComputationBody(ivalue)

pylmgc90.chipy.lmgc90.mecaMAILx_SkylineStorage(*args)[source]

void mecaMAILx_SkylineStorage(void)

use skyline matrix

python usage : mecaMAILx_SkylineStorage()

pylmgc90.chipy.lmgc90.mecaMAILx_SparseStorage(*args)[source]

void mecaMAILx_SparseStorage(void)

use sparse matrix

python usage : mecaMAILx_SparseStorage()

pylmgc90.chipy.lmgc90.mecaMAILx_SymmetricShape(*args)[source]

void mecaMAILx_SymmetricShape(void)

assume matrix is symmetrical

python usage : mecaMAILx_SymmetricShape()

pylmgc90.chipy.lmgc90.mecaMAILx_Terminate(*args)[source]

void mecaMAILx_Terminate(void)

Stop job properly.

python usage : mecaMAILx_Terminate()

pylmgc90.chipy.lmgc90.mecaMAILx_UnspecifiedShape(*args)[source]

void mecaMAILx_UnspecifiedShape(void)

does not assume any thing on matrix shape

python usage : mecaMAILx_UnspecifiedShape()

pylmgc90.chipy.lmgc90.mecaMAILx_UpdateBulk(*args)[source]

void mecaMAILx_UpdateBulk(int *ivector_in=NULL, int ilength_in=0)

update begin elementary fields with current elementary fields of a list of bodies

python usage : mecaMAILx_UpdateBulk(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_UpdateDof(*args)[source]

void mecaMAILx_UpdateDof(int *ivector_in=NULL, int ilength_in=0)

update begin d.o.f. with current d.o.f. of a list of bodies

python usage : mecaMAILx_UpdateDof(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_UseNewPPSet(*args)[source]

void mecaMAILx_UseNewPPSet(void)

each gauss point will have its own property set (necessary in multi physics)

python usage : mecaMAILx_UseNewPPSet()

pylmgc90.chipy.lmgc90.mecaMAILx_WithoutRenumbering(*args)[source]

void mecaMAILx_WithoutRenumbering(void)

skip renumbering of the unknowns using a rcc method

python usage : mecaMAILx_WithoutRenumbering()

pylmgc90.chipy.lmgc90.mecaMAILx_WriteDrivenDof(*args)[source]

void mecaMAILx_WriteDrivenDof(void)

Write DRV_DOF.OUT.

python usage : mecaMAILx_WriteDrivenDof()

pylmgc90.chipy.lmgc90.mecaMAILx_WriteLastDof(*args)[source]

void mecaMAILx_WriteLastDof(void)

Write ascii DOF.LAST file.

python usage : mecaMAILx_WriteLastDof()

pylmgc90.chipy.lmgc90.mecaMAILx_WriteLastNodalForces(*args)[source]

void mecaMAILx_WriteLastNodalForces(int *ivector_in=NULL, int ilength_in=0)

Write ascii Rnod.LAST file of a list of bodies.

This function is almost like WriteLastRnod, but write also internal and inertial forces.

python usage : mecaMAILx_WriteLastNodalForces(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_WriteLastRnod(*args)[source]

void mecaMAILx_WriteLastRnod(int *ivector_in=NULL, int ilength_in=0)

Write ascii Rnod.LAST file of a list of bodies.

python usage : mecaMAILx_WriteLastRnod(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_WriteOutDof(*args)[source]

void mecaMAILx_WriteOutDof(void)

Write ascii DOF.OUT file. Can be activate only each N step.

python usage : mecaMAILx_WriteOutDof()

pylmgc90.chipy.lmgc90.mecaMAILx_WriteOutNodalForces(*args)[source]

void mecaMAILx_WriteOutNodalForces(int *ivector_in=NULL, int ilength_in=0)

Write ascii Rnod.OUT file of a list of bodies. Can be activat only each N step.

This function is almost like WriteOutRnod, but write also internal and inertial forces.

python usage : mecaMAILx_WriteOutNodalForces(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_WriteOutRnod(*args)[source]

void mecaMAILx_WriteOutRnod(int *ivector_in=NULL, int ilength_in=0)

Write ascii Rnod.OUT file of a list of bodies. Can be activat only each N step.

python usage : mecaMAILx_WriteOutRnod(i_list)

pylmgc90.chipy.lmgc90.mecaMAILx_computeDrvVlocy(*args)[source]

void mecaMAILx_computeDrvVlocy(int ibdyty, double *rvector_in, int rlength_in)

Compute the value of the driven velocity of a body a current time.

In place replacement in the input array of the new value(s) of the driven velocity

python usage : mecaMAILx_computeDrvVlocy(ibdyty, values)

pylmgc90.chipy.lmgc90.mecaMAILx_getDrvVlocy(*args)[source]

void mecaMAILx_getDrvVlocy(int ibdyty, int **i4_vector, int *i4_size, double **r8_vector, int *r8_size)

Get the driven dof of a body.

python usage : [drvdof_indices, drvdof_values] = mecaMAILx_getDrvVlocy(ibdyty)

pylmgc90.chipy.lmgc90.mesh2D_GetIndicesMeshQ4(*args)[source]

void mesh2D_GetIndicesMeshQ4(int n, int *ires, int *ires2)

this function gives the couple (i, j) of indices coresponding to a given node n

WARNING: python call: [i, j]=mesh2D_GetIndicesMeshQ4(n)

pylmgc90.chipy.lmgc90.mesh2D_Mesh2T3(*args)[source]

void mesh2D_Mesh2T3(double x0, double y0, double lx, double ly, int nb_elem_x, int nb_elem_y, double *rvector_out, int rlength_out, int *ivector_out, int ilength_out, int *ivector_out2, int ilength_out2)

this function computes an returns a mesh made of T3 obtained by splitting a Q4 in two T3 in the following generic format:

coor: vector of coordinates of the nodes [x1, y1, x2, y2, ...]

nb_node_per_ele: nb_node_per_ele(i) contains the number of nodes for element i, i in [1, number of elements]

conn: vector storing the connectivity of the elements [n11, n12n n13, n21, n22, n23, n24, ...] consider the following little mesh: 2 4 - | 1 /| | / | | / | |/ 2 | - 1 3 the vectors for this mesh read:

coor = [x1, y1, x2, y2, x3, y3, x4, y4]

nb_node_per_ele = [3, 3]

conn = [1, 3, 4, 2, 1, 4]

coor: vector of coordinates of the nodes [x1, y1, x2, y2, ...]

nb_node_per_ele: nb_node_per_ele(i) contains the number of nodes for element i, i in [1, number of elements]

conn: vector storing the connectivity of the elements [n11, n12n n13, n21, n22, n23, n24, ...] WARNING: python call: [coor, nb_node_per_ele, conn]=mesh2D_Mesh2T3(x0, y0, lx, ly, nb_elem_x, nb_elem_y, size_coor, size_nb_node_per_ele, size_conn)

pylmgc90.chipy.lmgc90.mesh2D_Mesh4T3(*args)[source]

void mesh2D_Mesh4T3(double x0, double y0, double lx, double ly, int nb_elem_x, int nb_elem_y, double *rvector_out, int rlength_out, int *ivector_out, int ilength_out, int *ivector_out2, int ilength_out2)

this function computes and return a mesh made of T3 obtained by splitting a Q4 in four T3 in the following generic format:

coor: vector of coordinates of the nodes [x1, y1, x2, y2, ...]

nb_node_per_ele: nb_node_per_ele(i) contains the number of nodes for element i, i in [1, number of elements]

conn: vector storing the connectivity of the elements [n11, n12n n13, n21, n22, n23, n24, ...] consider the following little mesh: 2 4 |\ 4 /| | / | |1 5 3| | / | |/ 2 | 1 3 the vectors for this mesh read:

coor = [x1, y1, x2, y2, x3, y3, x4, y4, x5, y5]

nb_node_per_ele = [3, 3, 3, 3]

conn = [1, 5, 2, 1, 3, 5, 3, 4, 5, 2, 5, 4] WARNING: python call: [coor, nb_node_per_ele, conn]=mesh2D_Mesh4T3(x0, y0, lx, ly, nb_elem_x, nb_elem_y, size_coor, size_nb_node_per_ele, size_conn)

pylmgc90.chipy.lmgc90.mesh2D_MeshQ4(*args)[source]

void mesh2D_MeshQ4(double x0, double y0, double lx, double ly, int nb_elem_x, int nb_elem_y, double *rvector_out, int rlength_out, int *ivector_out, int ilength_out, int *ivector_out2, int ilength_out2)

this function computes and returns a mesh made of Q4 in the following generic format:

coor: vector of coordinates of the nodes [x1, y1, x2, y2, ...]

nb_node_per_ele: nb_node_per_ele(i) contains the number of nodes for element i, i in [1, number of elements]

conn: vector storing the connectivity of the elements [n11, n12n n13, n21, n22, n23, n24, ...] consider the following little mesh: 2 4 6 * | 1 | 2 | * 1 3 5 the vectors for this mesh read:

coor = [x1, y1, x2, y2, x3, y3, x4, y4, x5, y5, x6, y6]

nb_node_per_ele = [4, 4]

conn = [1, 3, 4, 2, 3, 5, 6, 4] WARNING: python call: [coor, nb_node_per_ele, conn]=mesh2D_MeshQ4(x0, y0, lx, ly, nb_elem_x, nb_elem_y, size_coor, size_nb_node_per_ele, size_conn)

pylmgc90.chipy.lmgc90.mesh2D_MeshQ8(*args)[source]

void mesh2D_MeshQ8(double x0, double y0, double lx, double ly, int nb_elem_x, int nb_elem_y, double *rvector_out, int rlength_out, int *ivector_out, int ilength_out, int *ivector_out2, int ilength_out2)

this function computes and returns a mesh made of Q8 in the following generic format:

coor: vector of coordinates of the nodes [x1, y1, x2, y2, ...]

nb_node_per_ele: nb_node_per_ele(i) contains the number of nodes for element i, i in [1, number of elements]

conn: vector storing the connectivity of the elements [n11, n12n n13, n21, n22, n23, n24, ...] consider the following little mesh: 3 7 3 * | | | | 8 * 1 * 6 | | | | * 1 5 2 the vectors for this mesh read:

coor = [x1, y1, x2, y2, x3, y3, x4, y4, x5, y5, x6, y6, x7, y7, x8, y8]

nb_node_per_ele = [8]

conn = [1, 2, 3, 4, 5, 6, 7, 8] WARNING: python call: [coor, nb_node_per_ele, conn]=mesh2D_MeshQ8(x0, y0, lx, ly, nb_elem_x, nb_elem_y, size_coor, size_nb_node_per_ele, size_conn)

pylmgc90.chipy.lmgc90.mesh2D_SizeMesh2T3(*args)[source]

void mesh2D_SizeMesh2T3(int nb_elem_x, int nb_elem_y, int *ires, int *ires2, int *ires3)

this function computes the sizes of vectors used to store a mesh made of T3 obtained by splitting a Q4 in two T3 in the following generic format:

coor: vector of coordinates of the nodes [x1, y1, x2, y2, ...]

nb_node_per_ele: nb_node_per_ele(i) contains the number of nodes for element i, i in [1, number of elements]

conn: vector storing the connectivity of the elements [n11, n12n n13, n21, n22, n23, n24, ...] consider the following little mesh: 2 4 - | 1 /| | / | | / | |/ 2 | - 1 3 the vectors for this mesh read:

coor = [x1, y1, x2, y2, x3, y3, x4, y4]

nb_node_per_ele = [3, 3]

conn = [1, 3, 4, 2, 1, 4] WARNING: python call: [size_coor, size_nb_node_per_ele, size_conn]=mesh2D_SizeMesh2T3(nb_elem_x, nb_elem_y)

pylmgc90.chipy.lmgc90.mesh2D_SizeMesh4T3(*args)[source]

void mesh2D_SizeMesh4T3(int nb_elem_x, int nb_elem_y, int *ires, int *ires2, int *ires3)

this function computes the sizes of vectors used to store a mesh made of T3 obtained by splitting a Q4 in four T3 in the following generic format:

coor: vector of coordinates of the nodes [x1, y1, x2, y2, ...]

nb_node_per_ele: nb_node_per_ele(i) contains the number of nodes for element i, i in [1, number of elements]

conn: vector storing the connectivity of the elements [n11, n12n n13, n21, n22, n23, n24, ...] consider the following little mesh: 2 4 |\ 4 /| | / | |1 5 3| | / | |/ 2 | 1 3 the vectors for this mesh read:

coor = [x1, y1, x2, y2, x3, y3, x4, y4, x5, y5]

nb_node_per_ele = [3, 3, 3, 3]

conn = [1, 5, 2, 1, 3, 5, 3, 4, 5, 2, 5, 4] WARNING: python call: [size_coor, size_nb_node_per_ele, size_conn]=mesh2D_SizeMesh4T3(nb_elem_x, nb_elem_y)

pylmgc90.chipy.lmgc90.mesh2D_SizeMeshQ4(*args)[source]

void mesh2D_SizeMeshQ4(int nb_elem_x, int nb_elem_y, int *ires, int *ires2, int *ires3)

this function computes the sizes of vectors used to store a mesh made of Q4 in the following generic format:

coor: vector of coordinates of the nodes [x1, y1, x2, y2, ...]

nb_node_per_ele: nb_node_per_ele(i) contains the number of nodes for element i, i in [1, number of elements]

conn: vector storing the connectivity of the elements [n11, n12n n13, n21, n22, n23, n24, ...] consider the following little mesh: 2 4 6 * | 1 | 2 | * 1 3 5 the vectors for this mesh read:

coor = [x1, y1, x2, y2, x3, y3, x4, y4, x5, y5, x6, y6]

nb_node_per_ele = [4, 4]

conn = [1, 3, 4, 2, 3, 5, 6, 4] WARNING: python call: [size_coor, size_nb_node_per_ele, size_conn]=mesh2D_SizeMeshQ4(nb_elem_x, nb_elem_y)

pylmgc90.chipy.lmgc90.mesh2D_SizeMeshQ8(*args)[source]

void mesh2D_SizeMeshQ8(int nb_elem_x, int nb_elem_y, int *ires, int *ires2, int *ires3)

this function computes the sizes of vectors used to store a mesh made of Q8 following generic format:

coor: vector of coordinates of the nodes [x1, y1, x2, y2, ...]

nb_node_per_ele: nb_node_per_ele(i) contains the number of nodes for element i, i in [1, number of elements]

conn: vector storing the connectivity of the elements [n11, n12n n13, n21, n22, n23, n24, ...] consider the following little mesh: 3 7 3 * | | | | 8 * 1 * 6 | | | | * 1 5 2 the vectors for this mesh read:

coor = [x1, y1, x2, y2, x3, y3, x4, y4, x5, y5, x6, y6, x7, y7, x8, y8]

nb_node_per_ele = [8]

conn = [1, 2, 3, 4, 5, 6, 7, 8] WARNING: python call: [size_coor, size_nb_node_per_ele, size_conn]=mesh2D_SizeMesh4T3(nb_elem_x, nb_elem_y)

pylmgc90.chipy.lmgc90.models_CleanMemory(*args)[source]

void models_CleanMemory(void)

Free all memory allocated within models module.

python usage : models_CleanMemory()

pylmgc90.chipy.lmgc90.models_InitModels(*args)[source]

void models_InitModels(void)

initialize models

python usage : models_InitModels()

pylmgc90.chipy.lmgc90.models_InitProperties(*args)[source]

void models_InitProperties(void)

initialize properties

In face re-initialize properties (since it is done in InitModels). Necessary if a Store has been done and it is wanted again to LoadModel

python usage : models_InitProperties()

pylmgc90.chipy.lmgc90.models_ReadModels(*args)[source]

void models_ReadModels(void)

read models from DATBOX/MODELS.DAT

python usage : models_ReadModels()

pylmgc90.chipy.lmgc90.models_StoreProperties(*args)[source]

void models_StoreProperties(void)

create properties (couple of model and models)

python usage : models_StoreProperties()

pylmgc90.chipy.lmgc90.models_WriteModels(*args)[source]

void models_WriteModels(void)

write models to OUTBOX/MODELS.OUT

python usage : models_WriteModels()

pylmgc90.chipy.lmgc90.mp_solver_3D_ReadIniMpValues(*args)[source]

void mp_solver_3D_ReadIniMpValues(void)

python usage : mp_solver_3D_ReadIniMpValues()

pylmgc90.chipy.lmgc90.mp_solver_3D_ReadMpBehaviour(*args)[source]

void mp_solver_3D_ReadMpBehaviour(void)

python usage : mp_solver_3D_ReadMpBehaviour()

pylmgc90.chipy.lmgc90.mp_solver_3D_RecupPotential(*args)[source]

void mp_solver_3D_RecupPotential(void)

python usage : mp_solver_3D_RecupPotential()

pylmgc90.chipy.lmgc90.mp_solver_3D_RecupTemperature(*args)[source]

void mp_solver_3D_RecupTemperature(void)

python usage : mp_solver_3D_RecupTemperature()

pylmgc90.chipy.lmgc90.mp_solver_3D_SolveElectro1G(*args)[source]

void mp_solver_3D_SolveElectro1G(void)

python usage : mp_solver_3D_SolveElectro1G()

pylmgc90.chipy.lmgc90.mp_solver_3D_SolveNlElectro1G(*args)[source]

void mp_solver_3D_SolveNlElectro1G(void)

python usage : mp_solver_3D_SolveNlElectro1G()

pylmgc90.chipy.lmgc90.mp_solver_3D_SolveThermoProblem(*args)[source]

void mp_solver_3D_SolveThermoProblem(void)

python usage : mp_solver_3D_SolveThermoProblem()

pylmgc90.chipy.lmgc90.mp_solver_3D_UpdateConductivity(*args)[source]

void mp_solver_3D_UpdateConductivity(void)

python usage : mp_solver_3D_UpdateConductivity()

pylmgc90.chipy.lmgc90.mp_solver_3D_UpdateThermoProblem(*args)[source]

void mp_solver_3D_UpdateThermoProblem(void)

python usage : mp_solver_3D_UpdateThermoProblem()

pylmgc90.chipy.lmgc90.mp_solver_3D_WriteMpBehaviour(*args)[source]

void mp_solver_3D_WriteMpBehaviour(void)

python usage : mp_solver_3D_WriteMpBehaviour()

pylmgc90.chipy.lmgc90.mp_solver_3D_WriteOutMpValues(*args)[source]

void mp_solver_3D_WriteOutMpValues(void)

python usage : mp_solver_3D_WriteOutMpValues()

pylmgc90.chipy.lmgc90.mp_solver_GetBrancheValues(*args)[source]

void mp_solver_GetBrancheValues(char *c5, int itact, double **r8_vector, int *r8_size)

pylmgc90.chipy.lmgc90.mp_solver_InitThermalConductivity(*args)[source]

void mp_solver_InitThermalConductivity(void)

python usage : mp_solver_InitThermalConductivity()

pylmgc90.chipy.lmgc90.mp_solver_ReadIniMpValues(*args)[source]

void mp_solver_ReadIniMpValues(void)

python usage : mp_solver_ReadIniMpValues()

pylmgc90.chipy.lmgc90.mp_solver_ReadMpBehaviour(*args)[source]

void mp_solver_ReadMpBehaviour(void)

python usage : mp_solver_ReadMpBehaviour()

pylmgc90.chipy.lmgc90.mp_solver_RecupPotential(*args)[source]

void mp_solver_RecupPotential(void)

python usage : mp_solver_RecupPotential()

pylmgc90.chipy.lmgc90.mp_solver_RecupTemperature(*args)[source]

void mp_solver_RecupTemperature(void)

python usage : mp_solver_RecupTemperature()

pylmgc90.chipy.lmgc90.mp_solver_SolveElectro1G(*args)[source]

void mp_solver_SolveElectro1G(void)

python usage : mp_solver_SolveElectro1G()

pylmgc90.chipy.lmgc90.mp_solver_SolveNlElectro1G(*args)[source]

void mp_solver_SolveNlElectro1G(void)

python usage : mp_solver_SolveNlElectro1G()

pylmgc90.chipy.lmgc90.mp_solver_SolveThermoProblem(*args)[source]

void mp_solver_SolveThermoProblem(void)

python usage : mp_solver_SolveThermoProblem()

pylmgc90.chipy.lmgc90.mp_solver_UpdateConductivity(*args)[source]

void mp_solver_UpdateConductivity(void)

python usage : mp_solver_UpdateConductivity()

pylmgc90.chipy.lmgc90.mp_solver_UpdateThermoProblem(*args)[source]

void mp_solver_UpdateThermoProblem(void)

python usage : mp_solver_UpdateThermoProblem()

pylmgc90.chipy.lmgc90.mp_solver_WriteMpBehaviour(*args)[source]

void mp_solver_WriteMpBehaviour(void)

python usage : mp_solver_WriteMpBehaviour()

pylmgc90.chipy.lmgc90.mp_solver_WriteOutMpValues(*args)[source]

void mp_solver_WriteOutMpValues(void)

python usage : mp_solver_WriteOutMpValues()

pylmgc90.chipy.lmgc90.multiMAILx_AssembKT(*args)[source]

void multiMAILx_AssembKT(int *ivector_in=NULL, int ilength_in=0)

assemble pseudo mass matrix and apply drvdof of a list of bodies

python usage : multiMAILx_AssembKT(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_AssembRHS(*args)[source]

void multiMAILx_AssembRHS(int *ivector_in=NULL, int ilength_in=0)

assembles right hand side of a list of bodies

python usage : multiMAILx_AssembRHS(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_BandStorage(*args)[source]

void multiMAILx_BandStorage(void)

use band matrix

python usage : multiMAILx_BandStorage()

pylmgc90.chipy.lmgc90.multiMAILx_CleanMemory(*args)[source]

void multiMAILx_CleanMemory(void)

Free all memory allocated within multiMAILx module.

python usage : multiMAILx_CleanMemory()

pylmgc90.chipy.lmgc90.multiMAILx_ComputeBulk(*args)[source]

void multiMAILx_ComputeBulk(int *ivector_in=NULL, int ilength_in=0)

computes elementary stiffness and viscosity matrices of a list of bodies

python usage : multiMAILx_ComputeBulk(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_ComputeDof(*args)[source]

void multiMAILx_ComputeDof(int *ivector_in=NULL, int ilength_in=0)

computes the current d.o.f knowing all the forces/fluxses (free + contact) of a list of bodies

python usage : multiMAILx_ComputeDof(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_ComputeElementsEnergy(*args)[source]

void multiMAILx_ComputeElementsEnergy(int idBody)

compute energy of elements

python usage : multiMAILx_ComputeElementsEnergy(idBody)

pylmgc90.chipy.lmgc90.multiMAILx_ComputeElementsJacobian(*args)[source]

void multiMAILx_ComputeElementsJacobian(int idBody)

compute jacobian of elements

python usage : multiMAILx_ComputeElementsJacobian(idBody)

pylmgc90.chipy.lmgc90.multiMAILx_ComputeFext(*args)[source]

void multiMAILx_ComputeFext(int *ivector_in=NULL, int ilength_in=0)

compute elementary external forces of a list of bodies

python usage : multiMAILx_ComputeFext(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_ComputeField(*args)[source]

void multiMAILx_ComputeField(int *ivector_in=NULL, int ilength_in=0)

computes elementary fields of a list of bodies

python usage : multiMAILx_ComputeField(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_ComputeFreeState(*args)[source]

void multiMAILx_ComputeFreeState(int *ivector_in=NULL, int ilength_in=0)

computes free (of interactions) state of a list of bodies

python usage : multiMAILx_ComputeFreeState(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_ComputeMass(*args)[source]

void multiMAILx_ComputeMass(int *ivector_in=NULL, int ilength_in=0)

compute elementary mass and inertia of a list of bodies

python usage : multiMAILx_ComputeMass(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_ComputeResidueNorm(*args)[source]

double multiMAILx_ComputeResidueNorm(int *ivector_in=NULL, int ilength_in=0)

computes the norm of the residue of a list of bodies

python usage : norm = multiMAILx_ComputeResidueNorm(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_DiagonalStorage(*args)[source]

void multiMAILx_DiagonalStorage(void)

use diagonal matrix

python usage : multiMAILx_DiagonalStorage()

pylmgc90.chipy.lmgc90.multiMAILx_ExplodedStorage(*args)[source]

void multiMAILx_ExplodedStorage(void)

use element by element matrix

python usage : multiMAILx_ExplodedStorage()

pylmgc90.chipy.lmgc90.multiMAILx_FullStorage(*args)[source]

void multiMAILx_FullStorage(void)

use full matrix

python usage : multiMAILx_FullStorage()

pylmgc90.chipy.lmgc90.multiMAILx_GetAll(*args)[source]

void multiMAILx_GetAll(int idBody, double **matrix_out, int *dim1, int *dim2)

return mechanical data computed for idBody

python usage : array = multiMAILx_GetAll(idBody)

pylmgc90.chipy.lmgc90.multiMAILx_GetBodyVector(*args)[source]

void multiMAILx_GetBodyVector(char *cvalue1_c, int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of a vector of a given body.

Python usage : vector = multiMAILx_GetBodyVector(datatype, ibdyty)

pylmgc90.chipy.lmgc90.multiMAILx_GetConnectivity(*args)[source]

void multiMAILx_GetConnectivity(int idBody, int **i4_vector, int *i4_size)

return connectivity of idBody elements

python usage : vector = multiMAILx_GetConnectivity(idBody)

pylmgc90.chipy.lmgc90.multiMAILx_GetCoor(*args)[source]

void multiMAILx_GetCoor(int idBody, double **matrix_out, int *dim1, int *dim2)

return node coordinates of idBody

python usage : array = multiMAILx_GetCoor(idBody)

pylmgc90.chipy.lmgc90.multiMAILx_GetDeformationEnergy(*args)[source]

double multiMAILx_GetDeformationEnergy(int ivalue1, double *matrix_in, int dim1, int dim2)

Get the deformation energy of a given displacement field.

python usage : energy = multiMAILx_GetDeformationEnergy(id,displacement)

pylmgc90.chipy.lmgc90.multiMAILx_GetElementsNeighbor(*args)[source]

void multiMAILx_GetElementsNeighbor(int idBody, double tol, int max_neighbors, int **matrix_out, int *dim1, int *dim2)

return elements in the tol-neighbor of an element of idBody

python usage : neighbors = multiMAILx_GetElementsNeighbor(idBody,tol,max_neighbors)

pylmgc90.chipy.lmgc90.multiMAILx_GetElementsVolume(*args)[source]

void multiMAILx_GetElementsVolume(int idBody, double **r8_vector, int *r8_size)

return volume of elements

python usage : volumes = multiMAILx_GetElementsVolume(idBody)

pylmgc90.chipy.lmgc90.multiMAILx_GetNb(*args)[source]

int multiMAILx_GetNb(void)

Get the number of multiMAILx.

python usage : nb_multiMAILx = multiMAILx_GetNb()

nb_multiMAILx (integer) : number of multiMAILx

pylmgc90.chipy.lmgc90.multiMAILx_GetNbElements(*args)[source]

int multiMAILx_GetNbElements(int ivalue)

Get the number of elements of a multiMAILx.

python usage : nb_elements = multiMAILx_GetNbElements(ibdyty)

pylmgc90.chipy.lmgc90.multiMAILx_GetNbNodes(*args)[source]

int multiMAILx_GetNbNodes(int ivalue)

Get the number of nodes of a multiMAILx.

python usage : nb_nodes = multiMAILx_GetNbNodes(ibdyty)

pylmgc90.chipy.lmgc90.multiMAILx_GetPtrBoundaryElements(*args)[source]

void multiMAILx_GetPtrBoundaryElements(int idBody, int **i4_vector, int *i4_size)

return boundary elements

python usage : vector = multiMAILx_GetPtrBoundaryElements(idBody)

pylmgc90.chipy.lmgc90.multiMAILx_GetPtrElementsEnergy(*args)[source]

void multiMAILx_GetPtrElementsEnergy(int idBody, double **pointer_out, int *length)

return pointer on energy of elements

python usage : energies = multiMAILx_GetPtrElementsEnergy(idBody)

pylmgc90.chipy.lmgc90.multiMAILx_GetPtrElementsJacobian(*args)[source]

void multiMAILx_GetPtrElementsJacobian(int idBody, double **pointer_out, int *length)

return jacobian of elements

python usage : jacobians = multiMAILx_GetPtrElementsJacobian(idBody)

pylmgc90.chipy.lmgc90.multiMAILx_GetPtrElementsVisibility(*args)[source]

void multiMAILx_GetPtrElementsVisibility(int idBody, int **pointer_out, int *length)

Get a pointer on the elements visibility vector.

python usage : eviz = multiMAILx_GetPtrElementsVisibility(ibdyty)

pylmgc90.chipy.lmgc90.multiMAILx_GetScalarFieldRank(*args)[source]

int multiMAILx_GetScalarFieldRank(int ibdyty, int blmty, char *name)

Get the rank of field of an element of a body from its name.

python usage : f_rank = multiMAILx_GetScalarFieldRank(ibdyty, iblmty, name)

pylmgc90.chipy.lmgc90.multiMAILx_GetVectorFieldRank(*args)[source]

int multiMAILx_GetVectorFieldRank(int ibdyty, int blmty, char *name)

Get the rank of field of an element of a body from its name.

python usage : f_rank = multiMAILx_GetVectorFieldRank(ibdyty, iblmty, name)

pylmgc90.chipy.lmgc90.multiMAILx_IncrementStep(*args)[source]

void multiMAILx_IncrementStep(void)

initializes the current d.o.f and some driven d.o.f values

python usage : multiMAILx_IncrementStep()

pylmgc90.chipy.lmgc90.multiMAILx_IsVisible(*args)[source]

int multiMAILx_IsVisible(int idbdy)

return if a given body visible

python usage : visible = multiMAILx_IsVisible(ibdyty)

pylmgc90.chipy.lmgc90.multiMAILx_LoadBehaviours(*args)[source]

void multiMAILx_LoadBehaviours(void)

load behaviours from bulk_behav

python usage : multiMAILx_LoadBehaviours()

pylmgc90.chipy.lmgc90.multiMAILx_LoadModels(*args)[source]

void multiMAILx_LoadModels(void)

load models from models

python usage : multiMAILx_LoadModels()

pylmgc90.chipy.lmgc90.multiMAILx_PushProperties(*args)[source]

void multiMAILx_PushProperties(void)

gives to model the couple of model,behavior used at gauss point

python usage : multiMAILx_PushProperties()

pylmgc90.chipy.lmgc90.multiMAILx_PutBodyVector(*args)[source]

void multiMAILx_PutBodyVector(char *cvalue1_c, int ivalue1, double *matrix_in, int dim1, int dim2)

Set a vector of a given body.

python usage : multiMAILx_PutBodyVector(datatype, ibdyty, vector)

pylmgc90.chipy.lmgc90.multiMAILx_ReadDrivenDof(*args)[source]

void multiMAILx_ReadDrivenDof(void)

Read DRV_DOF.DAT.

python usage : multiMAILx_ReadDrivenDof()

pylmgc90.chipy.lmgc90.multiMAILx_ReadIniDof(*args)[source]

void multiMAILx_ReadIniDof(void)

Read DOF.INI.

python usage : multiMAILx_ReadIniDof()

pylmgc90.chipy.lmgc90.multiMAILx_ReadIniGPV(*args)[source]

void multiMAILx_ReadIniGPV(void)

python usage : multiMAILx_ReadIniGPV()

pylmgc90.chipy.lmgc90.multiMAILx_SetScalarFieldByElem(*args)[source]

void multiMAILx_SetScalarFieldByElem(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update elementary scalar field through a element external field on a given body.

Field values are stored at Gauss point, on an element all Gauss point have the element value

python usage : multiMAILx_SetScalarFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.multiMAILx_SetScalarFieldByNode(*args)[source]

void multiMAILx_SetScalarFieldByNode(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update elementary fields through a nodal external field on a given body.

python usage : multiMAILx_SetScalarFieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.multiMAILx_SetVectorFieldByElem(*args)[source]

void multiMAILx_SetVectorFieldByElem(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : multiMAILx_SetFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.multiMAILx_SetVectorFieldByNode(*args)[source]

void multiMAILx_SetVectorFieldByNode(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : multiMAILx_SetFieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.multiMAILx_SkylineStorage(*args)[source]

void multiMAILx_SkylineStorage(void)

use skyline matrix

python usage : multiMAILx_SkylineStorage()

pylmgc90.chipy.lmgc90.multiMAILx_SparseStorage(*args)[source]

void multiMAILx_SparseStorage(void)

use sparse matrix

python usage : multiMAILx_SparseStorage()

pylmgc90.chipy.lmgc90.multiMAILx_SymmetricShape(*args)[source]

void multiMAILx_SymmetricShape(void)

assume matrix is symmetrical

python usage : multiMAILx_SymmetricShape()

pylmgc90.chipy.lmgc90.multiMAILx_UnspecifiedShape(*args)[source]

void multiMAILx_UnspecifiedShape(void)

does not assume any thing on matrix shape

python usage : multiMAILx_UnspecifiedShape()

pylmgc90.chipy.lmgc90.multiMAILx_UpdateBulk(*args)[source]

void multiMAILx_UpdateBulk(int *ivector_in=NULL, int ilength_in=0)

update begin elementary fields with current elementary fields of a list of bodies

python usage : multiMAILx_UpdateBulk(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_UpdateDof(*args)[source]

void multiMAILx_UpdateDof(int *ivector_in=NULL, int ilength_in=0)

update begin d.o.f. with current d.o.f. of a list of bodies

python usage : multiMAILx_UpdateDof(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_UseNewtonScheme(*args)[source]

void multiMAILx_UseNewtonScheme(void)

use Newton scheme

python usage : multiMAILx_UseNewtonScheme()

pylmgc90.chipy.lmgc90.multiMAILx_UsePicardScheme(*args)[source]

void multiMAILx_UsePicardScheme(void)

use Picard scheme (fixed point method)

python usage : multiMAILx_UsePicardScheme()

pylmgc90.chipy.lmgc90.multiMAILx_WithoutRenumbering(*args)[source]

void multiMAILx_WithoutRenumbering(void)

skip renumbering of the unknowns using a rcc method

python usage : multiMAILx_WithoutRenumbering()

pylmgc90.chipy.lmgc90.multiMAILx_WriteDrivenDof(*args)[source]

void multiMAILx_WriteDrivenDof(void)

Write DRV_DOF.OUT.

python usage : multiMAILx_WriteDrivenDof()

pylmgc90.chipy.lmgc90.multiMAILx_WriteLastDof(*args)[source]

void multiMAILx_WriteLastDof(int *ivector_in=NULL, int ilength_in=0)

Write DOF.LAST file.

python usage : multiMAILx_WriteLastDof(i_list)

pylmgc90.chipy.lmgc90.multiMAILx_WriteOutDof(*args)[source]

void multiMAILx_WriteOutDof(int *ivector_in=NULL, int ilength_in=0)

Write DOF.OUT file.

python usage : multiMAILx_WriteOutDof(i_list)

pylmgc90.chipy.lmgc90.nlgs_3D_AfterIterCheck(*args)[source]

int nlgs_3D_AfterIterCheck(void)

Control NLGS convergence.

python usage : convergence = nlgs_3D_AfterIterCheck() convergence (integer) :

pylmgc90.chipy.lmgc90.nlgs_3D_AfterIterCheckJacobi(*args)[source]

int nlgs_3D_AfterIterCheckJacobi(void)

Control NLGS convergence.

python usage : convergence = nlgs_3D_AfterIterCheckJacobi() convergence (integer) :

pylmgc90.chipy.lmgc90.nlgs_3D_ComputeRnod(*args)[source]

void nlgs_3D_ComputeRnod(void)

mapping from local contact forces to global ones

python usage : nlgs_3D_ComputeRnod()

pylmgc90.chipy.lmgc90.nlgs_3D_DiagonalResolution(*args)[source]

void nlgs_3D_DiagonalResolution(void)

python usage : nlgs_3D_DiagonalResolution()

pylmgc90.chipy.lmgc90.nlgs_3D_DisplayAfterIterCheck(*args)[source]

void nlgs_3D_DisplayAfterIterCheck(void)

display NLGS convergence results

python usage : nlgs_3D_DisplayAfterIterCheck()

pylmgc90.chipy.lmgc90.nlgs_3D_DisplayTacInfo(*args)[source]

void nlgs_3D_DisplayTacInfo(int itac)

Display information concerning one contact.

python usage : nlgs_3D_DsplayTacInfo(itac) param[in] itac (integer) : contact rank

pylmgc90.chipy.lmgc90.nlgs_3D_ExIter(*args)[source]

void nlgs_3D_ExIter(int nb_iter)

Executes nb_iter NLGS iterations.

python usage : nlgs_3D_ExIter(nb_iter) param[in] nb_iter (integer) : number of iterations to do

pylmgc90.chipy.lmgc90.nlgs_3D_ExIterJacobi(*args)[source]

void nlgs_3D_ExIterJacobi(int nb_iter)

Executes nb_iter NLJacobi iterations.

python usage : nlgs_3D_ExIterJacobi(nb_iter) param[in] nb_iter (integer) : number of iterations to do

pylmgc90.chipy.lmgc90.nlgs_3D_ExPost(*args)[source]

void nlgs_3D_ExPost(void)

run a jacobi iteration with the solution obtain with the NLGS algorithm

python usage : nlgs_3D_ExPost()

pylmgc90.chipy.lmgc90.nlgs_3D_ExPostJacobi(*args)[source]

void nlgs_3D_ExPostJacobi(void)

run a jacobi iteration with the solution obtain with the NLGS algorithm

python usage : nlgs_3D_ExPostJacobi()

pylmgc90.chipy.lmgc90.nlgs_3D_ExPrep(*args)[source]

void nlgs_3D_ExPrep(char *storage_c)

Prepare matrix storage.

python usage : nlgs_ExPrep(storage)

pylmgc90.chipy.lmgc90.nlgs_3D_ExSolver(*args)[source]

void nlgs_3D_ExSolver(char *Wstorage_c, char *checktype_c, double tol, double RELAX, int nb_iter_check, int nb_block_iter)

Solve fully the local contact problem.

python usage : nlgs_3D_ExSolver(storage, checktype, tol, relax, nb_iter_check, nb_block_iter)

pylmgc90.chipy.lmgc90.nlgs_3D_IsInitialized(*args)[source]

void nlgs_3D_IsInitialized(void)

In case of restart say that nlgs is initialized.

python usage : nlgs_3D_IsInitialized()

pylmgc90.chipy.lmgc90.nlgs_3D_QuickScrambleContactOrder(*args)[source]

void nlgs_3D_QuickScrambleContactOrder(void)

Random renumbering of the contact list.

python usage : nlgs_3D_QuickScrambleContactOrder()

pylmgc90.chipy.lmgc90.nlgs_3D_ReverseContactOrder(*args)[source]

void nlgs_3D_ReverseContactOrder(void)

reverse the numbering of the contact list

python usage : nlgs_3D_ReverseContactOrder()

pylmgc90.chipy.lmgc90.nlgs_3D_ScaleRloc(*args)[source]

void nlgs_3D_ScaleRloc(void)

scale all local contact forces of a factor equal to 0.9 < f < 1.1

python usage : nlgs_3D_ScaleRloc()

pylmgc90.chipy.lmgc90.nlgs_3D_ScrambleContactOrder(*args)[source]

void nlgs_3D_ScrambleContactOrder(void)

Random renumbering of the contact list.

python usage : nlgs_3D_ScrambleContactOrder()

pylmgc90.chipy.lmgc90.nlgs_3D_SetCheckType(*args)[source]

void nlgs_3D_SetCheckType(char *checktype_c, double tol, double RELAX)

define numerical convergence of the NLGS algorithm

python usage : nlgs_SetCheckType(check_type, tolerance, relaxation)

pylmgc90.chipy.lmgc90.nlgs_3D_SetWithQuickScramble(*args)[source]

void nlgs_3D_SetWithQuickScramble(void)

Activate quick scramble in macro function ExSolver.

python usage : nlgs_3D_SetWithQuickScramble()

pylmgc90.chipy.lmgc90.nlgs_3D_UpdateTactBehav(*args)[source]

void nlgs_3D_UpdateTactBehav(void)

update internal parameters of contact laws for each contact

python usage : nlgs_3D_UpdateTactBehav()

pylmgc90.chipy.lmgc90.nlgs_3D_UseJacobiSolver(*args)[source]

void nlgs_3D_UseJacobiSolver(bool jacobi)

Use a Jacobi solver instead of Gauss Seidel solver.

usage : nlgs_3D_UseJacobiSolver(True) or nlgs_UseJacobiSolver(False)

pylmgc90.chipy.lmgc90.nlgs_3D_WriteNormCheck(*args)[source]

void nlgs_3D_WriteNormCheck(void)

write norm to file

python usage : nlgs_3D_WriteNormCheck()

pylmgc90.chipy.lmgc90.nlgs_AfterIterCheck(*args)[source]

int nlgs_AfterIterCheck(void)

Control NLGS convergence.

python usage : convergence = nlgs_AfterIterCheck() convergence (integer) :

pylmgc90.chipy.lmgc90.nlgs_BimodalContactOrder(*args)[source]

void nlgs_BimodalContactOrder(void)

Renumbering of the contact list using the definition of weak and strong network in granular assemblies.

python usage : nlgs_BimodalContactOrder()

pylmgc90.chipy.lmgc90.nlgs_ComputeRnod(*args)[source]

void nlgs_ComputeRnod(void)

mapping from local contact forces to global ones

python usage : nlgs_ComputeRnod()

pylmgc90.chipy.lmgc90.nlgs_DisplayAfterIterCheck(*args)[source]

void nlgs_DisplayAfterIterCheck(void)

Display NLGS convergence results.

python usage : nlgs_DisplayAfterIterCheck()

pylmgc90.chipy.lmgc90.nlgs_DisplayRlocNSum(*args)[source]

void nlgs_DisplayRlocNSum(void)

Display the sum of normal contact forces.

python usage : nlgs_DisplayRlocNSum()

pylmgc90.chipy.lmgc90.nlgs_ExIter(*args)[source]

void nlgs_ExIter(int nb_iter)

Execute NLGS iterations over the contact loop.

python usage : nlgs_ExIter(nb_iter) param[in] nb_iter (integer) : number of iterations to do

pylmgc90.chipy.lmgc90.nlgs_ExPost(*args)[source]

void nlgs_ExPost(void)

Run a jacobi iteration with the solution obtained with the NLGS algorithm.

python usage : nlgs_ExPost()

pylmgc90.chipy.lmgc90.nlgs_ExPrep(*args)[source]

void nlgs_ExPrep(char *cvalue1_c)

Prepare matrix storage.

python usage : nlgs_ExPrep(storage)

pylmgc90.chipy.lmgc90.nlgs_ExSolver(*args)[source]

void nlgs_ExSolver(char *cvalue1_c, char *cvalue2_c, double rvalue1, double rvalue2, int ivalue1, int ivalue2)

Solve fully the local contact problem.

python usage : nlgs_ExSolver(storage, checktype, tol, relax, nb_iter_check, nb_block_iter)

pylmgc90.chipy.lmgc90.nlgs_GetAllThis(*args)[source]

void nlgs_GetAllThis(double **matrix_out, int *dim1, int *dim2)

Get all interactions in ‘this’ array.

Each interaction has (in this order): coor, tuc, nuc, rlt, rln, vlt, vln

usage : interactions = nlgs_GetAllThis() interactions (double 2D- array) : the interactions

pylmgc90.chipy.lmgc90.nlgs_NormCheck(*args)[source]

void nlgs_NormCheck(void)

Active one step norm evolution.

python usage : nlgs_NormCheck()

pylmgc90.chipy.lmgc90.nlgs_QuickScrambleContactOrder(*args)[source]

void nlgs_QuickScrambleContactOrder(void)

Random renumbering of the contact list.

python usage : nlgs_QuickScrambleContactOrder()

pylmgc90.chipy.lmgc90.nlgs_ReverseContactOrder(*args)[source]

void nlgs_ReverseContactOrder(void)

Reverse the numbering of the contact list.

python usage : nlgs_ReverseContactOrder()

pylmgc90.chipy.lmgc90.nlgs_ScaleRloc(*args)[source]

void nlgs_ScaleRloc(void)

Scale all local contact forces of a factor equal to * 0.9 < f < 1.1.

python usage : nlgs_ScaleRloc()

pylmgc90.chipy.lmgc90.nlgs_ScrambleContactOrder(*args)[source]

void nlgs_ScrambleContactOrder(void)

Random renumbering of the contact list.

python usage : nlgs_ScrambleContactOrder()

pylmgc90.chipy.lmgc90.nlgs_SetCheckType(*args)[source]

void nlgs_SetCheckType(char *cvalue1_c, double rvalue1, double rvalue2)

Define numerical convergence of the NLGS algorithm.

python usage : nlgs_SetCheckType(check_type, tolerance, relaxation)

pylmgc90.chipy.lmgc90.nlgs_SetWithQuickScramble(*args)[source]

void nlgs_SetWithQuickScramble(void)

active quick scramble in macro function ExSolver

python usage : nlgs_SetWithQuickScramble()

pylmgc90.chipy.lmgc90.nlgs_UpdateCohesiveBehav(*args)[source]

void nlgs_UpdateCohesiveBehav(void)

update internal parameters of contact laws for each contact

python usage : nlgs_UpdateCohesiveBehav(void)

pylmgc90.chipy.lmgc90.nlgs_UpdateTactBehav(*args)[source]

void nlgs_UpdateTactBehav(void)

Update internal parameters of contact lawz for each contact.

python usage : nlgs_UpdateTactBehav()

pylmgc90.chipy.lmgc90.nlgs_UseJacobiSolver(*args)[source]

void nlgs_UseJacobiSolver(bool jacobi)

Use a Jacobi solver instead of Gauss Seidel solver.

usage : nlgs_UseJacobiSolver(True) or nlgs_UseJacobiSolver(False)

pylmgc90.chipy.lmgc90.overall_CleanOutBodies(*args)[source]

void overall_CleanOutBodies(void)

python usage : overall_CleanOutBodies()

pylmgc90.chipy.lmgc90.overall_CleanWriteOutFlags(*args)[source]

void overall_CleanWriteOutFlags(void)

python usage : overall_CleanWriteOutFlags()

pylmgc90.chipy.lmgc90.overall_DIME(*args)[source]

void overall_DIME(int idim, int imod)

set space dimension and in 2D the modelling assumption

python usage : overall_DIME(idim, imod)

pylmgc90.chipy.lmgc90.overall_DisplayProxTactors(*args)[source]

void overall_DisplayProxTactors(void)

python usage : overall_DisplayProxTactors()

pylmgc90.chipy.lmgc90.overall_Finalize(*args)[source]

void overall_Finalize(void)

Finalize LMGC90.

python usage : overall_Finalize()

pylmgc90.chipy.lmgc90.overall_GetWorkingDirectory(*args)[source]

void overall_GetWorkingDirectory(char **string_out, int *string_size)

python usage : path = overall_GetWorkingDirectory()

path (string) : working directory

pylmgc90.chipy.lmgc90.overall_InitPostData(*args)[source]

void overall_InitPostData(int ifirst, int ilast)

python usage : overall_InitPostData(ifirst, ilast)

pylmgc90.chipy.lmgc90.overall_Initialize(*args)[source]

void overall_Initialize(void)

Initialize LMGC90.

python usage : overall_Initialize()

pylmgc90.chipy.lmgc90.overall_RebuildInBodies(*args)[source]

void overall_RebuildInBodies(void)

python usage : overall_RebuildInBodies()

pylmgc90.chipy.lmgc90.overall_RequireXxlComputation(*args)[source]

void overall_RequireXxlComputation(void)

python usage : overall_RequireXxlComputation()

pylmgc90.chipy.lmgc90.overall_SelectProxTactors(*args)[source]

void overall_SelectProxTactors(int Nstep_rough_seek=1)

Prepare contact detection.

python usage : overall_SelectProxTactors(Nstep_rough_seek)

pylmgc90.chipy.lmgc90.overall_SetWorkingDirectory(*args)[source]

void overall_SetWorkingDirectory(char *cvalue1)

python usage : overall_SetWorkingDirectory(path)

pylmgc90.chipy.lmgc90.overall_UpdatePostData(*args)[source]

void overall_UpdatePostData(void)

python usage : overall_UpdatePostData()

pylmgc90.chipy.lmgc90.overall_UseExperimentalDev(*args)[source]

void overall_UseExperimentalDev(void)

Activate some unstable devs.

python usage : overall_UseExperimentalDev()

pylmgc90.chipy.lmgc90.overall_UseExternalFem(*args)[source]

void overall_UseExternalFem(void)

Allow to use the externalFem library instead of lmgc90 Fem lib.

python usage : overall_UseExternalFem()

pylmgc90.chipy.lmgc90.overall_WriteBodies(*args)[source]

void overall_WriteBodies(void)

python usage : overall_WriteBodies()

pylmgc90.chipy.lmgc90.overall_WriteDrivenDof(*args)[source]

void overall_WriteDrivenDof(void)

python usage : overall_WriteDrivenDof()

pylmgc90.chipy.lmgc90.overall_WriteOutDisplayFile(*args)[source]

void overall_WriteOutDisplayFile(int freq_display=0)

python usage : overall_WriteOutDisplayFile(freq_display)

pylmgc90.chipy.lmgc90.overall_WriteOutMpValues(*args)[source]

void overall_WriteOutMpValues(int entier)

python usage : overall_WriteOutMpValues(nstep)

pylmgc90.chipy.lmgc90.poroMAILx_AddFieldLoad(*args)[source]

void poroMAILx_AddFieldLoad(int IdBody, double *rvector_in, int rlength_in)

Add elementary load through a nodal external field on a given body.

python usage : poroMAILx_AddFieldLoad(IdBody, Ideriv, f)

pylmgc90.chipy.lmgc90.poroMAILx_AssembKT(*args)[source]

void poroMAILx_AssembKT(void)

assembles matrice

python usage : poroMAILx_AssembKT()

pylmgc90.chipy.lmgc90.poroMAILx_AssembRHS(*args)[source]

void poroMAILx_AssembRHS(void)

assembles RHS

python usage : poroMAILx_AssembRHS()

pylmgc90.chipy.lmgc90.poroMAILx_BandStorage(*args)[source]

void poroMAILx_BandStorage(void)

use band matrix

python usage : poroMAILx_BandStorage()

pylmgc90.chipy.lmgc90.poroMAILx_CleanMemory(*args)[source]

void poroMAILx_CleanMemory(void)

Free all memory allocated within poroMAILx module.

python usage : poroMAILx_CleanMemory()

pylmgc90.chipy.lmgc90.poroMAILx_ComputeBulk(*args)[source]

void poroMAILx_ComputeBulk(void)

compute elementary stiffness

python usage : poroMAILx_ComputeBulk()

pylmgc90.chipy.lmgc90.poroMAILx_ComputeContactDetectionConfiguration(*args)[source]

void poroMAILx_ComputeContactDetectionConfiguration(void)

compute the contact detection configuration

python usage : poroMAILx_ComputeContactDetectionConfiguration()

pylmgc90.chipy.lmgc90.poroMAILx_ComputeDamping(*args)[source]

void poroMAILx_ComputeDamping(void)

compute elemenatry damping

python usage : poroMAILx_ComputeDamping()

pylmgc90.chipy.lmgc90.poroMAILx_ComputeDof(*args)[source]

void poroMAILx_ComputeDof(void)

computes motion (free + contact)

python usage : poroMAILx_ComputeDof()

pylmgc90.chipy.lmgc90.poroMAILx_ComputeFext(*args)[source]

void poroMAILx_ComputeFext(void)

compute elementary external forces

python usage : poroMAILx_ComputeFext()

pylmgc90.chipy.lmgc90.poroMAILx_ComputeFreeVelocity(*args)[source]

void poroMAILx_ComputeFreeVelocity(void)

computes free motion (without contact contribution)

python usage : poroMAILx_ComputeFreeVelocity()

pylmgc90.chipy.lmgc90.poroMAILx_ComputeGrad(*args)[source]

void poroMAILx_ComputeGrad(void)

apply elementary fields gradient

python usage : poroMAILx_ComputeGrad(void)

pylmgc90.chipy.lmgc90.poroMAILx_ComputeMass(*args)[source]

void poroMAILx_ComputeMass(void)

compute elementary mass and inertia of bodies

python usage : poroMAILx_ComputeMass()

pylmgc90.chipy.lmgc90.poroMAILx_ComputePreconW(*args)[source]

void poroMAILx_ComputePreconW(void)

compute the precon W on precon bodies

python usage : poroMAILx_ComputePreconW()

pylmgc90.chipy.lmgc90.poroMAILx_ComputeResidueNorm(*args)[source]

double poroMAILx_ComputeResidueNorm(void)

computes the norm of the residue

python usage : norm = poroMAILx_ComputeResidueNorm()

norm (double) : Residue Norm

pylmgc90.chipy.lmgc90.poroMAILx_DiagonalStorage(*args)[source]

void poroMAILx_DiagonalStorage(void)

use diagonal matrix

python usage : poroMAILx_DiagonalStorage()

pylmgc90.chipy.lmgc90.poroMAILx_DisplayOutDof(*args)[source]

void poroMAILx_DisplayOutDof(void)

Display body degrees of freedom.

python usage : poroMAILx_DisplayOutDof()

pylmgc90.chipy.lmgc90.poroMAILx_ExplodedStorage(*args)[source]

void poroMAILx_ExplodedStorage(void)

use element by element matrix

python usage : poroMAILx_ExplodedStorage()

pylmgc90.chipy.lmgc90.poroMAILx_FullStorage(*args)[source]

void poroMAILx_FullStorage(void)

use full matrix

python usage : poroMAILx_FullStorage()

pylmgc90.chipy.lmgc90.poroMAILx_GetAll(*args)[source]

void poroMAILx_GetAll(int idBody, double **matrix_out, int *dim1, int *dim2)

return poro mechanical data computed for idBody

python usage : array = poroMAILx_GetAll(idBody)

pylmgc90.chipy.lmgc90.poroMAILx_GetBodyVector(*args)[source]

void poroMAILx_GetBodyVector(char *cvalue1_c, int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of a vector of a given body.

Python usage : vector = poroMAILx_GetBodyVector(datatype, ibdyty)

pylmgc90.chipy.lmgc90.poroMAILx_GetConnectivity(*args)[source]

void poroMAILx_GetConnectivity(int idBody, int **i4_vector, int *i4_size)

return connectivity of idBody elements

python usage : vector = poroMAILx_GetConnectivity(idBody)

pylmgc90.chipy.lmgc90.poroMAILx_GetCoor(*args)[source]

void poroMAILx_GetCoor(int idBody, double **matrix_out, int *dim1, int *dim2)

return node coordinates of idBody

python usage : array = poroMAILx_GetCoor(idBody)

pylmgc90.chipy.lmgc90.poroMAILx_GetMecaVectorFieldRank(*args)[source]

int poroMAILx_GetMecaVectorFieldRank(int ibdyty, int blmty, char *name)

Get the rank of field of an element of a body from its name.

python usage : f_rank = poroMAILx_GetMecaVectorFieldRank(ibdyty, iblmty, name)

pylmgc90.chipy.lmgc90.poroMAILx_GetNbNodes(*args)[source]

int poroMAILx_GetNbNodes(int ivalue)

Get the number of nodes of a poroMAILx.

python usage : nb_nodes = poroMAILx_GetNbNodes(ibdyty)

pylmgc90.chipy.lmgc90.poroMAILx_GetNbPoroMAILx(*args)[source]

int poroMAILx_GetNbPoroMAILx(void)

Get the number of poroMAILx.

python usage : nb_poroMAILx = poroMAILx_GetNbPoroMAILx()

nb_poroMAILx (integer) : number of poroMAILx

pylmgc90.chipy.lmgc90.poroMAILx_GetStrain(*args)[source]

void poroMAILx_GetStrain(int ivalue1, double **matrix_out, int *dim1, int *dim2, int ivalue4=0)

Get a copy of a strain of a given body.

Python usage : strain = poroMAILx_GetStrain(ibdyty, required_field=0)

pylmgc90.chipy.lmgc90.poroMAILx_GetStress(*args)[source]

void poroMAILx_GetStress(int ivalue1, double **matrix_out, int *dim1, int *dim2, int ivalue4=0)

Get a copy of a stress of a given body.

Python usage : stress = poroMAILx_GetStress(ibdyty,required_field=0)

pylmgc90.chipy.lmgc90.poroMAILx_GetTherVectorFieldRank(*args)[source]

int poroMAILx_GetTherVectorFieldRank(int ibdyty, int blmty, char *name)

Get the rank of field of an element of a body from its name.

python usage : f_rank = poroMAILx_GetTherVectorFieldRank(ibdyty, iblmty, name)

pylmgc90.chipy.lmgc90.poroMAILx_IncrementStep(*args)[source]

void poroMAILx_IncrementStep(void)

correction of the configuration parameter using the theta-method

python usage : poroMAILx_IncrementStep()

pylmgc90.chipy.lmgc90.poroMAILx_LoadALE(*args)[source]

void poroMAILx_LoadALE(int IdBody)

Apply an ALE Formulation in Fluid zone.

python usage : poroMAILx_LoadALE(IdBody)

pylmgc90.chipy.lmgc90.poroMAILx_LoadBehaviours(*args)[source]

void poroMAILx_LoadBehaviours(void)

load from bulk_behav

python usage : pordMAILx_LoadBehaviours()

pylmgc90.chipy.lmgc90.poroMAILx_LoadModels(*args)[source]

void poroMAILx_LoadModels(void)

load from MAILx and models

python usage : poroMAILx_LoadModels()

pylmgc90.chipy.lmgc90.poroMAILx_PostModels(*args)[source]

void poroMAILx_PostModels(void)

load from MAILx and models for post

python usage : poroMAILx_PostModels()

pylmgc90.chipy.lmgc90.poroMAILx_PushProperties(*args)[source]

void poroMAILx_PushProperties(void)

declares to models couple (model,behav)

python usage : poroMAILx_PushProperties()

pylmgc90.chipy.lmgc90.poroMAILx_PutBodyVector(*args)[source]

void poroMAILx_PutBodyVector(char *cvalue1_c, int ivalue1, double *rvector_in, int rlength_in)

Set a vector of a given body.

python usage : poroMAILx_PutBodyVector(datatype, ibdyty, vector)

pylmgc90.chipy.lmgc90.poroMAILx_ReadDrivenDof(*args)[source]

void poroMAILx_ReadDrivenDof(void)

Read DRV_DOF.DAT.

python usage : poroMAILx_ReadDrivenDof()

pylmgc90.chipy.lmgc90.poroMAILx_ReadIniDof(*args)[source]

void poroMAILx_ReadIniDof(void)

Read DOF.INI.

python usage : poroMAILx_ReadIniDof()

pylmgc90.chipy.lmgc90.poroMAILx_ReadIniGPV(*args)[source]

void poroMAILx_ReadIniGPV(void)

python usage : poroMAILx_ReadIniGPV()

pylmgc90.chipy.lmgc90.poroMAILx_ReadIniMecaDof(*args)[source]

void poroMAILx_ReadIniMecaDof(void)

Read DOF.INI.

python usage : poroMAILx_ReadIniMecaDof()

pylmgc90.chipy.lmgc90.poroMAILx_ReadIniMecaGPV(*args)[source]

void poroMAILx_ReadIniMecaGPV(void)

python usage : poroMAILx_ReadIniMecaGPV()

pylmgc90.chipy.lmgc90.poroMAILx_SetMecaScalarFieldByElem(*args)[source]

void poroMAILx_SetMecaScalarFieldByElem(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update elementary scalar field through a element external field on a given body.

Field values are stored at Gauss point, on an element all Gauss point have the element value

python usage : poroMAILx_SetMecaScalarFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.poroMAILx_SetMecaScalarFieldByNode(*args)[source]

void poroMAILx_SetMecaScalarFieldByNode(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update an external field on a given body.

python usage : poroMAILx_SetMecaScalarFieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.poroMAILx_SetMecaVectorFieldByElem(*args)[source]

void poroMAILx_SetMecaVectorFieldByElem(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : poroMAILx_SetFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.poroMAILx_SetMecaVectorFieldByNode(*args)[source]

void poroMAILx_SetMecaVectorFieldByNode(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : poroMAILx_SetFieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.poroMAILx_SetPreconAllBodies(*args)[source]

void poroMAILx_SetPreconAllBodies(void)

ask for precomputation of the W matrix on support node dofs of contactors for all bodies. Assumes bulk behaviour is linear.

python usage : poroMAILx_SetPreconAllBodies()

pylmgc90.chipy.lmgc90.poroMAILx_SetTherScalarFieldByElem(*args)[source]

void poroMAILx_SetTherScalarFieldByElem(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update elementary scalar field through a element external field on a given body.

Field values are stored at Gauss point, on an element all Gauss point have the element value

python usage : poroMAILx_SetTherScalarFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.poroMAILx_SetTherScalarFieldByNode(*args)[source]

void poroMAILx_SetTherScalarFieldByNode(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update an external field on a given body.

python usage : poroMAILx_SetTherieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.poroMAILx_SetTherVectorFieldByElem(*args)[source]

void poroMAILx_SetTherVectorFieldByElem(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : poroMAILx_SetFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.poroMAILx_SetTherVectorFieldByNode(*args)[source]

void poroMAILx_SetTherVectorFieldByNode(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : poroMAILx_SetFieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.poroMAILx_SetVlocyDrivenDof(*args)[source]

void poroMAILx_SetVlocyDrivenDof(int IdBody, int f_dof, int f_noce, double f_value)

Apply Drv Dof on a given body.

python usage : poroMAILx_SetVlocyDrivenDof(IdBody, f_dof, f_node, f_value)

pylmgc90.chipy.lmgc90.poroMAILx_SkylineStorage(*args)[source]

void poroMAILx_SkylineStorage(void)

use skyline matrix

python usage : poroMAILx_SkylineStorage()

pylmgc90.chipy.lmgc90.poroMAILx_SparseStorage(*args)[source]

void poroMAILx_SparseStorage(void)

use sparse matrix

python usage : poroMAILx_SparseStorage()

pylmgc90.chipy.lmgc90.poroMAILx_SymmetricShape(*args)[source]

void poroMAILx_SymmetricShape(void)

assume matrix is symmetrical

python usage : poroMAILx_SymmetricShape()

pylmgc90.chipy.lmgc90.poroMAILx_UnspecifiedShape(*args)[source]

void poroMAILx_UnspecifiedShape(void)

does not assume any thing on matrix shape

python usage : poroMAILx_UnspecifiedShape()

pylmgc90.chipy.lmgc90.poroMAILx_UpdateBulk(*args)[source]

void poroMAILx_UpdateBulk(void)

update begin elementary fields with current elementary fields

python usage : poroMAILx_UpdateBulk(void)

pylmgc90.chipy.lmgc90.poroMAILx_UpdateDof(*args)[source]

void poroMAILx_UpdateDof(void)

update begin dof with current dof

python usage : poroMAILx_UpdateDof()

pylmgc90.chipy.lmgc90.poroMAILx_WithoutRenumbering(*args)[source]

void poroMAILx_WithoutRenumbering(void)

skip renumbering of the unknowns using a rcc method

python usage : poroMAILx_WithoutRenumbering()

pylmgc90.chipy.lmgc90.poroMAILx_WriteDrivenDof(*args)[source]

void poroMAILx_WriteDrivenDof(void)

Write DRV_DOF.OUT.

python usage : poroMAILx_WriteDrivenDof()

pylmgc90.chipy.lmgc90.poroMAILx_WriteLastDof(*args)[source]

void poroMAILx_WriteLastDof(void)

Write ascii DOF.LAST file.

python usage : poroMAILx_WriteLastDof()

pylmgc90.chipy.lmgc90.poroMAILx_WriteOutDof(*args)[source]

void poroMAILx_WriteOutDof(void)

Write ascii DOF.OUT file. Can be activate only each N step.

python usage : poroMAILx_WriteOutDof()

pylmgc90.chipy.lmgc90.post2D_CircularSelection(*args)[source]

void post2D_CircularSelection(double rvalue1, double rvalue2, double rvalue3)

Initialize data for postreatment using a circular selection.

python usage : post2D_CircularSelection(x_coor, y_coor, radius)

pylmgc90.chipy.lmgc90.post2D_CleanMemory(*args)[source]

void post2D_CleanMemory(void)

Free all memory allocated within post2D module.

python usage : post2D_CleanMemory()

pylmgc90.chipy.lmgc90.post2D_DeclareNewGMVMaterial(*args)[source]

void post2D_DeclareNewGMVMaterial(int ivalue)

Adds specific materail for the display.

python usage : post2D_DeclareNewGMVMaterial(ivalue)

pylmgc90.chipy.lmgc90.post2D_DisplacementAmplification(*args)[source]

void post2D_DisplacementAmplification(double rvalue)

It allows to amplify the magnitude of displacement.

python usage : post2D_DisplacementAmplication(factor)

pylmgc90.chipy.lmgc90.post2D_Init(*args)[source]

void post2D_Init(void)

Initialize the database.

python usage : post2D_Init()

pylmgc90.chipy.lmgc90.post2D_InitBinary(*args)[source]

void post2D_InitBinary(void)

Initialize the database.

python usage : post2D_InitBinary()

pylmgc90.chipy.lmgc90.post2D_InitBinaryGMV(*args)[source]

void post2D_InitBinaryGMV(void)

Initialize the database.

python usage : post2D_InitBinaryGMV()

pylmgc90.chipy.lmgc90.post2D_InitGMV(*args)[source]

void post2D_InitGMV(void)

Initialize the database.

python usage : post2D_InitGMV()

pylmgc90.chipy.lmgc90.post2D_RestartGMV(*args)[source]

void post2D_RestartGMV(void)

It allows you not rewrite in some displayed file.

python usage : post2D_RestartGMV()

Specifies that you want to restart the displaying gmv file from the value stored in DISPLAY/DISPLAYED_GMV

pylmgc90.chipy.lmgc90.post2D_SetDisplayedField(*args)[source]

void post2D_SetDisplayedField(char *cvalue_c)

Specifies which data you want to compute an display between two displayed steps.

python usage : post2D_SetDisplayedField(field)

pylmgc90.chipy.lmgc90.post2D_SetNewGMVMaterial(*args)[source]

void post2D_SetNewGMVMaterial(int ivalue, char *cvalue_c)

Adds specific material for the display.

python usage : post2D_SetNewGMVMaterial(ivalue, list_behav)

pylmgc90.chipy.lmgc90.post2D_SetPeriodicCondition(*args)[source]

void post2D_SetPeriodicCondition(double rvalue)

Set the periode of simulation system, the X value reaches between 0 and rvalue.

python usage : post2D_SetPeriodicCondition(period)

pylmgc90.chipy.lmgc90.post2D_SetReferenceRadius(*args)[source]

void post2D_SetReferenceRadius(double rvalue)

Set the size of the glyph used to visualize contact.

python usage : post2D_SetReferenceRadius(radius)

pylmgc90.chipy.lmgc90.post2D_SetReferenceReacMax(*args)[source]

void post2D_SetReferenceReacMax(double rvalue)

Set the maximum reference value of the contact force.

python usage : post2D_SetReferenceReacMax(max_reac)

pylmgc90.chipy.lmgc90.post2D_WriteOutDisplayFile(*args)[source]

void post2D_WriteOutDisplayFile(int ivalue)

Write gmv file.

python usage : post2D_WriteOutDisplayFile(ivalue)

pylmgc90.chipy.lmgc90.post2D_WriteOutGMV(*args)[source]

void post2D_WriteOutGMV(int ivalue)

Write gmv file.

python usage : post2D_WriteOutGMV(ivalue)

pylmgc90.chipy.lmgc90.post2D_reset(*args)[source]

void post2D_reset(void)

Reset flag to initialize post2D again.

python usage : post2D_reset()

pylmgc90.chipy.lmgc90.post3D_CleanMemory(*args)[source]

void post3D_CleanMemory(void)

Free all memory allocated within post3D module.

python usage : post3D_CleanMemory()

pylmgc90.chipy.lmgc90.post3D_GetBody(*args)[source]

void post3D_GetBody(double **r8_vector, int *r8_size)

python usage : vector = GetBody()

vector (doubel array) : output vector

pylmgc90.chipy.lmgc90.post3D_GetBodyIni(*args)[source]

void post3D_GetBodyIni(double **r8_vector, int *r8_size)

python usage : vector = GetBodyIni()

vector (doubel array) : output vector

pylmgc90.chipy.lmgc90.post3D_GetBodyIniStoredDataSize(*args)[source]

int post3D_GetBodyIniStoredDataSize(void)

python usage : ires = post3D_GetBodyIniStoredDataSize()

ires (integer) : number of data stored

pylmgc90.chipy.lmgc90.post3D_GetBodyStoredDataSize(*args)[source]

int post3D_GetBodyStoredDataSize(void)

python usage : ires = post3D_GetBodyStoredDataSize()

ires (integer) : number of data stored

pylmgc90.chipy.lmgc90.post3D_GetContact(*args)[source]

void post3D_GetContact(double **r8_vector, int *r8_size)

python usage : vector = GetContact()

vector (doubel array) : output vector

pylmgc90.chipy.lmgc90.post3D_GetContactStoredDataSize(*args)[source]

int post3D_GetContactStoredDataSize(void)

python usage : ires = post3D_GetContactStoredDataSize()

ires (integer) : number of data stored

pylmgc90.chipy.lmgc90.post3D_GetNbContact(*args)[source]

int void post3D_GetNbContact(void)

python usage : ires = post3D_GetNbContact()

ires (integer) : number of contacts 3D

pylmgc90.chipy.lmgc90.post3D_GetNbRbdy3(*args)[source]

int post3D_GetNbRbdy3(void)

python usage : nb_RBDY3 = post3D_GetNbRbdy3()

nb_RBDY3 (integer) : number of rigid bodies 3D

pylmgc90.chipy.lmgc90.post3D_Init(*args)[source]

void post3D_Init(void)

Do all the computation without displaying the value.

python usage : post3D_Init()

Needed for a use in combination with LMGC90/POSTPRO

pylmgc90.chipy.lmgc90.post3D_LoadExternalSurface(*args)[source]

void post3D_LoadExternalSurface(void)

load surf.txt to display a surface not traingulated

void post3D_LoadExternalSurface(void) python usage : post3D_LoadExternalSurface(void)

pylmgc90.chipy.lmgc90.post3D_SetDisplayedField(*args)[source]

void post3D_SetDisplayedField(char *cvalue_c)

Specifies which data you want to compute an display between two displayed steps.

python usage : post3D_SetDisplayedField(field)

pylmgc90.chipy.lmgc90.post3D_SetRadiusPT3Dx(*args)[source]

void post3D_SetRadiusPT3Dx(double ratio)

Set the spher radius used to display PT3Dx.

python usage : post3D_SetRadiusPT3Dx(ratio)

pylmgc90.chipy.lmgc90.post3D_SetReferenceRadius(*args)[source]

void post3D_SetReferenceRadius(double rvalue)

Set the reference value for displaying the contact forces.

python usage : post3D_SetReferenceRadius(ref_radius)

pylmgc90.chipy.lmgc90.post3D_SetXPeriodicCondition(*args)[source]

void post3D_SetXPeriodicCondition(double xperiod)

initialise data for simulation using periodic condition

python usage : post3D_SetXPeriodicCondition(xperiod)

pylmgc90.chipy.lmgc90.post3D_SetYPeriodicCondition(*args)[source]

void post3D_SetYPeriodicCondition(double yperiode)

initialise data for simulation using periodic condition

void post3D_SetYPeriodicCondition(double yperiod) python usage : post3D_SetYPeriodicCondition(yperiod)

pylmgc90.chipy.lmgc90.post3D_Update(*args)[source]

void post3D_Update(void)

Do all the computation without displaying the value.

python usage : post3D_Update()

Needed for a use in combination with LMGC90/POSTPRO

pylmgc90.chipy.lmgc90.postpro_3D_CleanMemory(*args)[source]

void postpro_3D_CleanMemory(void)

Free all memory allocated within postpro_3D module.

python usage : postpro_3D_CleanMemory()

pylmgc90.chipy.lmgc90.postpro_3D_ClosePostproFiles(*args)[source]

void postpro_3D_ClosePostproFiles(void)

Close all postpro files.

python usage : postpro_3D_ClosePostproFiles()

pylmgc90.chipy.lmgc90.postpro_3D_GetKineticEnergy(*args)[source]

double postpro_3D_GetKineticEnergy(void)

Compute Kinetic Energy for all bodies (rigids and defo)

python usage : KE = postpro_3D_GetKineticEnergy()

pylmgc90.chipy.lmgc90.postpro_3D_PostproBeforeComputation(*args)[source]

void postpro_3D_PostproBeforeComputation(void)

Data initialization and scan postprocessing function which should be called before the computation process.

python usage : postpro_3D_PostproBeforeComputation()

pylmgc90.chipy.lmgc90.postpro_3D_PostproDuringComputation(*args)[source]

void postpro_3D_PostproDuringComputation(void)

Scan postprocessing function which should be call during the computation process.

python usage : postpro_3D_PostproDuringComputation()

pylmgc90.chipy.lmgc90.postpro_CleanMemory(*args)[source]

void postpro_CleanMemory(void)

Free all memory allocated within postpro module.

python usage : postpro_CleanMemory()

pylmgc90.chipy.lmgc90.postpro_ClosePostproFiles(*args)[source]

void postpro_ClosePostproFiles(void)

Close all postpro files.

python usage : postpro_ClosePostproFiles()

pylmgc90.chipy.lmgc90.postpro_MoveCircularSelectionZone(*args)[source]

void postpro_MoveCircularSelectionZone(double rvalue1, double rvalue2)

Increment the position of the circular selection defined with CIRCULAR_SELECTION.

python usage : postpro_MoveCircularSelectionZone(rvalue1, rvalu2)

pylmgc90.chipy.lmgc90.postpro_PostproBeforeComputation(*args)[source]

void postpro_PostproBeforeComputation(void)

Data initialization and scan postprocessing function which should be called before the computation process.

python usage : postpro_PostproBeforeComputation()

pylmgc90.chipy.lmgc90.postpro_PostproDuringComputation(*args)[source]

void postpro_PostproDuringComputation(void)

Scan postprocessing function which should be call during the computation process.

python usage : postpro_PostproDuringComputation()

pylmgc90.chipy.lmgc90.postpro_SetCircularSelectionZone(*args)[source]

void postpro_SetCircularSelectionZone(double rvalue1, double rvalue2, double rvalue3)

Initialize data for postreatment using a circular selection.

python usage : postpro_SetCircularSelectionZone(rvalue1, rvalu2, rvalue3)

pylmgc90.chipy.lmgc90.surface_T3_compute_volume_inertia(*args)[source]

void surface_T3_compute_volume_inertia(double *rvector_in, int rlength_in, int *ivector_inout, int ilength_inout, double *rvector_out, int rlength_out, double *rvector_out2, int rlength_out2, double *res)

Computes the volume of an object described by a triangulated surface.

WARNING: 1) we assume size_coor is three times the number of nodes and size_connec is three times the number of elements python call: x_G, I, vol=surface_T3_compute_volume_inertia(coor, connec, 3, 9)

pylmgc90.chipy.lmgc90.surface_T3_identify_entities(*args)[source]

void surface_T3_identify_entities(int nbnode, int max_adj_ele_2_node, int *ivector_in, int ilength_in, int *ivector_out, int ilength_out)

Attributes an entity number to triangles, by computing connected components.

WARNING: 1) we assume size_connec is three times the number of elements and size_ele2entity is the number of elements python call: ele2entity=surface_T3_identify_entities(nbnode, max_adj_ele_2_node, connec, nbele)

pylmgc90.chipy.lmgc90.tact_behav_AddToSeeContainer(*args)[source]

void tact_behav_AddToSeeContainer(char *c_cdbdy, char *c_cdtac, char *c_cdcol, char *c_behav, char *c_anbdy, char *c_antac, char *c_ancol, double c_alert, double c_global_alert)

add a see table to the container

python usage : tact_behav_AddToSeeContainer(cdbdy,cdtac,cdcol,behav,anbdy,antac,ancol,alert,global_alert)

pylmgc90.chipy.lmgc90.tact_behav_AppendOutTactBehav(*args)[source]

void tact_behav_AppendOutTactBehav(void)

write (append) tact and see to OUTBOX/TACT_BEHAV.OUT

python usage : tact_behav_AppendOutTactBehav()

pylmgc90.chipy.lmgc90.tact_behav_CleanMemory(*args)[source]

void tact_behav_CleanMemory(void)

Free all memory allocated within tact_behav module.

python usage : tact_behav_CleanMemory()

pylmgc90.chipy.lmgc90.tact_behav_CleanOutTactBehav(*args)[source]

void tact_behav_CleanOutTactBehav(void)

erase OUTBOX/TACT_BEHAV.OUT

python usage : tact_behav_CleanOutTactBehav()

pylmgc90.chipy.lmgc90.tact_behav_CloseBehavContainer(*args)[source]

void tact_behav_CloseBehavContainer(void)

close the container (access as an array)

python usage : tact_behav_TactBehavContainer()

pylmgc90.chipy.lmgc90.tact_behav_CloseSeeContainer(*args)[source]

void tact_behav_CloseSeeContainer(void)

close the container (access as an array)

python usage : tact_behav_CloseSeeContainer()

pylmgc90.chipy.lmgc90.tact_behav_CollectOutTactBehav(*args)[source]

void tact_behav_CollectOutTactBehav(void)

old fashion read from OUTBOX/TACT_BEHAV.OUT

python usage : tact_behav_CollectOutTactBehav()

pylmgc90.chipy.lmgc90.tact_behav_FillContainersFromFile(*args)[source]

void tact_behav_FillContainersFromFile(void)

read DATBOX/TACT_BEHAV.DAT and fill the containers (see and tact)

python usage : tact_behav_FillContainersFromFile()

pylmgc90.chipy.lmgc90.tact_behav_GetNbTactBehav(*args)[source]

int tact_behav_GetNbTactBehav(void)

get the number of tact laws

python usage : nb_tact_behav = tact_behav_GetNbTactBehav()

pylmgc90.chipy.lmgc90.tact_behav_GetParam(*args)[source]

double tact_behav_GetParam(int i_tact, int i_param)

get the value ...

python usage : param = tact_behav_GetParam(i_tact,i_param)

pylmgc90.chipy.lmgc90.tact_behav_GetParamRankFromName(*args)[source]

int tact_behav_GetParamRankFromName(int i_tact, char *cvalue1)

get the rank of a param for a given tact behav law

python usage : rank = tact_behav_GetParamRankFromName(i_tact,c5)

pylmgc90.chipy.lmgc90.tact_behav_GetTactBehav(*args)[source]

void tact_behav_GetTactBehav(int i_tb, char **string_out, int *string_size, char **c5, double **r8_vector, int *r8_size)

get a given tact law

python usage : [lawty, behav, param] = tact_behav_GetTactBehav(i_tb)

pylmgc90.chipy.lmgc90.tact_behav_GetTactBehavRankFromName(*args)[source]

int tact_behav_GetTactBehavRankFromName(char *cvalue1)

get the rank of a tact behav law

python usage : rank = tact_behav_GetTactBehavRankFromName(c5)

pylmgc90.chipy.lmgc90.tact_behav_OpenBehavContainer(*args)[source]

void tact_behav_OpenBehavContainer(void)

open the container (access as a linked list) in order to add/remove objects

python usage : tact_behav_OpenBehavContainer()

pylmgc90.chipy.lmgc90.tact_behav_OpenSeeContainer(*args)[source]

void tact_behav_OpenSeeContainer(void)

open the container (access as a linked list) in order to add/remove objects

python usage : tact_behav_OpenSeeContainer()

pylmgc90.chipy.lmgc90.tact_behav_ReadBehaviours(*args)[source]

void tact_behav_ReadBehaviours(void)

open + fill + close

python usage : tact_behav_ReadBehaviours()

pylmgc90.chipy.lmgc90.tact_behav_RebuildInTactBehav(*args)[source]

void tact_behav_RebuildInTactBehav(void)

write (replace) tact and see to DATBOX/TACT_BEHAV.DAT

python usage : tact_behav_RebuildInTactBehav()

pylmgc90.chipy.lmgc90.tact_behav_SetCZMwithInitialFriction(*args)[source]

void void tact_behav_SetCZMwithInitialFriction(int pow=0)

define the way friction is taken into account when CZ is not broken: =0 constant value, =1 linear evolution, 2 = quadratic

python usage : tact_behav_SetCZMwithInitialFriction(pow)

pylmgc90.chipy.lmgc90.tact_behav_SetD1overD2(*args)[source]

void tact_behav_SetD1overD2(double r8)

set the value DI/DII for Tvergaard - Hutchinson trapezoidal law

python usage : tact_behav_SetD1overD2(param)

pylmgc90.chipy.lmgc90.tact_behav_SetDilatancyParameters(*args)[source]

void tact_behav_SetDilatancyParameters(double fric, double height)

set dilatancy parameters

python usage : tact_behav_SetDilatancyParameters(fric,height)

pylmgc90.chipy.lmgc90.tact_behav_SetG1overG2(*args)[source]

void tact_behav_SetG1overG2(double r8)

set the value GI/GII

python usage : tact_behav_SetG1overG2(param)

pylmgc90.chipy.lmgc90.tact_behav_SetParam(*args)[source]

void tact_behav_SetParam(int i_tact, int i_param, double r8)

set the value ...

python usage : tact_behav_SetParam(i_tact, i_param, param)

pylmgc90.chipy.lmgc90.tact_behav_SetRNcap(*args)[source]

void tact_behav_SetRNcap(double r8)

set a maximal compression value

python usage : tact_behav_SetRNcap(param)

pylmgc90.chipy.lmgc90.tact_behav_SetS1overS2(*args)[source]

void tact_behav_SetS1overS2(double r8)

set the value SI/SII

python usage : tact_behav_SetS1overS2(param)

pylmgc90.chipy.lmgc90.tact_behav_WriteBehaviours(*args)[source]

void tact_behav_WriteBehaviours(void)

write (replace) tact and see to OUTBOX/TACT_BEHAV.OUT

python usage : tact_behav_WriteBehaviours()

pylmgc90.chipy.lmgc90.tact_behav_initFrictionEvolution(*args)[source]

void void tact_behav_initFrictionEvolution()

[experimental] read a friction time evolution map

python usage : tact_behav_initFrictionEvolution()

pylmgc90.chipy.lmgc90.tact_behav_setRandomFriction(*args)[source]

void tact_behav_setRandomFriction(double r8)

Active variation of local friction.

python usage : tact_behav_setRandomFriction(r8)

pylmgc90.chipy.lmgc90.therMAILx_AddNodalFieldDivergence(*args)[source]

void therMAILx_AddNodalFieldDivergence(int ivalue1, int ivalue2)

Add the divergence of a field to external flux.

python usage : therMAILx_AddNodalFieldDivergence(ibdyty, ifield)

pylmgc90.chipy.lmgc90.therMAILx_AddSource(*args)[source]

void therMAILx_AddSource(int ivalue1, int ivalue2)

Add a volumic source into a given body.

python usage : therMAILx_AddSource(ibdyty, ifield)

pylmgc90.chipy.lmgc90.therMAILx_AssembThermKT(*args)[source]

void therMAILx_AssembThermKT(int *ivector_in=NULL, int ilength_in=0)

assembles elementary matrices

python usage : therMAILx_AssembKT(i_list)

pylmgc90.chipy.lmgc90.therMAILx_AssembThermRHS(*args)[source]

void therMAILx_AssembThermRHS(int *ivector_in=NULL, int ilength_in=0)

assembles elementary vectors

python usage : therMAILx_AssembRHS(i_list)

pylmgc90.chipy.lmgc90.therMAILx_BandStorage(*args)[source]

void therMAILx_BandStorage(void)

use band matrix

python usage : therMAILx_BandStorage()

pylmgc90.chipy.lmgc90.therMAILx_CleanMemory(*args)[source]

void therMAILx_CleanMemory(void)

Free all memory allocated within therMAILx module.

python usage : therMAILx_CleanMemory()

pylmgc90.chipy.lmgc90.therMAILx_ComputeCapacity(*args)[source]

void therMAILx_ComputeCapacity(int *ivector_in=NULL, int ilength_in=0)

computes the elemetary capacity matrices

python usage : therMAILx_ComputeCapacity(i_list)

pylmgc90.chipy.lmgc90.therMAILx_ComputeConductivity(*args)[source]

void therMAILx_ComputeConductivity(int *ivector_in=NULL, int ilength_in=0)

computes the elementary conductivity matrices of a list of bodies

If the input list is empty, the conductivities of all bodies will be computed

python usage : therMAILx_ComputeConductivity(i_list)

pylmgc90.chipy.lmgc90.therMAILx_ComputeConvection(*args)[source]

void therMAILx_ComputeConvection(int *ivector_in=NULL, int ilength_in=0)

compute elementary convection terms

python usage : therMAILx_ComputeConvection(i_list)

pylmgc90.chipy.lmgc90.therMAILx_ComputeExternalFlux(*args)[source]

void therMAILx_ComputeExternalFlux(int *ivector_in=NULL, int ilength_in=0)

compute elementary external flux

python usage : therMAILx_ComputeExternalFlux(i_list)

pylmgc90.chipy.lmgc90.therMAILx_ComputeInternalFlux(*args)[source]

void therMAILx_ComputeInternalFlux(int *ivector_in=NULL, int ilength_in=0)

compute elementary internal flux

python usage : therMAILx_ComputeInternalFlux(i_list)

pylmgc90.chipy.lmgc90.therMAILx_ComputeResidueNorm(*args)[source]

double therMAILx_ComputeResidueNorm(int *ivector_in=NULL, int ilength_in=0)

compute the residue of the thermal equation

python usage : norm = therMAILx_ComputeResidueNorm(i_list)

pylmgc90.chipy.lmgc90.therMAILx_ComputeThermDof(*args)[source]

void therMAILx_ComputeThermDof(int *ivector_in=NULL, int ilength_in=0)

computes current dof

python usage : therMAILx_ComputeThermDof(i_list)

pylmgc90.chipy.lmgc90.therMAILx_ComputeThermFields(*args)[source]

void therMAILx_ComputeThermFields(int *ivector_in=NULL, int ilength_in=0)

computes elementary fields

python usage : therMAILx_ComputeThermFields(i_list)

pylmgc90.chipy.lmgc90.therMAILx_DiagonalStorage(*args)[source]

void therMAILx_DiagonalStorage(void)

use diagonal matrix

python usage : therMAILx_DiagonalStorage()

pylmgc90.chipy.lmgc90.therMAILx_DisplayOutDof(*args)[source]

void therMAILx_DisplayOutDof(void)

Display body degrees of freedom.

python usage : therMAILx_DisplayOutDof()

pylmgc90.chipy.lmgc90.therMAILx_ExplodedStorage(*args)[source]

void therMAILx_ExplodedStorage(void)

use element by element matrix

python usage : therMAILx_ExplodedStorage()

pylmgc90.chipy.lmgc90.therMAILx_FullStorage(*args)[source]

void therMAILx_FullStorage(void)

use full matrix

python usage : therMAILx_FullStorage()

pylmgc90.chipy.lmgc90.therMAILx_GetAll(*args)[source]

void therMAILx_GetAll(int idBody, double **matrix_out, int *dim1, int *dim2)

return mechanical data computed for idBody

python usage : array = therMAILx_GetAll(idBody)

pylmgc90.chipy.lmgc90.therMAILx_GetBodyVector(*args)[source]

void therMAILx_GetBodyVector(char *cvalue1_c, int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of a vector of a given body.

python usage : vector = therMAILx_GetBodyVector(datatype, ibdyty)

pylmgc90.chipy.lmgc90.therMAILx_GetConnectivity(*args)[source]

void therMAILx_GetConnectivity(int idBody, int **i4_vector, int *i4_size)

return connectivity of idBody elements

python usage : vector = therMAILx_GetConnectivity(idBody)

pylmgc90.chipy.lmgc90.therMAILx_GetCoor(*args)[source]

void therMAILx_GetCoor(int idBody, double **matrix_out, int *dim1, int *dim2)

return node coordinates of idBody

python usage : array = therMAILx_GetCoor(idBody)

pylmgc90.chipy.lmgc90.therMAILx_GetFlux(*args)[source]

void therMAILx_GetFlux(int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of a gradient of a given body.

Python usage : Flux_T = therMAILx_GetFlux(ibdyty)

pylmgc90.chipy.lmgc90.therMAILx_GetGrad(*args)[source]

void therMAILx_GetGrad(int ivalue1, double **matrix_out, int *dim1, int *dim2)

Get a copy of a gradient of a given body.

Python usage : grad_T = therMAILx_GetGrad(ibdyty)

pylmgc90.chipy.lmgc90.therMAILx_GetNbDofs(*args)[source]

int therMAILx_GetNbDofs(int)

Get the number of dofs for the therMAILX.

python usage : nb_dofs = therMAILx_GetNbDofs(int ibdyty)

nb_dofs (integer) : number of dofs of the body for the model

pylmgc90.chipy.lmgc90.therMAILx_GetNbElements(*args)[source]

int therMAILx_GetNbElements(int ivalue)

Get the number of nodes of a therMAILx.

python usage : nb_nodes = therMAILx_GetNbElements(ibdyty)

pylmgc90.chipy.lmgc90.therMAILx_GetNbNodes(*args)[source]

int therMAILx_GetNbNodes(int ivalue)

Get the number of nodes of a therMAILx.

python usage : nb_nodes = therMAILx_GetNbNodes(ibdyty)

pylmgc90.chipy.lmgc90.therMAILx_GetNbTherMAILx(*args)[source]

int therMAILx_GetNbTherMAILx(void)

Get the number of therMAILx.

python usage : nb_therMAILx = GetNbTherMAILx()

nb_therMAILx (integer) : number of therMAILx

pylmgc90.chipy.lmgc90.therMAILx_GetScalarFieldRank(*args)[source]

int therMAILx_GetScalarFieldRank(int ibdyty, int blmty, char *name)

Get the rank of field of an element of a body from its name.

python usage : f_rank = therMAILx_GetScalarFieldRank(ibdyty, iblmty, name)

pylmgc90.chipy.lmgc90.therMAILx_GetVectorFieldRank(*args)[source]

int therMAILx_GetVectorFieldRank(int ibdyty, int blmty, char *name)

Get the rank of field of an element of a body from its name.

python usage : f_rank = therMAILx_GetVectorFieldRank(ibdyty, iblmty, name)

pylmgc90.chipy.lmgc90.therMAILx_GpvVTKDrawAll(*args)[source]

void therMAILx_GpvVTKDrawAll(void)

create a VTK file showing gpv values

python usage : therMAILx_GpvVTKDrawAll(void)

pylmgc90.chipy.lmgc90.therMAILx_IncrementStep(*args)[source]

void therMAILx_IncrementStep(void)

initializes current dof

python usage : therMAILx_IncrementStep()

pylmgc90.chipy.lmgc90.therMAILx_InitializeElementaryFlux(*args)[source]

void therMAILx_InitializeElementaryFlux(void)

set elementary flux to 0

python usage : therMAILx_InitializeElementaryFlux()

pylmgc90.chipy.lmgc90.therMAILx_LoadBehaviours(*args)[source]

void therMAILx_LoadBehaviours(void)

loads bulk behaviors parameters from bulk_behav module

python usage : therMAILx_LoadBehaviours()

pylmgc90.chipy.lmgc90.therMAILx_LoadModels(*args)[source]

void therMAILx_LoadModels(void)

loads models frol models module

python usage : therMAILx_LoadModels()

pylmgc90.chipy.lmgc90.therMAILx_PushProperties(*args)[source]

void therMAILx_PushProperties(void)

declares to module model the couples (model,behavior) used

python usage : therMAILx_PushProperties()

pylmgc90.chipy.lmgc90.therMAILx_PutBodyVector(*args)[source]

void therMAILx_PutBodyVector(char *cvalue1_c, int ivalue1, double *rvector_in, int rlength_in)

Set a vector of a given body.

python usage : therMAILx_PutBodyVector(datatype, ibdyty, vector)

pylmgc90.chipy.lmgc90.therMAILx_ReadDrivenDof(*args)[source]

void therMAILx_ReadDrivenDof(void)

Read DRV_DOF.DAT.

python usage : therMAILx_ReadDrivenDof()

pylmgc90.chipy.lmgc90.therMAILx_ReadIniDof(*args)[source]

void therMAILx_ReadIniDof(void)

read DOF.INI

python usage : therMAILx_ReadIniDof()

pylmgc90.chipy.lmgc90.therMAILx_ReadIniGPV(*args)[source]

void therMAILx_ReadIniGPV(void)

read GPV.INI

python usage : therMAILx_ReadIniGPV()

pylmgc90.chipy.lmgc90.therMAILx_SetScalarFieldByElem(*args)[source]

void therMAILx_SetScalarFieldByElem(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update elementary scalar field through a element external field on a given body.

Field values are stored at Gauss point, on an element all Gauss point have the element value

python usage : therMAILx_SetScalarFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.therMAILx_SetScalarFieldByNode(*args)[source]

void therMAILx_SetScalarFieldByNode(int IdBody, int f_rank, double *rvector_in, int rlength_in)

Update an external field on a given body.

python usage : therMAILx_SetScalarFieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.therMAILx_SetVectorFieldByElem(*args)[source]

void therMAILx_SetVectorFieldByElem(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : therMAILx_SetFieldByElem(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.therMAILx_SetVectorFieldByNode(*args)[source]

void therMAILx_SetVectorFieldByNode(int ibdyty, int f_rank, double *matrix_in, int dim1, int dim2)

Update elementary fields through a nodal external field on a given body.

Use the form functions of the elements and input values to compute and store field values at Gauss points.

python usage : therMAILx_SetFieldByNode(IdBody, f_rank, f)

pylmgc90.chipy.lmgc90.therMAILx_SkylineStorage(*args)[source]

void therMAILx_SkylineStorage(void)

use skyline matrix

python usage : therMAILx_SkylineStorage()

pylmgc90.chipy.lmgc90.therMAILx_SparseStorage(*args)[source]

void therMAILx_SparseStorage(void)

use sparse matrix

python usage : therMAILx_SparseStorage()

pylmgc90.chipy.lmgc90.therMAILx_SymmetricShape(*args)[source]

void therMAILx_SymmetricShape(void)

assume matrix is symmetrical

python usage : therMAILx_SymmetricShape()

pylmgc90.chipy.lmgc90.therMAILx_TrialAssembThermKT(*args)[source]

void therMAILx_TrialAssembThermKT(void)

[experimental] assembles elementary matrices

python usage : therMAILx_AssembThermKT()

pylmgc90.chipy.lmgc90.therMAILx_TrialAssembThermRHS(*args)[source]

void therMAILx_TrialAssembThermRHS(void)

[experimental] assembles elementary vectors

python usage : therMAILx_AssembThermRHS()

pylmgc90.chipy.lmgc90.therMAILx_UnspecifiedShape(*args)[source]

void therMAILx_UnspecifiedShape(void)

does not assume any thing on matrix shape

python usage : therMAILx_UnspecifiedShape()

pylmgc90.chipy.lmgc90.therMAILx_UpdateThermBulk(*args)[source]

void therMAILx_UpdateThermBulk(int *ivector_in=NULL, int ilength_in=0)

update begin elementary fields with current elementary fields

python usage : therMAILx_UpdateThermBulk(i_list)

pylmgc90.chipy.lmgc90.therMAILx_UpdateThermDof(*args)[source]

void therMAILx_UpdateThermDof(int *ivector_in=NULL, int ilength_in=0)

update begin dof with current dof

python usage : therMAILx_UpdateThermDof(i_list)

pylmgc90.chipy.lmgc90.therMAILx_WithoutRenumbering(*args)[source]

void therMAILx_WithoutRenumbering(void)

skip renumbering of the unknowns using a rcc method

python usage : therMAILx_WithoutRenumbering()

pylmgc90.chipy.lmgc90.therMAILx_WriteDrivenDof(*args)[source]

void therMAILx_WriteDrivenDof(void)

Write DRV_DOF.OUT.

python usage : therMAILx_WriteDrivenDof()

pylmgc90.chipy.lmgc90.therMAILx_WriteLastDof(*args)[source]

void therMAILx_WriteLastDof(void)

Write ascii DOF.LAST file.

python usage : therMAILx_WriteLastDof()

pylmgc90.chipy.lmgc90.therMAILx_WriteOutDof(*args)[source]

void therMAILx_WriteOutDof(void)

Write ascii DOF.OUT file. Can be activate only each N step.

python usage : therMAILx_WriteOutDof()

pylmgc90.chipy.lmgc90.timer_GetNewTimer(*args)[source]

void timer_GetNewTimer(char *name)

create a new timer

python usage : id = timer_GetNewTimer(name)

pylmgc90.chipy.lmgc90.timer_InitializeTimers(*args)[source]

void timer_InitializeTimers(void)

Set all timers to 0.

python usage : timer_InitializeTimers()

pylmgc90.chipy.lmgc90.timer_StartTimer(*args)[source]

void timer_StartTimer(int ID)

start a given timer

python usage : timer_StartTimer(timer_id)

pylmgc90.chipy.lmgc90.timer_StopTimer(*args)[source]

void timer_StopTimer(int ID)

stop a given timer, and add the elapsed time since start to the time

python usage : timer_StopTimer(timer_id)

pylmgc90.chipy.lmgc90.timer_WriteOutTimers(*args)[source]

void timer_WriteOutTimers(void)

write the cumulated times of all the timers

python usage : timer_WriteOutTimers()

pylmgc90.chipy.lmgc90.utilities_CloseFileStandardOutput(*args)[source]

void utilities_CloseFileStandardOutput()

pylmgc90.chipy.lmgc90.utilities_DisableLogMes(*args)[source]

void utilities_DisableLogMes(void)

disable printing of messages

python usage : utilities_DisableLogMes()

pylmgc90.chipy.lmgc90.utilities_EnableLogMes(*args)[source]

void utilities_EnableLogMes(void)

enable priting of messages

python usage : utilities_EnableLogMes()

pylmgc90.chipy.lmgc90.utilities_OpenFileStandardOutput(*args)[source]

void utilities_OpenFileStandardOutput(char *ul_string, int string_size)

Select the file for standard and errors outputs.

If the filename is too long (more than 256 characters) it will be truncated

python usage : utilities_OpenFileStandardOutput(filename)

pylmgc90.chipy.lmgc90.utilities_checkFatal(*args)[source]

int utilities_checkFatal(char **error_log)

pylmgc90.chipy.lmgc90.utilities_logMes(*args)[source]

void utilities_logMes(char *ul_string, int string_size)

ask to write a message

If the message is too long (more than 256 characters) it will be truncated

python usage : utilities_logMes(message)

pylmgc90.chipy.lmgc90.utilities_resetFatal(*args)[source]

void utilities_resetFatal()

Clean fatal error state.

This function is not intended to be used in python but by swig to throw an excpetion

pylmgc90.chipy.lmgc90.utilities_setIoUnitLimits(*args)[source]

void utilities_setIoUnitLimits(int min_unit, int max_unit)

set the interval of unit numbers lmgc90 can use to open file

pylmgc90.chipy.lmgc90.utilities_setStopMode(*args)[source]

void utilities_setStopMode(bool to_stop)

Decide to stop or store a message in case of fatal error.

python usage : utilities_setStopMode()

pylmgc90.chipy.lmgc90.xKSID_CleanMemory(*args)[source]

void xKSID_CleanMemory(void)

Free all memory allocated within xKSID module.

python usage : xKSID_CleanMemory()

pylmgc90.chipy.lmgc90.xKSID_GetContactorCoor(*args)[source]

void xKSID_GetContactorCoor(int itacty, double **r8_vector, int *r8_size)

get coordinates of the center of a given xKSID

usage : vector = xKSID_GetContactorCoor(itacty)

pylmgc90.chipy.lmgc90.xKSID_GetContactorRadius(*args)[source]

double xKSID_GetContactorRadius(int itact)

Get the radius of a given xKSID.

python usage : radius = xKSID_GetContactorRadius(itact)

pylmgc90.chipy.lmgc90.xKSID_GetNbPointOutlines(*args)[source]

void xKSID_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = xKSID_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the xKSID

pylmgc90.chipy.lmgc90.xKSID_GetNbScalarFields(*args)[source]

int xKSID_GetNbScalarFields(void)

Get the number of scalar fields of a xKSID.

python usage : nb_scalarfields = xKSID_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a xKSID

pylmgc90.chipy.lmgc90.xKSID_GetNbxKSID(*args)[source]

int xKSID_GetNbxKSID(void)

Get the number of xKSID in the container.

python usage : nb_diskx = xKSID_GetNbxKSID()

nb_xKSID (integer) : the number of xKSID in container

pylmgc90.chipy.lmgc90.xKSID_GetPtrxKSID2RBDY2(*args)[source]

void xKSID_GetPtrxKSID2RBDY2(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map xksid2rbdy2

python usage : xksid2rbdy2 = xKSID_GetPtrxKSID2RBDY2()

xksid2rbdy2 (integer array) : reference on map between xksid rank and body/tact rank

pylmgc90.chipy.lmgc90.xKSID_InitOutlines(*args)[source]

void xKSID_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all xKSID.

usage : outlines = xKSID_InitOutlines() outlines (double array) : a reference on outlines_xKSID

pylmgc90.chipy.lmgc90.xKSID_InitScalarFields(*args)[source]

void xKSID_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all xKSID.

usage : scalarfields = xKSID_InitScalarfields() scalarfields (double array) : reference on scalarfields_xKSID array

pylmgc90.chipy.lmgc90.xKSID_LoadTactors(*args)[source]

void xKSID_LoadTactors()

load xKSID from RBDY2 and initialize existing_entites

python usage : xKSID_LoadTactors()

pylmgc90.chipy.lmgc90.xKSID_UpdatePostdata(*args)[source]

void xKSID_UpdatePostdata(void)

Update values of outlines_xKSID and scalarfields_xKSID pointers.

usage : xKSID_UpdatePostdata

pylmgc90.chipy.lmgc90.xPSID_CleanMemory(*args)[source]

void xPSID_CleanMemory(void)

Free all memory allocated within xPSID module.

python usage : xPSID_CleanMemory()

pylmgc90.chipy.lmgc90.xPSID_GetNbPointOutlines(*args)[source]

void xPSID_GetNbPointOutlines(int **pointer_out, int *length)

Get the list of cumulated outline points number.

python usage : nb_pointOutlines = xPSID_GetNbPointOutlines() nb_pointOutlines (integer array) : the cumulated number of outline points of the xPSID

pylmgc90.chipy.lmgc90.xPSID_GetNbScalarFields(*args)[source]

int xPSID_GetNbScalarFields(void)

Get the number of scalar fields of a xPSID.

python usage : nb_scalarfields = xPSID_GetNbScalarFields() nb_scalarfields (integer) : the number of scalar fields of a xPSID

pylmgc90.chipy.lmgc90.xPSID_GetNbxPSID(*args)[source]

int xPSID_GetNbxPSID(void)

Get the number of xPSID in the container.

python usage : nb_diskx = xPSID_GetNbxPSID()

nb_xPSID (integer) : the number of xPSID in container

pylmgc90.chipy.lmgc90.xPSID_GetPtrxPSID2RBDY2(*args)[source]

void xPSID_GetPtrxPSID2RBDY2(int **pointer_out, int *dim1, int *dim2)

return a pointer onto the map xpsid2rbdy2

python usage : xpsid2rbdy2 = xPSID_GetPtrxPSID2RBDY2()

xpsid2rbdy2 (integer array) : reference on map between xpsid rank and body rank

pylmgc90.chipy.lmgc90.xPSID_InitOutlines(*args)[source]

void xPSID_InitOutlines(double **pointer_out, int *dim1, int *dim2)

Get a reference on the outlines of all xPSID.

usage : outlines = xPSID_InitOutlines() outlines (double array) : a reference on outlines_xPSID

pylmgc90.chipy.lmgc90.xPSID_InitScalarFields(*args)[source]

void xPSID_InitScalarFields(double **pointer_out, int *dim1, int *dim2)

Get a reference on the scalar fields of all xPSID.

usage : scalarfields = xPSID_InitScalarfields() scalarfields (double array) : reference on scalarfields_xPSID array

pylmgc90.chipy.lmgc90.xPSID_LoadTactors(*args)[source]

void xPSID_LoadTactors()

load xPSID from RBDY2 and initialize existing_entites

python usage : xPSID_LoadTactors()

pylmgc90.chipy.lmgc90.xPSID_UpdatePostdata(*args)[source]

void xPSID_UpdatePostdata(void)

Update values of outlines_xPSID and scalarfields_xPSID pointers.

usage : xPSID_UpdatePostdata

Previous topic

List of functions available in pylmgc90.chipy.chipy python module:

This Page