mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: add objectRegistry::count() methods
- can be useful for obtaining information about number of fields.
Eg,
nScalar = mesh.count<volScalarField>(wordre);
This commit is contained in:
3
applications/test/objectRegistry2/Make/files
Normal file
3
applications/test/objectRegistry2/Make/files
Normal file
@ -0,0 +1,3 @@
|
||||
Test-objectRegistry2.C
|
||||
|
||||
EXE = $(FOAM_USER_APPBIN)/Test-objectRegistry2
|
||||
8
applications/test/objectRegistry2/Make/options
Normal file
8
applications/test/objectRegistry2/Make/options
Normal file
@ -0,0 +1,8 @@
|
||||
EXE_INC = \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||
-I$(LIB_SRC)/meshTools/lnInclude
|
||||
|
||||
EXE_LIBS = \
|
||||
-lfiniteVolume \
|
||||
-lmeshTools \
|
||||
-lgenericPatchFields
|
||||
Reference in New Issue
Block a user