OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
fxbsys.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine fxbsys (mt, st, n)

Function/Subroutine Documentation

◆ fxbsys()

subroutine fxbsys ( mt,
st,
integer n )

Definition at line 30 of file fxbsys.F.

31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C D u m m y A r g u m e n t s
37C-----------------------------------------------
38 INTEGER N
40 . mt(n,*), st(*)
41C-----------------------------------------------
42C L o c a l V a r i a b l e s
43C-----------------------------------------------
44 INTEGER I,II,I1,M,K,INFO,IPIV(N)
45#ifndef MYREAL8
46 DOUBLE PRECISION :: MTDB(N,N)
47 DOUBLE PRECISION :: STDB(N)
48#endif
49C
50#ifdef WITHOUT_LINALG
51 WRITE(6,*) "Error: Lapack needed for Flexible bodies"
52 CALL flush(6)
53 CALL arret(5)
54#else
55#ifdef MYREAL8
56 CALL dgetrf(n,n,mt,n,ipiv,info)
57 CALL dgetrs('N',n,1,mt,n,ipiv,st,n,info)
58#else
59 mtdb(1:n,1:n) = mt(1:n,1:n)
60 CALL dgetrf(n,n,mtdb,n,ipiv,info)
61 stdb(1:n) = st(1:n)
62 CALL dgetrs('N',n,1,mtdb,n,ipiv,stdb,n,info)
63 st(1:n) = stdb(1:n)
64#endif
65#endif
66C
#define my_real
Definition cppsort.cpp:32
subroutine dgetrs(trans, n, nrhs, a, lda, ipiv, b, ldb, info)
DGETRS
Definition dgetrs.f:121
subroutine dgetrf(m, n, a, lda, ipiv, info)
DGETRF
Definition dgetrf.f:108
subroutine arret(nn)
Definition arret.F:87