← Back to team overview

dolfin team mailing list archive

Re: FEM: [...]

 

I think at least FEM::size() needs to be public. It's used in
DiscreteFunction.cpp (which does not compile now since size()
disappeared).

We could make DiscreteFunction a friend of FEM, but I know of a least
one user (Andy Terrel) that needs to call FEM::size() to get the
number of dofs.

/Anders


On Mon, Dec 05, 2005 at 05:01:26PM +0100, dolfin@xxxxxxxxxx wrote:
> Commit from garth (2005-12-05 17:01 CET)
> -----------------
> 
> FEM:
> 
> Make FEM::size() and FEM::nzsize() private again (they were made public for NonlinearFunction, but are no longer requied by NonlinearFunction).
> 
> Change sign in FEM::applyBCresidual() to be consistent with new structure of nonlinear solver.
> 
>   dolfin  src/kernel/fem/FEM.cpp       1.47
>   dolfin  src/kernel/fem/dolfin/FEM.h  1.26
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> 

-- 
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/



Follow ups

References