Comments (2)
Thanks for the issue report, I believe the current implementation is correct here - as this is using Fortran's c-bind, it is typical to prototype the called c function as a pointer and then the Fortran subroutine not. You will see the same pattern throughout the entire wrapper, with variables that are actually pointers in the c code defined as double pointers and then set as type c_ptr in the Fortran subroutine.
I'm going to close this one as I believe the current implementation is correct.
from mui.
In the cpp code, arguments 'upper' and 'reset_log' are the pointers.
thus its fortran interface should be consistance.
since fortran transfers the pointers of arguments by default
so, the default mode should be used.
that's why I think 'value' should not be present
if a argument in C function is transfered by value
then we need value
in the frotran interface.
from mui.
Related Issues (20)
- Fix endianness traits HOT 3
- Calling mpi_split_by_app with a single app HOT 3
- Issue with Nearest Neighbour spatial filter HOT 2
- Not find the fetch_values function implement HOT 2
- Connecting MUI applications with different starting commands HOT 4
- MUI Coupling with the Lattice Boltzmann solver Palabos freezes HOT 2
- polymorphic uniface -- ideas / opinions wanted HOT 3
- Please, guide for how to install MUI in Lammps HOT 1
- Possible bug with fetch_points/fetch_values HOT 4
- Better packaging for Python wrapper. HOT 2
- Add unit tests for Python wrapper. HOT 3
- Store the mesh connectivity information for mesh based solvers HOT 7
- Add interpolation filter at the sending side HOT 1
- accelerating spatial samplers HOT 1
- improve generality of RBF spatial filter
- Cmake shouldn't specify FORTRAN unless needed HOT 1
- Compiling Errors for MUI Python Wrapper on macOS Based Machine HOT 4
- trasfering array of string from fortran into cpp HOT 1
- configure/install as header-only HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui.