Hi I forgot to add the support files. Thank You On Sat, Apr 18, 2020 at 9:54 AM Ajith nandan <[email protected]> wrote:
> Thanks, W for taking the time to look into it. I have attached the header > file where I have to edit parts of the code in //Edit section. > Can you point out where I might have done an error? > > Thank You. > > On Fri, Apr 17, 2020 at 7:57 PM Wolfgang Bangerth <[email protected]> > wrote: > >> On 4/16/20 9:46 PM, Ajith nandan wrote: >> > I get an error called free( ) : invalid size. >> > I have attached the image. >> > Please, anyone, help me with this problem. >> >> Ajith, >> what have you already done? Have you run the program in a debugger to >> find out >> where this happens and why? There clearly is a bug in your code, and you >> need >> to find where and why. My best guess is that you are writing past the end >> of >> an array and are overwriting other memory, but of course there is no way >> for >> us to tell. >> >> Best >> W. >> >> -- >> ------------------------------------------------------------------------ >> Wolfgang Bangerth email: [email protected] >> www: http://www.math.colostate.edu/~bangerth/ >> >> -- >> The deal.II project is located at http://www.dealii.org/ >> For mailing list/forum options, see >> https://groups.google.com/d/forum/dealii?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "deal.II User Group" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/dealii/a6a72b80-e3b3-7a68-4588-3edaa8fad975%40colostate.edu >> . >> > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CABa%2BkOniavui_3YmKj%3DeoF6ev99EALgsRr_yD4UryYRK7t6vkg%40mail.gmail.com.
##
# CMake script
##
# Set the name of the project and target:
SET(TARGET "main1")
# Declare all source files the target consists of:
SET(TARGET_SRC
${TARGET}.cc
# You can specify additional files here!
)
# Usually, you will not need to modify anything beyond this point...
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
FIND_PACKAGE(deal.II 8.0 QUIET
HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
)
IF(NOT ${deal.II_FOUND})
MESSAGE(FATAL_ERROR "\n"
"*** Could not locate deal.II. ***\n\n"
"You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to
cmake\n"
"or set an environment variable \"DEAL_II_DIR\" that contains this path."
)
ENDIF()
DEAL_II_INITIALIZE_CACHED_VARIABLES()
PROJECT(${TARGET})
DEAL_II_INVOKE_AUTOPILOT()
main1.cc
Description: Binary data
writeSolutions.h
Description: Binary data
