Changeset 22704


Ignore:
Timestamp:
04/23/18 12:48:20 (7 years ago)
Author:
tsantos
Message:

CHG: changed sub dir in NeoPZ install file. Fixed a bug on AMR calling NeoPZ

Location:
issm/trunk-jpl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/neopz/install.sh

    r21485 r22704  
    2323
    2424cd $PROJECT_SOURCE_DIR
    25 #Compile and install
    26 if [ $# -eq 0 ]; then
    27         make
    28         make install
    29 else
    30         make -j $1
    31         make -j $1 install
    32 fi
     25make
     26make install
     27
    3328cd $PROJECT_BINARY_DIR/pzlib
    3429mv lib ../
  • issm/trunk-jpl/m4/issm_options.m4

    r22552 r22704  
    18711871        if test "x$HAVE_NEOPZ" == "xyes"; then
    18721872          NEOPZLIB="$NEOPZ_ROOT/lib/libpz.a"
    1873      NEOPZINCL=-I"$NEOPZ_ROOT/include"
     1873     NEOPZINCL=" -I$NEOPZ_ROOT/include"
     1874          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Analysis"
     1875          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Common"
     1876          NEOPZINCL+=" -I$NEOPZ_ROOT/include/External"
     1877          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Frontal"
     1878          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Geom"
     1879          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Integral"
     1880          NEOPZINCL+=" -I$NEOPZ_ROOT/include/LinearSolvers"
     1881          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Material"
     1882          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Matrix"
     1883          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Mesh"
     1884          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Multigrid"
     1885          NEOPZINCL+=" -I$NEOPZ_ROOT/include/PerfUtil"
     1886          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Post"
     1887          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Pre"
     1888          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Refine"
     1889          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Save"
     1890          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Shape"
     1891          NEOPZINCL+=" -I$NEOPZ_ROOT/include/SpecialMaps"
     1892          NEOPZINCL+=" -I$NEOPZ_ROOT/include/StrMatrix"
     1893          NEOPZINCL+=" -I$NEOPZ_ROOT/include/SubStruct"
     1894          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Topology"
     1895          NEOPZINCL+=" -I$NEOPZ_ROOT/include/Util"
     1896          CXXFLAGS+=" -std=c++11"
    18741897          AC_DEFINE([_HAVE_NEOPZ_],[1],[with NEOPZ in ISSM src])
    18751898          AC_SUBST([NEOPZINCL])
  • issm/trunk-jpl/src/c/classes/AdaptiveMeshRefinement.h

    r22294 r22704  
    1212
    1313/*NeoPZ includes*/
    14 /*REAL and STATE definitions, NeoPZ variables itapopo should be read by NeoPZ's config.h*/
    15 #ifndef REFPATTERNDIR
    16         #define REFPATTERNDIR "/home/santos/trunk-jpl/externalpackages/neopz/install/include/refpatterns"
    17 #endif
    18 
    19 #ifndef REALdouble
    20         #define REALdouble
    21 #endif
    22 
    23 #ifndef STATEdouble
    24         #define STATEdouble
    25 #endif
    26 
     14#include <pz_config.h>
    2715#include <pzreal.h>
    2816#include <pzgmesh.h>
  • issm/trunk-jpl/src/c/classes/FemModel.cpp

    r22573 r22704  
    51575157                if(newnumberofvertices<=0 || newnumberofelements<=0) _error_("Error in the ReMeshNeopz.");
    51585158        }
    5159         else{
     5159
     5160        /*Send new mesh to others CPU*/
     5161        ISSM_MPI_Bcast(&newnumberofvertices,1,ISSM_MPI_INT,0,IssmComm::GetComm());
     5162        ISSM_MPI_Bcast(&newnumberofelements,1,ISSM_MPI_INT,0,IssmComm::GetComm());
     5163        if(my_rank){
    51605164                newx=xNew<IssmDouble>(newnumberofvertices);
    51615165                newy=xNew<IssmDouble>(newnumberofvertices);
     
    51635167                newelementslist=xNew<int>(newnumberofelements*this->GetElementsWidth());
    51645168        }
    5165 
    5166         /*Send new mesh to others CPU*/
    5167         ISSM_MPI_Bcast(&newnumberofvertices,1,ISSM_MPI_INT,0,IssmComm::GetComm());
    5168         ISSM_MPI_Bcast(&newnumberofelements,1,ISSM_MPI_INT,0,IssmComm::GetComm());
    51695169        ISSM_MPI_Bcast(newx,newnumberofvertices,ISSM_MPI_DOUBLE,0,IssmComm::GetComm());
    51705170        ISSM_MPI_Bcast(newy,newnumberofvertices,ISSM_MPI_DOUBLE,0,IssmComm::GetComm());
Note: See TracChangeset for help on using the changeset viewer.