CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Accessing preconditioner members

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2010, 13:29
Default Accessing preconditioner members
  #1
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Hello fellow Foamers

I am trying to access some members from the object declared by

// Select and construct the preconditioner
autoPtr<lduPreconditioner> preconPtr;

I see that its an auto pointer (not much experience here with smart pointers). Also, I have looked a little and it seems that lduPreconditioner has an ldumatrix in it...so I would like to access the lower(), upper(), and diag() members.

Im looking at the /src/OpenFOAM/matrices/lduMatrix/solvers/PCG/PCG.C

Any help would be approciated.

Im using Openfoam-1.5-dev
chegdan is offline   Reply With Quote

Reply

Tags
openfoam 1.5-dev

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing solver data with UDF macros Dushan FLUENT 1 April 22, 2017 22:05
macro for accessing particle thermal conductivity yingying Fluent UDF and Scheme Programming 3 July 15, 2010 05:34
Help about the preconditioner in gmres method Dan Gao Main CFD Forum 3 July 5, 2008 02:18
How to define a Macro accessing rad intensity Grey FLUENT 0 May 21, 2007 01:12
accessing gradient in boundary for define_proile Asghari FLUENT 0 September 19, 2006 03:23


All times are GMT -4. The time now is 22:06.