OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
zsimple_example.m File Reference

Go to the source code of this file.

Functions

id ICNTL (6)=0
we see that there is a memory problem in INFOG (1) and INFOG(2) id.INFOG(1) id.INFOG(2) % we activate the numerical maximun transversal id.ICNTL(6)
end norm (mat *id.SOL - ones(size(mat, 1), 1), 'inf') % destroy mumps instance id.JOB

Variables

here JOB = -1
here the call to MUMPS will initialize C and fortran MUMPS structure id = zmumps(id)
load a sparse matrix load lhr01
 mat = Problem.A
 n = size(mat,1)
we set the right hand side id RHS = ones(size(mat,1),1)
if(norm(mat *id.SOL - ones(size(mat, 1), 1), 'inf') > sqrt(eps)) disp('WARNING els disp )('SOLUTION OK')

Function Documentation

◆ ICNTL()

id ICNTL ( 6 )
pure virtual

◆ INFOG()

we see that there is a memory problem in INFOG ( 1 )

◆ norm()

end norm ( mat *id.SOL - onessize(mat, 1), 1,
'inf'  )

Variable Documentation

◆ disp

if(norm(mat *id.SOL - ones(size(mat, 1), 1), 'inf') > sqrt(eps)) disp( 'WARNING els disp) ( 'SOLUTION OK') ( 'SOLUTION OK' )

Definition at line 29 of file zsimple_example.m.

◆ id

id = zmumps(id)

Definition at line 7 of file zsimple_example.m.

◆ JOB

JOB = -1

Definition at line 5 of file zsimple_example.m.

◆ lhr01

load a sparse matrix load lhr01

Definition at line 9 of file zsimple_example.m.

◆ mat

mat = Problem.A

Definition at line 10 of file zsimple_example.m.

◆ n

n = size(mat,1)

Definition at line 11 of file zsimple_example.m.

◆ RHS

we set the right hand side id RHS = ones(size(mat,1),1)

Definition at line 17 of file zsimple_example.m.