41 #define AFF_F77INTERFACE_CC_VERSION \ 42 "AFF_F77INTERFACE_CC V1.2" 60 #include"f77common_com.P" 93 integer n1=fa.
last(0);
94 integer n2=fa.
last(1);
95 integer n3=fa.
last(2);
99 return(fill_(pa, &l1, &n1, &l2, &n2, &l3, &n3));
109 real* p1=fv1.castedpointer<real>();
111 integer n1=fv1.last(0);
112 integer n2=fv2.
last(0);
113 return(fillarray_(p1, p2, &n1, &n2));
124 comdim_(&maxa, &maxb);
130 sums_(p, &maxa, &size);
142 comdim_(&maxa, &maxb);
143 Tzvalue* p=Tcast::cast(f77common_.array);
utility for compile-time checked cast
Shape for a rectangular array layout.
const Tsubscript & dimlast(const Tdim &i) const
last index as dimensioned in dimension i
prototypes for Fortran interface (prototypes)
aff::util::Subarray< C > subarray(const C &c)
Wrapper function to select correct type.
size checked pointer cast (prototypes)
A template class to share heap memory for different array projections.
external class to create subarrays (prototypes)
exceptions and error handling macros (prototypes)
int fillarray(const aff::Array< float > &v1, const aff::Array< float > &v2)
fill common block through Fortran subroutine
aff::Array< std::complex< double > > Tzarray
#define AFF_abort(M)
Abort and give a message.
Tsize memory_size() const
total size of mapped memory range
Full multi-dimensional array functionality.This is the full array class template. It adds no addition...
Tzarray viewcommon()
create view from common
const Tsubscript & last(const Tdim &i) const
last index in dimension i
Class to provide Fortran interface values.
int MAIN__()
essential definitions to satisfy linker
Shaper class for Fortran layout.
int fill(const aff::Array< int > &a)
interface function to Fortran77 subroutine fill
Tcarray sums()
read from common block through Fortran subroutine
rectangular Fortran array layout (prototypes)
This namespace collects all test functions for interfacing Fortran 77.
TT * castedpointer() const
return type-casted pointer to first element in Fortran layout
prepare information to pass to Fortran subroutines (prototypes)