Do I have the concept correct for storing nodal data, storing it as a solution to a system?
On Wed, Jun 6, 2012 at 3:49 PM, John Peterson <[email protected]> wrote: > On Wed, Jun 6, 2012 at 12:28 PM, Andrew E Slaughter > <[email protected]> wrote: > > I searched through the mailings lists and found some discussion that > > explains that nodal and element data should be stored in an > ExplicitSystem, > > but could not find any example or explanation to how it should be done. > > > > So, I am working on a test program, but run into a problem when > projecting > > a "solution". What I am attempting to do in my test code is to create a > > TransientExplicitSystem to store a parameter (conductivity). Then using > an > > equation, I initialize the value across the mesh via projection (I > imagine > > that I should be able to use projection at any point in time to alter the > > values). > > > > The program compiles and links, but produces a PETSc segmentation fault > > when executed. I don't understand the concept of using systems for data > > storing so I don't have a good feel for what I might be doing wrong. > > > > I would greatly appreciate any help getting this up and running or any > > recommendations in general for storing and updating nodal and/or > elemental > > data. > > Don't see anything obvious from the code, but since you have a > seg-fault, it should be possible to track down. > > Compile libmesh and your code in DEBUG mode and see what happens... > > -- > John > -- Andrew E. Slaughter, PhD [email protected] Materials Process Design and Control Laboratory Sibley School of Mechanical and Aerospace Engineering 169 Frank H. T. Rhodes Hall Cornell University Ithaca, NY 14853-3801 (607) 229-1829 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
