CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Accessing preconditioner members

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

LinkBack Thread Tools Display Modes
Old   April 28, 2010, 12:29
Default Accessing preconditioner members
Senior Member
chegdan's Avatar
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 612
Rep Power: 22
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 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


openfoam 1.5-dev

Thread Tools
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 On
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 21:05
macro for accessing particle thermal conductivity yingying Fluent UDF and Scheme Programming 3 July 15, 2010 04:34
Help about the preconditioner in gmres method Dan Gao Main CFD Forum 3 July 5, 2008 01:18
How to define a Macro accessing rad intensity Grey FLUENT 0 May 21, 2007 00:12
accessing gradient in boundary for define_proile Asghari FLUENT 0 September 19, 2006 02:23

All times are GMT -4. The time now is 05:58.