Skip to content

Commit

Permalink
All: update doc intstall and conf
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit128 committed Jul 25, 2024
1 parent d07a5ba commit 7c9d3bb
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 31 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vscode
*~
build
__pycache__
*.egg-info
Expand Down
2 changes: 1 addition & 1 deletion Fast/Fast/Fast/computePT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ PyObject* K_FAST::_computePT(PyObject* self, PyObject* args)
//
//
//
PyObject* pyParam_int_tc;PyObject* pyParam_real_tc; PyObject* iskipArray;
PyObject* pyParam_int_tc;PyObject* pyParam_real_tc; PyObject* iskipArray=NULL;
PyObject* pyLinlets_int; PyObject* pyLinlets_real;
FldArrayI* param_int_tc; FldArrayI* iskip_lu; FldArrayI* linelets_int;
FldArrayF* param_real_tc; FldArrayF* linelets_real;
Expand Down
5 changes: 4 additions & 1 deletion Fast/Fast/doc/install
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,15 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
[ $? != 0 ] && exit 1;
cd build
pdflatex Fast >& /dev/null
pdflatex Fast
[ $? != 0 ] && exit 1;
cd ..
fi

Expand Down
2 changes: 1 addition & 1 deletion Fast/Fast/doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
html_show_sphinx = False

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
html_show_copyright = True
html_show_copyright = False

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
Expand Down
50 changes: 25 additions & 25 deletions Fast/FastC/FastC/fastc.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ namespace K_FASTC
E_Int& retInt, E_Float& retFloat, char*& retChar);


PyObject* _motionlaw( PyObject* self, PyObject* args);
PyObject* PygetRange( PyObject* self, PyObject* args);
PyObject* souszones_list( PyObject* self, PyObject* args);
PyObject* distributeThreads( PyObject* self, PyObject* args);
PyObject* _motionlaw(PyObject* self, PyObject* args);
PyObject* PygetRange(PyObject* self, PyObject* args);
PyObject* souszones_list(PyObject* self, PyObject* args);
PyObject* distributeThreads(PyObject* self, PyObject* args);

PyObject* init_metric(PyObject* self, PyObject* args);
PyObject* init_metric(PyObject* self, PyObject* args);

//===========
// - init Numa (optimisation placement memoire sur DRAM)
Expand Down Expand Up @@ -99,28 +99,28 @@ namespace K_FASTC
---*/

/* Transfers FastLBM */
void setInterpTransfersFastLBM(E_Float**& iptro_tmp , E_Int& vartype ,
E_Int*& param_int_tc , E_Float*& param_real_tc ,
E_Int**& param_int , E_Float**& param_real ,
E_Int*& ipt_linelets_int , E_Float*& ipt_linelets_real,
E_Int& it_target , E_Int& nidom ,
E_Float*& ipt_timecount , E_Int& mpi ,
E_Int& nitcfg , E_Int& nssiter ,
E_Int& rk , E_Int& exploc ,
E_Int& numpassage ,
E_Float**& ipt_macros_local, E_Float**& ipt_Qneq_local );
void setInterpTransfersFastLBM(E_Float**& iptro_tmp , E_Int& vartype,
E_Int*& param_int_tc , E_Float*& param_real_tc ,
E_Int**& param_int , E_Float**& param_real ,
E_Int*& ipt_linelets_int , E_Float*& ipt_linelets_real,
E_Int& it_target , E_Int& nidom ,
E_Float*& ipt_timecount , E_Int& mpi ,
E_Int& nitcfg , E_Int& nssiter ,
E_Int& rk , E_Int& exploc ,
E_Int& numpassage ,
E_Float**& ipt_macros_local, E_Float**& ipt_Qneq_local );

/* Intra process */
void setInterpTransfersIntraLBM(E_Float**& ipt_ro , E_Int& vartype ,
E_Int*& ipt_param_int , E_Float*& ipt_param_real ,
E_Int**& param_int , E_Float**& param_real ,
E_Int*& ipt_linelets_int , E_Float*& ipt_linelets_real,
E_Int& TypeTransfert , E_Int& nitrun ,
E_Int& nidom , E_Int& NoTransfert ,
E_Float*& ipt_timecount , E_Int& nitcfg ,
E_Int& nssiter , E_Int& rk ,
E_Int& exploc , E_Int& numpassage ,
E_Float**& ipt_macros_local, E_Float**& ipt_Qneq_local );
void setInterpTransfersIntraLBM(E_Float**& ipt_ro , E_Int& vartype,
E_Int*& ipt_param_int , E_Float*& ipt_param_real ,
E_Int**& param_int , E_Float**& param_real ,
E_Int*& ipt_linelets_int , E_Float*& ipt_linelets_real,
E_Int& TypeTransfert , E_Int& nitrun ,
E_Int& nidom , E_Int& NoTransfert ,
E_Float*& ipt_timecount , E_Int& nitcfg ,
E_Int& nssiter , E_Int& rk ,
E_Int& exploc , E_Int& numpassage ,
E_Float**& ipt_macros_local, E_Float**& ipt_Qneq_local );

#ifdef _MPI
/* Transferts FastS Inter process */
Expand Down
2 changes: 1 addition & 1 deletion Fast/FastC/doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
html_show_sphinx = False

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
html_show_copyright = True
html_show_copyright = False

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
Expand Down
5 changes: 4 additions & 1 deletion Fast/FastS/doc/install
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,15 @@ cd ..
# Build html
touch source/*.rst
sphinx-build -b html ./source ./build
[ $? != 0 ] && exit 1;
if ([ $PRODUCTION -eq 1 ])
then
# Build pdf
sphinx-build -b latex ./source ./build
[ $? != 0 ] && exit 1;
cd build
pdflatex FastS >& /dev/null
pdflatex FastS
[ $? != 0 ] && exit 1;
cd ..
fi

Expand Down
2 changes: 1 addition & 1 deletion Fast/FastS/doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
html_show_sphinx = False

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
html_show_copyright = True
html_show_copyright = False

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
Expand Down

0 comments on commit 7c9d3bb

Please sign in to comment.