StackOverflow Questions for Tag: fortran-iso-c-binding

Beak
Beak

Reputation: 1

How do I use Python ctypes to interface with Fortran parameterized derived types?

Score: 0

Views: 91

Answers: 0

Read More
CuriousAlpaca
CuriousAlpaca

Reputation: 163

passing an allocatable multi dimensional fortran array to a C function

Score: 2

Views: 133

Answers: 2

Read More
Parker Lewis
Parker Lewis

Reputation: 326

ISO_C_BINDING, calling C from Fortran

Score: 1

Views: 387

Answers: 2

Read More
Francium
Francium

Reputation: 81

In Fortran2003, is 1D Assumed shape array interoperable with C?

Score: 2

Views: 489

Answers: 1

Read More
GorillazOnPlane
GorillazOnPlane

Reputation: 401

Checking `c_associated` on a `nullptr` causes segfault unless pointer has `value` attribute

Score: 1

Views: 127

Answers: 1

Read More
ATK
ATK

Reputation: 1526

Understand the basics of using BIND(C) in fortran

Score: 2

Views: 4177

Answers: 1

Read More
Adrian
Adrian

Reputation: 335

Problems with passing data between C++ and F90

Score: 0

Views: 208

Answers: 0

Read More

MPI Fortran support through the mpi_f08 module with gfortran

Score: 2

Views: 3444

Answers: 3

Read More
giraffe
giraffe

Reputation: 13

With iso_c_binding, sending c_ptr to C, malloc,, set value

Score: 1

Views: 303

Answers: 1

Read More
Akhil Akkapelli
Akhil Akkapelli

Reputation: 176

Value of Derived Type changes unexpectedly in C-Fortran Interoperability Code

Score: 0

Views: 34

Answers: 0

Read More
giraffe
giraffe

Reputation: 13

Fortran iso_c_binding standard: Error: Type mismatch in argument 'test_variable' at (1); passed INTEGER(8) to TYPE(c_ptr)

Score: -6

Views: 808

Answers: 1

Read More
David Wallis
David Wallis

Reputation: 562

Calling a fortran function with a derived type containing assumed size arrays

Score: 1

Views: 664

Answers: 2

Read More
user2769423
user2769423

Reputation: 11

How to pass derived type in C which is NOT interop with C struct?

Score: 1

Views: 1436

Answers: 1

Read More
gnikit
gnikit

Reputation: 1291

Propagating optional arguments from C to Fortran and vice versa

Score: 2

Views: 217

Answers: 2

Read More
gnikit
gnikit

Reputation: 1291

Pass dynamically allocated array of strings from C to Fortran

Score: 2

Views: 164

Answers: 1

Read More
byrdman1982
byrdman1982

Reputation: 127

Passing Fortran derived type array to a C function as a struct

Score: 3

Views: 528

Answers: 1

Read More
Stef1611
Stef1611

Reputation: 2387

How to have one Fortran function with different type of parameters using c_ptr?

Score: 2

Views: 292

Answers: 1

Read More
Min-Yi Tsai
Min-Yi Tsai

Reputation: 33

Python ctypes pass pointer in structure field to Fortran derived types

Score: 2

Views: 1093

Answers: 2

Read More
hunch_bot
hunch_bot

Reputation: 75

Why don't I have to specify that the result of a fortran function is being passed by value to my C++ program?

Score: 4

Views: 152

Answers: 1

Read More
Donna
Donna

Reputation: 1540

Deallocating arrays defined from c_f_pointer

Score: 5

Views: 701

Answers: 4

Read More
PreviousPage 1Next