Hello, i'm trying to make a simple (partial) user interface for FEAPpv, as part of this i need to retrieve mesh
and results from feap study
NB: i use c++;
i use the input file :Iblock.txt (exemple i downloaded from feap website)
the problem is that when i use pgetd :
(see page 19 of programer manual :
The subroutine PGETD also may be used to retrieve internal data arrays by NAME for use
in user developed modules. For example, if a development requires the nodal coordinate
data the call
integer xpoint, xlen, xpre
logical flag
....
call pgetd ('X ',xpoint,xlen,xpre,flag)
this is what i get when i output the result of this command to a text file:
x.txt:
25 -12 2 T 0.0000000000000000
____________________________________________
____________________________________________
as you can see the number of cordinates (lengt - Length of array) = -12 which is wrong
and when i output coordinates they are all equal to zero (see attachment 1.png) which is wrong too;
as an alternative i tried to get values using:
double x = m_hr[pointer_.np[43]+i];
double y = m_hr[pointer_.np[43]+i*2];
but i don't get the right coordinates(see attachment 2.png)